Update README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
language:
|
| 4 |
-
- gl
|
| 5 |
-
base_model:
|
| 6 |
-
- proxectonos/MrBERT-nos-gl
|
| 7 |
-
tags:
|
| 8 |
-
- pos-tagging
|
| 9 |
-
- part-of-speech
|
| 10 |
-
-
|
|
|
|
| 11 |
|
| 12 |
# MrBERT-nos-gl-POS: Part-of-Speech Tagging for Galician
|
| 13 |
|
|
@@ -61,8 +62,8 @@ pip install transformers torch
|
|
| 61 |
```python
|
| 62 |
from transformers import pipeline, AutoTokenizer, AutoModelForTokenClassification
|
| 63 |
|
| 64 |
-
tokenizer = AutoTokenizer.from_pretrained(proxectonos/MrBERT-nos-gl-POS)
|
| 65 |
-
model = AutoModelForTokenClassification.from_pretrained(proxectonos/MrBERT-nos-gl-POS)
|
| 66 |
pos_tagger = pipeline(
|
| 67 |
"token-classification",
|
| 68 |
model=model,
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- gl
|
| 5 |
+
base_model:
|
| 6 |
+
- proxectonos/MrBERT-nos-gl
|
| 7 |
+
tags:
|
| 8 |
+
- pos-tagging
|
| 9 |
+
- part-of-speech
|
| 10 |
+
pipeline_tag: token-classification
|
| 11 |
+
---
|
| 12 |
|
| 13 |
# MrBERT-nos-gl-POS: Part-of-Speech Tagging for Galician
|
| 14 |
|
|
|
|
| 62 |
```python
|
| 63 |
from transformers import pipeline, AutoTokenizer, AutoModelForTokenClassification
|
| 64 |
|
| 65 |
+
tokenizer = AutoTokenizer.from_pretrained("proxectonos/MrBERT-nos-gl-POS")
|
| 66 |
+
model = AutoModelForTokenClassification.from_pretrained("proxectonos/MrBERT-nos-gl-POS")
|
| 67 |
pos_tagger = pipeline(
|
| 68 |
"token-classification",
|
| 69 |
model=model,
|