-
Is it possible to convert pytorch to ggml? and how would i do so? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I'm interested in this too. The Salesforce CodeGen model is published as a pytorch model and it's awfully close to gpt-j, which this can already handle. Feels like we're one patch away from a fully local Copilot (among other, less obvious use cases). |
Beta Was this translation helpful? Give feedback.
-
There's a script to convert Cerebras pytorch model to ggml: cformers repo have more converters, including codegen: |
Beta Was this translation helpful? Give feedback.
-
would it be nice if he have a general purpose layer translator Yolo Model Regpresentation |
Beta Was this translation helpful? Give feedback.
There's a script to convert Cerebras pytorch model to ggml:
https://github.com/ggerganov/ggml/blob/master/examples/gpt-2/convert-cerebras-to-ggml.py
cformers repo have more converters, including codegen:
https://github.com/NolanoOrg/cformers/tree/master/cformers/cpp/converters