asahi417 commited on
Commit
08326a1
1 Parent(s): 38143d9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -0
README.md CHANGED
@@ -1,3 +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
 
 
 
 
 
 
 
 
 
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-ontonotes5")
9
+
10
+ model = AutoModelForTokenClassification.from_pretrained("asahi417/tner-xlm-roberta-large-ontonotes5")
11
+ ```