+
Skip to content

QueenieLiangrf/MSc-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSc-Project

For this code comment matching task, an ablation study is apply to a NL-PL pretrained model, CodeBERT, to analyze which layers of the model are more important for Code Comment Matching task. Afterwards, a modified CodeBERT-based network is built, which makes the model smaller ,more efficient and more effective.

Installation

This repository is tested on Python 3.7, PyTorch 1.11.0, transformers 4.20.1 and tqdm 4.64.0 with GPU Tesla V100.

First, create a virtual environment with the version of Python 3.7.

Second, you should install PyTorch 1.11.0, transformers 4.20.1 and tqdm 4.64.0 in a virtual environment.

For example,

conda install pytorch==1.11.0

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载