Commit
·
d6b888f
1
Parent(s):
9a393dc
See Also
Browse files
README.md
CHANGED
@@ -15,7 +15,7 @@ pipeline_tag: "token-classification"
|
|
15 |
|
16 |
## Model Description
|
17 |
|
18 |
-
This is a XLM-RoBERTa model pre-trained
|
19 |
|
20 |
## How to Use
|
21 |
|
@@ -25,3 +25,14 @@ tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/xlm-roberta-base-english-
|
|
25 |
model=AutoModelForTokenClassification.from_pretrained("KoichiYasuoka/xlm-roberta-base-english-upos")
|
26 |
```
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
## Model Description
|
17 |
|
18 |
+
This is a XLM-RoBERTa model pre-trained with [UD_English-EWT](https://github.com/UniversalDependencies/UD_English-EWT) for POS-tagging and dependency-parsing, derived from [xlm-roberta-base](https://huggingface.co/xlm-roberta-base). Every word is tagged by [UPOS](https://universaldependencies.org/u/pos/) (Universal Part-Of-Speech).
|
19 |
|
20 |
## How to Use
|
21 |
|
|
|
25 |
model=AutoModelForTokenClassification.from_pretrained("KoichiYasuoka/xlm-roberta-base-english-upos")
|
26 |
```
|
27 |
|
28 |
+
or
|
29 |
+
|
30 |
+
```py
|
31 |
+
import esupar
|
32 |
+
nlp=esupar.load("KoichiYasuoka/xlm-roberta-base-english-upos")
|
33 |
+
```
|
34 |
+
|
35 |
+
## See Also
|
36 |
+
|
37 |
+
[esupar](https://github.com/KoichiYasuoka/esupar): Tokenizer POS-tagger and Dependency-parser with BERT/RoBERTa models
|
38 |
+
|