lucas-leme commited on
Commit
a397e01
1 Parent(s): 02c3207

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -4
README.md CHANGED
@@ -43,10 +43,8 @@ pred_mapper = {
43
  2: "NEUTRAL"
44
  }
45
 
46
- huggingface_auth_token = 'AUTH_TOKEN'
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)