You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we're playing with this library to see if it can be useful for our project. I find it very easy and well done (congratulations).
The idea is not to use it directly as a frontend library but via node.js.
We've tried scripting a model directly from HF (google/flan-t5-small) and it worked but we're having trouble using a fine-tuned model.
Here what we tried. We fine-tuned a model (again google/flan-t5-small) and then converted it using the onnx script (in README.md).
But when we tried to use it it gave us this error:
local_files_only=true or env.allowRemoteModels=false and file was not found locally at ./models/google/flan-t5-small-2/onnx/decoder_model_merged_quantized.onnx
Some advice or useful doc/link?
Thanks
The text was updated successfully, but these errors were encountered:
You should be able to use our already-converted version: Xenova/flan-t5-small. The error you are seeing is because the original repo doesn't have the merged version of the onnx file, which is an optimization that reduced model size by a factor of ~2x.
Hi, we're playing with this library to see if it can be useful for our project. I find it very easy and well done (congratulations).
The idea is not to use it directly as a frontend library but via node.js.
We've tried scripting a model directly from HF (google/flan-t5-small) and it worked but we're having trouble using a fine-tuned model.
Here what we tried. We fine-tuned a model (again google/flan-t5-small) and then converted it using the onnx script (in README.md).
The script generated the following files:
But when we tried to use it it gave us this error:
local_files_only=true
orenv.allowRemoteModels=false
and file was not found locally at ./models/google/flan-t5-small-2/onnx/decoder_model_merged_quantized.onnxSome advice or useful doc/link?
Thanks
The text was updated successfully, but these errors were encountered: