Fix metadata
#17
by
Xenova
HF Staff
- opened
The model isn't compatible with Transformers.js because it doesn't have ONNX weights.
Hi, Joshua, I have the ONNX files (BiRefNet-general-epoch_244.onnx
for this model repo) in my GitHub repo's release page.
I'm very glad to improve the compatibility for it. What should I do? Thanks a lot for the clues!
Besides, if the ONNX files are added, will it enlarge the size of downloading content?
Thanks! I have made a duplicate repo which has the correct files here: https://huggingface.co/onnx-community/BiRefNet-ONNX
Pretty much the two things you need to do is:
- Copy the onnx subfolder from the repository to yours
- Update the config.json to include the key:
"model_type": "birefnet"