arpanghoshal commited on
Commit
85ecd3f
1 Parent(s): a6d477d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -9
README.md CHANGED
@@ -34,18 +34,12 @@ Ekman's work on basic emotions has had a significant impact on the field of psyc
34
 
35
  ```python
36
 
37
- from transformers import BertTokenizer
38
- from model import BertForMultiLabelClassification
39
- from multilabel_pipeline import MultiLabelPipeline
40
- from pprint import pprint
41
 
42
- tokenizer = BertTokenizer.from_pretrained('arpanghoshal/EkmanClassifier')
43
- model = BertForMultiLabelClassification.from_pretrained('arpanghoshal/EkmanClassifier')
44
-
45
- ekman = pipeline('sentiment-analysis', model='arpanghoshal/EmoRoBERTa')
46
 
47
  ekman_labels = ekman("Thanks for using it.")
48
- print(ekman_labels)
49
 
 
50
 
51
  ```
 
34
 
35
  ```python
36
 
37
+ from transformers import pipeline
 
 
 
38
 
39
+ ekman = pipeline('sentiment-analysis', model='arpanghoshal/EkmanClassifier')
 
 
 
40
 
41
  ekman_labels = ekman("Thanks for using it.")
 
42
 
43
+ print(ekman_labels)
44
 
45
  ```