lucas-leme
commited on
Commit
•
a397e01
1
Parent(s):
02c3207
Update README.md
Browse files
README.md
CHANGED
@@ -43,10 +43,8 @@ pred_mapper = {
|
|
43 |
2: "NEUTRAL"
|
44 |
}
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
tokenizer = AutoTokenizer.from_pretrained("lucas-leme/FinBERT-PT-BR", use_auth_token=huggingface_auth_token)
|
49 |
-
finbertptbr = BertForSequenceClassification.from_pretrained("lucas-leme/FinBERT-PT-BR", use_auth_token=huggingface_auth_token)
|
50 |
|
51 |
tokens = tokenizer(["Hoje a bolsa caiu", "Hoje a bolsa subiu"], return_tensors="pt",
|
52 |
padding=True, truncation=True, max_length=512)
|
|
|
43 |
2: "NEUTRAL"
|
44 |
}
|
45 |
|
46 |
+
tokenizer = AutoTokenizer.from_pretrained("lucas-leme/FinBERT-PT-BR")
|
47 |
+
finbertptbr = BertForSequenceClassification.from_pretrained("lucas-leme/FinBERT-PT-BR")
|
|
|
|
|
48 |
|
49 |
tokens = tokenizer(["Hoje a bolsa caiu", "Hoje a bolsa subiu"], return_tensors="pt",
|
50 |
padding=True, truncation=True, max_length=512)
|