Ha1dir commited on
Commit
7c11d15
·
verified ·
1 Parent(s): 819c108

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -3
README.md CHANGED
@@ -23,12 +23,10 @@ Model ini adalah hasil fine-tuning model IndoBERT base untuk tugas klasifikasi s
23
  ## Penggunaan
24
  ### Use a pipeline as a high-level helper
25
  from transformers import pipeline
26
-
27
  pipe = pipeline("text-classification", model="Ha1dir/sentimen-indobert")
28
 
29
- # Load model directly
30
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
31
-
32
  tokenizer = AutoTokenizer.from_pretrained("Ha1dir/sentimen-indobert")
33
  model = AutoModelForSequenceClassification.from_pretrained("Ha1dir/sentimen-indobert")
34
 
 
23
  ## Penggunaan
24
  ### Use a pipeline as a high-level helper
25
  from transformers import pipeline
 
26
  pipe = pipeline("text-classification", model="Ha1dir/sentimen-indobert")
27
 
28
+ ### Load model directly
29
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
 
30
  tokenizer = AutoTokenizer.from_pretrained("Ha1dir/sentimen-indobert")
31
  model = AutoModelForSequenceClassification.from_pretrained("Ha1dir/sentimen-indobert")
32