Kendamarron commited on
Commit
0793e36
1 Parent(s): 00f677e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -18,7 +18,7 @@ pipeline_tag: text-classification
18
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
19
 
20
  tokenizer = AutoTokenizer.from_pretrained("Kendamarron/fineweb-edu-classifier-ja")
21
- model = AutoModelForSequenceClassification.from_pretrained("Kendamarron/fineweb-edu-classifier-ja", num_labels=6, classifier_dropout=0.0, hidden_dropout_prob=0.0)
22
 
23
  def predict(text):
24
  inputs = tokenizer(text, return_tensors="pt")
 
18
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
19
 
20
  tokenizer = AutoTokenizer.from_pretrained("Kendamarron/fineweb-edu-classifier-ja")
21
+ model = AutoModelForSequenceClassification.from_pretrained("Kendamarron/fineweb-edu-classifier-ja")
22
 
23
  def predict(text):
24
  inputs = tokenizer(text, return_tensors="pt")