Text Classification
ONNX
multilingual
sentiment-analysis
yes-no
Jarbas commited on
Commit
2efc574
·
verified ·
1 Parent(s): 56c2609

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -58,6 +58,6 @@ import onnxruntime as rt, numpy as np
58
 
59
  sess = rt.InferenceSession("yesno_svm_cal_multilingual_0.9.0.onnx")
60
  inp = np.array(["Yes, of course!"], dtype=object)
61
- label, probs = sess.run(None, {{"input": inp}})
62
  print(label[0]) # yes
63
  ```
 
58
 
59
  sess = rt.InferenceSession("yesno_svm_cal_multilingual_0.9.0.onnx")
60
  inp = np.array(["Yes, of course!"], dtype=object)
61
+ label, probs = sess.run(None, {"input": inp})
62
  print(label[0]) # yes
63
  ```