Update README.md
Browse files
README.md
CHANGED
|
@@ -46,7 +46,7 @@ def predict(text: str):
|
|
| 46 |
from optimum.onnxruntime import ORTModelForSequenceClassification
|
| 47 |
from transformers import AutoTokenizer
|
| 48 |
|
| 49 |
-
model_id = "noridorimari/onnx_emotion_classifier"
|
| 50 |
|
| 51 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 52 |
model = ORTModelForSequenceClassification.from_pretrained(model_id)
|
|
|
|
| 46 |
from optimum.onnxruntime import ORTModelForSequenceClassification
|
| 47 |
from transformers import AutoTokenizer
|
| 48 |
|
| 49 |
+
model_id = "noridorimari/onnx_emotion_classifier"
|
| 50 |
|
| 51 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 52 |
model = ORTModelForSequenceClassification.from_pretrained(model_id)
|