Emanuel commited on
Commit
8c0b46b
1 Parent(s): 220873e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
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", use_auth_token=True)
39
 
40
- tokenizer = AutoTokenizer.from_pretrained("Emanuel/autonlp-pos-tag-bosque", use_auth_token=True)
41
 
42
- inputs = tokenizer("I love AutoNLP", return_tensors="pt")
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
  ```