Moritz-Pfeifer commited on
Commit
6f1af19
1 Parent(s): ecfdbbd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -34,5 +34,5 @@ from transformers import pipeline
34
  audience_classifier = pipeline("text-classification", model="Moritz-Pfeifer/CentralBankRoBERTa-sentiment-classifier")
35
 
36
  # Perform audience classification
37
- sentinemnt_result = audience_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.")
38
- print("Sentiment:", sentinemnt_result[0]['label'])
 
34
  audience_classifier = pipeline("text-classification", model="Moritz-Pfeifer/CentralBankRoBERTa-sentiment-classifier")
35
 
36
  # Perform audience classification
37
+ sentinement_result = audience_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.")
38
+ print("Sentiment:", sentinement_result[0]['label'])