Update README.md
Browse files
README.md
CHANGED
@@ -33,7 +33,7 @@ To use FinanceBERT, you can load it with the Transformers library:
|
|
33 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
34 |
import torch
|
35 |
|
36 |
-
tokenizer = AutoTokenizer.from_pretrained('
|
37 |
model = AutoModelForSequenceClassification.from_pretrained('marcev/financebert')
|
38 |
|
39 |
def predict(text):
|
|
|
33 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
34 |
import torch
|
35 |
|
36 |
+
tokenizer = AutoTokenizer.from_pretrained('marcev/financebert')
|
37 |
model = AutoModelForSequenceClassification.from_pretrained('marcev/financebert')
|
38 |
|
39 |
def predict(text):
|