Update README.md
Browse files
README.md
CHANGED
@@ -32,7 +32,7 @@ from transformers import AutoTokenizer
|
|
32 |
from optimum.onnxruntime import ORTModelForTokenClassification
|
33 |
import torch
|
34 |
|
35 |
-
model = ORTModelForTokenClassification.from_pretrained("
|
36 |
tokenizer = AutoTokenizer.from_pretrained("your-username/bert-token-onnx")
|
37 |
|
38 |
text = "The server will go down at midnight for maintenance."
|
|
|
32 |
from optimum.onnxruntime import ORTModelForTokenClassification
|
33 |
import torch
|
34 |
|
35 |
+
model = ORTModelForTokenClassification.from_pretrained("madhavgohel/bert-token-onnx", file_name="model.onnx")
|
36 |
tokenizer = AutoTokenizer.from_pretrained("your-username/bert-token-onnx")
|
37 |
|
38 |
text = "The server will go down at midnight for maintenance."
|