Kendamarron
commited on
Commit
•
0793e36
1
Parent(s):
00f677e
Update README.md
Browse files
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"
|
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")
|