Update README.md
Browse files
README.md
CHANGED
@@ -35,11 +35,11 @@ Or Python API:
|
|
35 |
```
|
36 |
from transformers import AutoModelForTokenClassification, AutoTokenizer
|
37 |
|
38 |
-
model = AutoModelForTokenClassification.from_pretrained("Emanuel/autonlp-pos-tag-bosque"
|
39 |
|
40 |
-
tokenizer = AutoTokenizer.from_pretrained("Emanuel/autonlp-pos-tag-bosque"
|
41 |
|
42 |
-
inputs = tokenizer("
|
43 |
|
44 |
outputs = model(**inputs)
|
45 |
```
|
|
|
35 |
```
|
36 |
from transformers import AutoModelForTokenClassification, AutoTokenizer
|
37 |
|
38 |
+
model = AutoModelForTokenClassification.from_pretrained("Emanuel/autonlp-pos-tag-bosque")
|
39 |
|
40 |
+
tokenizer = AutoTokenizer.from_pretrained("Emanuel/autonlp-pos-tag-bosque")
|
41 |
|
42 |
+
inputs = tokenizer("A noiva casa de branco", return_tensors="pt")
|
43 |
|
44 |
outputs = model(**inputs)
|
45 |
```
|