ml-explore / ml-explore/mlx-examples
TinyLlama LoRA Example
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I saw this example and was wondering if it might be possible to train TinyLlama with LoRA. I haven't been able to figure out how to convert the weights.
Might it be possible to provide an example?
Thank you!
cc: @awni
Contributor guide
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 linked TinyLlama example and the repository's existing MLX examples, then investigate how the model weights would need to be converted for LoRA training. Done should be a reproducible TinyLlama LoRA example, including the necessary weight-conversion guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100