hanifnoerr commited on
Commit
958890c
1 Parent(s): db6c675

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -68,10 +68,10 @@ model = AutoModelForSequenceClassification.from_pretrained(Pre-trained)
68
  ### make classification
69
  ```python
70
  pretrained_name = "hanifnoerr/Fine-tuned-Indonesian-Sentiment-Classifier"
71
- class_model = pipeline(tokenizer=pretrained_name, model=pretrained_name)
72
 
73
- test_data = "buku ini jelek sekali"
74
- class_model(test_data)
75
  ```
76
  output: [{'label': 'negative', 'score': 0.9996247291564941}]
77
 
 
68
  ### make classification
69
  ```python
70
  pretrained_name = "hanifnoerr/Fine-tuned-Indonesian-Sentiment-Classifier"
71
+ sentimen = pipeline(tokenizer=pretrained_name, model=pretrained_name)
72
 
73
+ kalimat = "buku ini jelek sekali"
74
+ sentimen(kalimat)
75
  ```
76
  output: [{'label': 'negative', 'score': 0.9996247291564941}]
77