thoriqfy commited on
Commit
0f16d19
1 Parent(s): 4ad293c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -0
README.md CHANGED
@@ -13,4 +13,13 @@ from transformers import BertForSequenceClassification, BertTokenizer, BertConfi
13
  tokenizer = BertTokenizer.from_pretrained("thoriqfy/indobert-emotion-classification")
14
  config = BertConfig.from_pretrained("thoriqfy/indobert-emotion-classification")
15
  model = BertForSequenceClassification.from_pretrained("thoriqfy/indobert-emotion-classification", config=config)
 
 
 
 
 
 
 
 
 
16
  ```
 
13
  tokenizer = BertTokenizer.from_pretrained("thoriqfy/indobert-emotion-classification")
14
  config = BertConfig.from_pretrained("thoriqfy/indobert-emotion-classification")
15
  model = BertForSequenceClassification.from_pretrained("thoriqfy/indobert-emotion-classification", config=config)
16
+ ```
17
+
18
+ How to use:
19
+ ```python
20
+ from transformers import pipeline
21
+
22
+ nlp = pipeline("text-classification", model="thoriqfy/indobert-emotion-classification")
23
+
24
+ results = nlp("Your input text here")
25
  ```