soleimanian commited on
Commit
c61c9d2
1 Parent(s): db15c83

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -0
README.md CHANGED
@@ -19,5 +19,12 @@ license: apache-2.0
19
  <p>Financial-RoBERTa is built by further training and fine-tuning the RoBERTa Large language model using a large corpus created from 10k, 10Q, 8K, Earnings Call Transcripts, CSR Reports, ESG News, and Financial News text.</p>
20
  <p>The model will give softmax outputs for three labels: <b>Positive</b>, <b>Negative</b> or <b>Neutral</b>.</p>
21
  <p>The easiest way to use the model for single predictions is Hugging Face's sentiment analysis pipeline, which only needs a couple lines of code as shown in the following example:</p>
 
 
 
 
 
 
 
22
  </body>
23
  </html>
 
19
  <p>Financial-RoBERTa is built by further training and fine-tuning the RoBERTa Large language model using a large corpus created from 10k, 10Q, 8K, Earnings Call Transcripts, CSR Reports, ESG News, and Financial News text.</p>
20
  <p>The model will give softmax outputs for three labels: <b>Positive</b>, <b>Negative</b> or <b>Neutral</b>.</p>
21
  <p>The easiest way to use the model for single predictions is Hugging Face's sentiment analysis pipeline, which only needs a couple lines of code as shown in the following example:</p>
22
+ <pre>
23
+ <code>
24
+ from transformers import pipeline
25
+ sentiment_analysis = pipeline("sentiment-analysis",model="siebert/sentiment-roberta-large-english")
26
+ print(sentiment_analysis("I love this!"))
27
+ </code>
28
+ </pre>
29
  </body>
30
  </html>