Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# XLM-RoBERTa for NER
|
2 |
+
XLM-RoBERTa finetuned on NER. Check more detail at [TNER repository](https://github.com/asahi417/tner).
|
3 |
+
|
4 |
+
## Usage
|
5 |
+
```
|
6 |
+
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
7 |
+
|
8 |
+
tokenizer = AutoTokenizer.from_pretrained("asahi417/tner-xlm-roberta-large-uncased-panx-dataset-en")
|
9 |
+
|
10 |
+
model = AutoModelForTokenClassification.from_pretrained("asahi417/tner-xlm-roberta-large-uncased-panx-dataset-en")
|
11 |
+
```
|