Update README.md
Browse files
README.md
CHANGED
@@ -88,7 +88,7 @@ from transformers import pipeline
|
|
88 |
task = "text-classification"
|
89 |
model_id = "mrm8488/deberta-v3-ft-financial-news-sentiment-analysis"
|
90 |
|
91 |
-
classifier = pipeline(
|
92 |
text = "Tesla cars are not as good as expected"
|
93 |
result = classifier(text)
|
94 |
print(result)
|
|
|
88 |
task = "text-classification"
|
89 |
model_id = "mrm8488/deberta-v3-ft-financial-news-sentiment-analysis"
|
90 |
|
91 |
+
classifier = pipeline(task, model_id)
|
92 |
text = "Tesla cars are not as good as expected"
|
93 |
result = classifier(text)
|
94 |
print(result)
|