Lightning-AI / Lightning-AI/lit-llama
How to convert lit-llama pretrained model to HF format?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.1k
- Forks
- 517
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I have pretrained a model and have it in lit-llama format. How can I convert it to huggingface format? I need to load my pretrained model via HuggingFace for inference.
There are no scripts for lit-llama to HF format. Kindly suggest any approach or provide the script for the same.
Thanks in advance.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the lit-llama pretrained checkpoint format and the Hugging Face model format required for inference. Determine the conversion inputs and outputs, then verify that a converted checkpoint can be loaded through Hugging Face for inference; the issue mentions no files or tests to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- huggingface, python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100