Convert to HF format

#70
by cyrilvallez HF Staff - opened
No description provided.
cyrilvallez changed pull request title from Upload folder using huggingface_hub to Convert to HF format

This PR converts the model to HF format, while keeping all compatibility with trust_remote_code=True (the .py files uploaded are copies of those in Transformers, with some additional stuff to ensure retro-compatiblity to at least v4.49.0 included, which was the state of the library when this model was released).

It is self-contained, and adds in one-place everything that is needed, including the model, config and processor, thus superseding all precedent PRs from us!

Hi @cyrilvallez , thank you for your work! may I know if you still plan to merge this PR? Is this branch currently verified working?

Hey! Merging is not up to me, but to the repo owners πŸ€— You can still use this branch in Transformers with revision="refs/pr/70" in all from_pretrained methods in Transformers, which will work without needing to add trust_remote_code=True

Hi @nguyenbh , could you help to merge this PR? @cyrilvallez and me are from HuggingFace transformers team.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment