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

Question: Are PyTorch checkpoints required, or will Safetensors work as well? #123

Open
aPaleBlueDot opened this issue Sep 14, 2024 · 0 comments

Comments

@aPaleBlueDot
Copy link

Newbie here.

In convert.py, the following like takes a HF repo id, which not always includes PyTorch checkpoints:

torch_model = StatefulMistralForCausalLM(MODEL_ID, max_context_size=max_context_size)

Does this work with either type of checkpoints?

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

No branches or pull requests

1 participant