microsoft/codebert-base
288219k
1## CodeBERT-base2Pretrained weights for [CodeBERT: A Pre-Trained Model for Programming and Natural Languages](https://arxiv.org/abs/2002.08155).3 4### Training Data5The model is trained on bi-modal data (documents & code) of [CodeSearchNet](https://github.com/github/CodeSearchNet)6 7### Training Objective8This model is initialized with Roberta-base and trained with MLM+RTD objective (cf. the paper).9 10### Usage11Please see [the official repository](https://github.com/microsoft/CodeBERT) for scripts that support "code search" and "code-to-document generation".12 13### Reference141. [CodeBERT trained with Masked LM objective](https://huggingface.co/microsoft/codebert-base-mlm) (suitable for code completion)152. 🤗 [Hugging Face's CodeBERTa](https://huggingface.co/huggingface/CodeBERTa-small-v1) (small size, 6 layers)16 17### Citation18```bibtex19@misc{feng2020codebert,20 title={CodeBERT: A Pre-Trained Model for Programming and Natural Languages},21 author={Zhangyin Feng and Daya Guo and Duyu Tang and Nan Duan and Xiaocheng Feng and Ming Gong and Linjun Shou and Bing Qin and Ting Liu and Daxin Jiang and Ming Zhou},22 year={2020},23 eprint={2002.08155},24 archivePrefix={arXiv},25 primaryClass={cs.CL}26}27```28 