ruchitoshniwal commited on
Commit
1fc3836
·
1 Parent(s): 4b616ca

Create new file

Browse files
Files changed (1) hide show
  1. text.ipynb +7 -0
text.ipynb ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from transformers import pipeline
2
+
3
+ emoroberta_emotion_classifier = pipeline(
4
+ "text-classification", model="arpanghoshal/EmoRoBERTa", return_all_scores=True
5
+ )
6
+
7
+ emoroberta_emotion_classifier("Did this print?")