-
Notifications
You must be signed in to change notification settings - Fork 284
Make converter more friendly to Transformers #652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Could you move Also, this script may not use |
Please no. This script is way too complex for most cases as it tries to solve transformers specific cases. And simple
|
|
Maybe, a better option is to put this What about fixing "some gaps and specific choices" in general? As you previously said, there are some subtle points and issues in seriralization/deserialization (and this PR exists due to huggingface/transformers#41038) so one could expect these discrepancies will be solved eventually. But, based on your comment above, you’re fine with the current state of things. |
|
I agree with @Narsil that there is no reason to distribute this in any library. It's a tool that was created to help integrating different HF libraries together, but does not really belong to any of them. TBH, I thought it was only a script on the space here and did not now it lived here as well - I'm just upstreaming here now for the sake of completeness as the other one was updated. |
12e90f2 to
3bb87e3
Compare
What does this PR do?
As per the title. This upstream the change made to the space converter https://huggingface.co/spaces/safetensors/convert/discussions/41.
Related to huggingface/transformers#41038 and huggingface/transformers#38870 for the full picture