Error converting knowledgator/gliner-x-small-v0.5

#24
by Unt1l1f1nd - opened
ONNX Community org

First of all, thank you for this awesome app!
However, I have a problem converting this model: knowledgator/gliner-x-small-v0.5. Could you please help me?

Conversion failed: Traceback (most recent call last): File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/user/app/transformers.js/scripts/convert.py", line 456, in main() File "/home/user/app/transformers.js/scripts/convert.py", line 341, in main main_export(**export_kwargs) File "/usr/local/lib/python3.10/site-packages/optimum/exporters/onnx/main.py", line 239, in main_export library_name = TasksManager.infer_library_from_model( File "/usr/local/lib/python3.10/site-packages/optimum/exporters/tasks.py", line 2072, in infer_library_from_model library_name = cls._infer_library_from_model_name_or_path( File "/usr/local/lib/python3.10/site-packages/optimum/exporters/tasks.py", line 2034, in _infer_library_from_model_name_or_path raise ValueError( ValueError: The library name could not be automatically inferred. If using the command-line, please provide the argument --library {transformers,diffusers,timm,sentence_transformers}. Example: --library diffusers.

Same for knowledgator/gliner-multitask-v1.0

ONNX Community org

Hi, all!

This space uses the conversion script from transformers.js. As soon it has an official support, this space will also be able to convert Gliner models.

Until there, let's keep the discussion about those models in this GitHub Issue (which I see was opened by @Madd0g ):
https://github.com/huggingface/transformers.js/issues/826

I'll close this issue here, as it's not something we can fix from the space's codebase side.

Felladrin changed discussion status to closed

Sign up or log in to comment