mrm8488 commited on
Commit
4bb372c
1 Parent(s): f9b4a20

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -85,7 +85,10 @@ pip install transformers sentencepiece
85
  ```py
86
  from transformers import pipeline
87
 
88
- classifier = pipeline("text-classification", "mrm8488/deberta-v3-ft-financial-news-sentiment-analysis")
 
 
 
89
  text = "Tesla cars are not as good as expected"
90
  result = classifier(text)
91
  print(result)
 
85
  ```py
86
  from transformers import pipeline
87
 
88
+ task = "text-classification"
89
+ model_id = "mrm8488/deberta-v3-ft-financial-news-sentiment-analysis"
90
+
91
+ classifier = pipeline(tasl,model_id)
92
  text = "Tesla cars are not as good as expected"
93
  result = classifier(text)
94
  print(result)