akahana commited on
Commit
36ec794
1 Parent(s): 580394b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -9,7 +9,7 @@ widget:
9
  ```python
10
  from transformers import pipeline, set_seed
11
 
12
- path = "akahana/indonesia-emotion-analysis-roberta-base"
13
  emotion = pipeline('text-classification',
14
  model=path,device=0)
15
  set_seed(42)
@@ -18,6 +18,6 @@ kalimat = "dia orang yang baik ya bunds."
18
  preds = emotion(kalimat)
19
  preds
20
 
21
- [{'label': 'HAPPY', 'score': 0.8790940046310425}]
22
 
23
  ```
 
9
  ```python
10
  from transformers import pipeline, set_seed
11
 
12
+ path = "akahana/indonesia-emotion-roberta"
13
  emotion = pipeline('text-classification',
14
  model=path,device=0)
15
  set_seed(42)
 
18
  preds = emotion(kalimat)
19
  preds
20
 
21
+ [{'label': 'BAHAGIA', 'score': 0.8790940046310425}]
22
 
23
  ```