We moved! ๐
@Xenova
, now that the space has been moved, I think you'll want to update it to use the scripts/convert.py
from v3
branch.
Feel free to change the space files directly. Or you can also give me some pointers on what needs to be changed so the ONNXs are compatible with v3, and I'll update when I have a chance.
Hi Felladrin,
Where is the scripts/convert.py
file?
I can't find it in the Space code.
C.
Hey
@carlosvillu
! This script comes from https://github.com/xenova/transformers.js repo (direct link: scripts/convert.py), which the app.py
should clone before starting.
Hi @Felladrin I've updated the code to call the v3 version here - https://huggingface.co/spaces/onnx-community/convert-to-onnx/discussions/3. I am not sure if that is what you were talking about in your comment, please take a look. I had trouble with the git clone on my own space, so I used http instead.
The space has been updated to convert models using Transformers.js v3!
Additionally, it now allows users to provide their HF Token for uploading models to their accounts; by default, models will be uploaded under the onnx-community account.