Update README.md
Browse files
README.md
CHANGED
|
@@ -12,6 +12,15 @@ tokenizer = AutoTokenizer.from_pretrained("Fujitsu/AugCode")
|
|
| 12 |
model = AutoModelForSequenceClassification.from_pretrained("Fujitsu/AugCode")
|
| 13 |
|
| 14 |
```
|
| 15 |
-
Then you may use
|
| 16 |
-
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
model = AutoModelForSequenceClassification.from_pretrained("Fujitsu/AugCode")
|
| 13 |
|
| 14 |
```
|
| 15 |
+
Then you may use `model` to infer the similarity between a given docstring and code.
|
|
|
|
| 16 |
|
| 17 |
+
### Citation
|
| 18 |
+
```bibtex@misc{bahrami2021augcode,
|
| 19 |
+
title={AugmentedCode: Examining the Effects of Natural Language Resources in Code Retrieval Models},
|
| 20 |
+
author={Mehdi Bahramix, N. C. Shrikanthy, Yuji Mizobuchiz, Lei Liux, Masahiro Fukuyoriz, Wei-Peng Chenx, Kazuki Munakataz},
|
| 21 |
+
year={2021},
|
| 22 |
+
eprint={TBA},
|
| 23 |
+
archivePrefix={TBA},
|
| 24 |
+
primaryClass={cs.CL}
|
| 25 |
+
}
|
| 26 |
+
```
|