Update README.md
Browse files
README.md
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
8 |
+
|
9 |
+
|
10 |
+
|
11 |
+
#### How to use
|
12 |
+
|
13 |
+
```python
|
14 |
+
from transformers import *
|
15 |
+
import torch
|
16 |
+
|
17 |
+
tokenizer = AutoTokenizer.from_pretrained("jeniya/BERTOverflow")
|
18 |
+
model = AutoModel.from_pretrained("jeniya/BERTOverflow")
|
19 |
+
|
20 |
+
```
|
21 |
+
|
22 |
+
|
23 |
+
|
24 |
+
### BibTeX entry and citation info
|
25 |
+
|
26 |
+
```bibtex
|
27 |
+
@inproceedings{tabassum2020code,
|
28 |
+
title={Code and Named Entity Recognition in StackOverflow},
|
29 |
+
author={Tabassum, Jeniya and Maddela, Mounica and Xu, Wei and Ritter, Alan },
|
30 |
+
booktitle = {Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics (ACL)},
|
31 |
+
year = {2020},
|
32 |
+
}
|
33 |
+
```
|