Skip to content
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

Add kwargs for loading models from HuggingFace #11

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

HRezaei
Copy link

@HRezaei HRezaei commented Dec 10, 2024

A small change to be able to pass any argument to AutoModelForCausalLM.from_pretrained, which might be required for loading specific models from HuggingFace, for example, offload_folder, or trust_remote_code.

Other improvements are also possible, for example supporting seq2seq models, but I guess it's better to keep pull requests small and incremental.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants