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

Converting GGML Q4_0 back to Torch checkpoint for HuggingFace/Pytorch consumption/training/finetuning #359

Closed
ductai199x opened this issue Mar 21, 2023 · 4 comments
Labels
enhancement New feature or request need more info The OP should provide more details about the issue stale

Comments

@ductai199x
Copy link
Contributor

Hi everyone, I hacked together a python script to convert a model saved as GGML Q4_0 files back to Pytorch checkpoint for further consumption/training/finetuning using HuggingFace's Transformer package and/or Pytorch/Pytorch Lightning. If there are interests to do this, please comment of drop a like. I will post the code or create a pull request if people need this.

@karcheng
Copy link

can you put in on git hub?

@gjmulder gjmulder added enhancement New feature or request need more info The OP should provide more details about the issue labels Mar 21, 2023
@PriNova
Copy link

PriNova commented Mar 21, 2023

Hi everyone, I hacked together a python script to convert a model saved as GGML Q4_0 files back to Pytorch checkpoint for further consumption/training/finetuning using HuggingFace's Transformer package and/or Pytorch/Pytorch Lightning. If there are interests to do this, please comment of drop a like. I will post the code or create a pull request if people need this.

The same I started to programming today. I want to use Q4 models with pytorch for inference tests on my GPU.
It will be amazing to have this script.

@ductai199x
Copy link
Contributor Author

Hey guys, here's a PR I made to do this: #403. Please check it out. If you have any questions, don't hesitate to ask here.

Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request need more info The OP should provide more details about the issue stale
Projects
None yet
Development

No branches or pull requests

4 participants