Closed darioprencipe closed 9 months ago
We expect some files to exist when we download a repository and it is likely that the repository above does not have the relevant tokenizer configuration. I agree with you though, the error message should be clearer. :)
We expect some files to exist when we download a repository and it is likely that the repository above does not have the relevant tokenizer configuration. I agree with you though, the error message should be clearer. :)
Thanks for getting back. Is there further documentation on this? In general, what's the structure the HF model should comply with in order for it to be importable and usable in Bumblebee?
I can push my own spaCy model to HF so - by knowing which files are expected and how they should look like - I could try to circumvent the issue, unless I'm missing something else.
Bumblebee expects models that are compatible with the huggingface/transformers library. Unfortunately spaCy is an entirely different library, with its own storage format and design, so I don't think we will be able to support it anytime soon (it may be more fitting as a separate NLP-specific library).
I agree that we should have a more descriptive and actionable error message, I will open up a separate issue :)
Hello,
I am trying to load spaCy Hugging Face model in a Livebook using Bumblebee.
I run the following:
And I get the following error:
From this error message it's pretty difficult to me to understand:
Thanks! Dario