Update README.md
Browse files
README.md
CHANGED
|
@@ -44,8 +44,8 @@ Sentiment:
|
|
| 44 |
from transformers import pipeline
|
| 45 |
sentiment = pipeline(
|
| 46 |
"sentiment-analysis",
|
| 47 |
-
model="
|
| 48 |
-
tokenizer="
|
| 49 |
)
|
| 50 |
print(sentiment("The company reported record profits and raised guidance."))
|
| 51 |
|
|
|
|
| 44 |
from transformers import pipeline
|
| 45 |
sentiment = pipeline(
|
| 46 |
"sentiment-analysis",
|
| 47 |
+
model="Proooof/Finance-NLP-Toolkit", # after you push your fine-tuned weights
|
| 48 |
+
tokenizer="Proooof/Finance-NLP-Toolkit"
|
| 49 |
)
|
| 50 |
print(sentiment("The company reported record profits and raised guidance."))
|
| 51 |
|