Update README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
# BERTOverflow
|
| 4 |
+
|
| 5 |
+
## Model description
|
| 6 |
+
|
| 7 |
+
We pre-trained BERT-base model on 152 million sentences from the StackOverflow's 10 year archive. More details of this model can be found in our ACL 2020 paper: [Code and Named Entity Recognition in StackOverflow](https://www.aclweb.org/anthology/2020.acl-main.443/). We would like to thank [Wuwei Lan](https://lanwuwei.github.io/) for helping us in training this model.
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
#### How to use
|
| 13 |
+
|
| 14 |
+
```python
|
| 15 |
+
from transformers import *
|
| 16 |
+
import torch
|
| 17 |
+
|
| 18 |
+
tokenizer = AutoTokenizer.from_pretrained("jeniya/BERTOverflow")
|
| 19 |
+
model = AutoModelForTokenClassification.from_pretrained("jeniya/BERTOverflow")
|
| 20 |
+
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
### BibTeX entry and citation info
|
| 26 |
+
|
| 27 |
+
```bibtex
|
| 28 |
+
@inproceedings{tabassum2020code,
|
| 29 |
+
title={Code and Named Entity Recognition in StackOverflow},
|
| 30 |
+
author={Tabassum, Jeniya and Maddela, Mounica and Xu, Wei and Ritter, Alan },
|
| 31 |
+
booktitle = {Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics (ACL)},
|
| 32 |
+
url={https://www.aclweb.org/anthology/2020.acl-main.443/}
|
| 33 |
+
year = {2020},
|
| 34 |
+
}
|
| 35 |
+
```
|