Missing file configuration_falcon

#1
by Giloh7 - opened

Hello,
I am very excited to try this model but unfortunaletely I'm getting this error :
OSError: OpenLLM-France/Claire-7B-0.1 does not appear to have a file named configuration_falcon.py. Checkout 'https://huggingface.co/OpenLLM-France/Claire-7B-0.1/main' for available files.
Link leading to a 404 error.
Seems similar to this : https://huggingface.co/tiiuae/falcon-7b/discussions/62
Any ideas ? :)
Thank you !

Thanks for notifying @Giloh7 ! And sorry for the inconvenience...
This kind of issue only happens in specific contexts, and can have several fixes.
Can you please give the code / script that you use to get this error, so that I can reproduce and investigate properly?

(if it happens with the example code from the model card, then please also add information about your version of transformers)

This should be fixed now.

Thanks again @Giloh7 for opening this issue.

And still interested in knowing the code you were using. It can help others who will face the same issue with the first version of the model.
Maybe you were using something like trust_remote_code=True?

Hello Jeronymous and thank you for answering and fixing ! :)

I was trying to execute the 'Typical Usage' code from the model card page.
Indeed I was using trust_remote_code=True as I got the following error : "AttributeError: module 'signal' has no attribute 'SIGALRM'"
https://github.com/huggingface/transformers/issues/25208

I was using Python 3.7 but now changed to 3.9 as I saw on the transformers repo that it was tested for Python 3.8+

Windows 10
2th Gen Intel(R) Core(TM) i7-1265U 1.80 GHz
16Go RAM

(You can reach me on Discord if I can help you investigate !)

OpenLLM France org

Thank you for your answer (and for the additional information about versions that could be useful for others).

No need to investigate more. If you used trust_remote_code=True that explains the error, and it is fixed now.

Jeronymous changed discussion status to closed
Jeronymous changed discussion status to open
Jeronymous changed discussion status to closed

Sign up or log in to comment