soleimanian
commited on
Commit
•
701e2c7
1
Parent(s):
c61c9d2
Update README.md
Browse files
README.md
CHANGED
@@ -22,8 +22,8 @@ license: apache-2.0
|
|
22 |
<pre>
|
23 |
<code>
|
24 |
from transformers import pipeline
|
25 |
-
sentiment_analysis = pipeline("sentiment-analysis",model="
|
26 |
-
print(sentiment_analysis("
|
27 |
</code>
|
28 |
</pre>
|
29 |
</body>
|
|
|
22 |
<pre>
|
23 |
<code>
|
24 |
from transformers import pipeline
|
25 |
+
sentiment_analysis = pipeline("sentiment-analysis",model="soleimanian/financial-roberta")
|
26 |
+
print(sentiment_analysis("In fiscal 2021, we generated a net yield of approximately 4.19% on our investments, compared to approximately 5.10% in fiscal 2020."))
|
27 |
</code>
|
28 |
</pre>
|
29 |
</body>
|