Skip to content

Code and data for ICSME 2022 research track paper "Cross-Modal Contrastive Learning for Code Search"

Notifications You must be signed in to change notification settings

FDUDSDE/ICSME2022CrossCS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ICSME2022CrossCS

Code and data for ICSME 2022 research track paper "Cross-Modal Contrastive Learning for Code Search"

Dataset

You can obtain the dataset directly from this link. Note that you may need to "gzip -d" the data file to "*.jsonl".

Dependency

  • python>=3.6
  • torch==1.4.0
  • transformers>=2.5.0

Fine-tune

sh run.sh

Inference

sh test.sh

Evaluator

python evaluator/evaluator.py -a dataset/test.jsonl  -p saved_models/predictions.jsonl 

About

Code and data for ICSME 2022 research track paper "Cross-Modal Contrastive Learning for Code Search"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published