AdamCodd commited on
Commit
9964f25
1 Parent(s): d60b8a2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -90,7 +90,7 @@ from transformers import pipeline
90
  # Create the pipeline
91
  sentiment_classifier = pipeline('text-classification', model='AdamCodd/distilbert-base-uncased-finetuned-sentiment-amazon')
92
 
93
- # Now you can use the pipeline to classify emotions
94
  result = sentiment_classifier("This product doesn't fit me at all.")
95
  print(result)
96
  #[{'label': 'negative', 'score': 0.9994848966598511}]
 
90
  # Create the pipeline
91
  sentiment_classifier = pipeline('text-classification', model='AdamCodd/distilbert-base-uncased-finetuned-sentiment-amazon')
92
 
93
+ # Now you can use the pipeline to get the sentiment
94
  result = sentiment_classifier("This product doesn't fit me at all.")
95
  print(result)
96
  #[{'label': 'negative', 'score': 0.9994848966598511}]