Open kshuraj opened 3 years ago
Thanks for your feedback!
For running ONNX model inferencing in Node.js, onnxjs-node is replaced by ONNX Runtime Node.js binding. This uses the up-to-date ONNXRuntime backend (v1.8), while onnxjs-node uses ONNXRuntime v1.4
please check it out to see if it resolves the issue.
I would like to know if the Tensor() in onnx.js would support mask token. I am using the 'bert-base-cased' model to predict the masked text. https://huggingface.co/bert-base-cased
`const onnx = require('onnxjs-node');
async function main() { const url = "model_output/bert-base-cased.onnx";
}
main(); ` Any help would be greatly appreciated. Thanks in advance.