KoichiYasuoka
commited on
Commit
•
eb1d4ac
1
Parent(s):
9154021
How to Use
Browse files
README.md
CHANGED
@@ -25,7 +25,6 @@ This is a RoBERTa model pre-trained on Classical Chinese texts for POS-tagging a
|
|
25 |
## How to Use
|
26 |
|
27 |
```py
|
28 |
-
import torch
|
29 |
from transformers import AutoTokenizer,AutoModelForTokenClassification
|
30 |
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-classical-chinese-large-upos")
|
31 |
model=AutoModelForTokenClassification.from_pretrained("KoichiYasuoka/roberta-classical-chinese-large-upos")
|
|
|
25 |
## How to Use
|
26 |
|
27 |
```py
|
|
|
28 |
from transformers import AutoTokenizer,AutoModelForTokenClassification
|
29 |
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-classical-chinese-large-upos")
|
30 |
model=AutoModelForTokenClassification.from_pretrained("KoichiYasuoka/roberta-classical-chinese-large-upos")
|