Moritz-Pfeifer commited on
Commit
5055d18
1 Parent(s): a508bfb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -42,7 +42,7 @@ The SentimentClassifier model is designed to detect whether a given sentence is
42
 
43
  #### Intended Use
44
 
45
- The AgentClassifier model is intended to be used for the analysis of central bank communications where sentiment analysis is essential.
46
 
47
  #### Performance
48
 
@@ -59,10 +59,10 @@ You can use these models in your own applications by leveraging the Hugging Face
59
  from transformers import pipeline
60
 
61
  # Load the SentimentClassifier model
62
- agent_classifier = pipeline("text-classification", model="Moritz-Pfeifer/CentralBankRoBERTa-sentiment-classifier")
63
 
64
  # Perform sentiment analysis
65
- sentinement_result = agent_classifier("The early effects of our policy tightening are also becoming visible, especially in sectors like manufacturing and construction that are more sensitive to interest rate changes.")
66
  print("Sentiment:", sentinement_result[0]['label'])
67
  ```
68
 
 
42
 
43
  #### Intended Use
44
 
45
+ The SentimentClassifier model is intended to be used for the analysis of central bank communications where sentiment analysis is essential.
46
 
47
  #### Performance
48
 
 
59
  from transformers import pipeline
60
 
61
  # Load the SentimentClassifier model
62
+ sentiment_classifier = pipeline("text-classification", model="Moritz-Pfeifer/CentralBankRoBERTa-sentiment-classifier")
63
 
64
  # Perform sentiment analysis
65
+ sentinement_result = sentiment_classifier("The early effects of our policy tightening are also becoming visible, especially in sectors like manufacturing and construction that are more sensitive to interest rate changes.")
66
  print("Sentiment:", sentinement_result[0]['label'])
67
  ```
68