TomokiFujihara
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -43,8 +43,8 @@ tags:
|
|
43 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
44 |
import numpy as np
|
45 |
|
46 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
47 |
-
model = AutoModelForSequenceClassification.from_pretrained("TomokiFujihara/luke-japanese-
|
48 |
|
49 |
|
50 |
inputs = tokenizer.encode_plus(text, return_tensors='pt')
|
|
|
43 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
44 |
import numpy as np
|
45 |
|
46 |
+
tokenizer = AutoTokenizer.from_pretrained("studio-ousia/luke-japanese-large-lite")
|
47 |
+
model = AutoModelForSequenceClassification.from_pretrained("TomokiFujihara/luke-japanese-large-lite-offensiveness-estimation", trust_remote_code=True)
|
48 |
|
49 |
|
50 |
inputs = tokenizer.encode_plus(text, return_tensors='pt')
|