Settings

Theme

Free and Fast LLM Finetuning

github.com

7 points by sharonzhou 3 years ago · 4 comments

Reader

adr1an 3 years ago

It would be interesting to see: (1) why a lamini account is required? (2) how this compares to https://github.com/karpathy/nanoGPT

  • gdiamos 3 years ago

    It's just so we don't mix up models and users.

    Anyone can create an account for free by pressing one button.

gdiamos 3 years ago

This initial public alpha release of Lamini LLM fine tuning includes several advanced optimizations:

1. Chinchilla recipe smaller models pretrained on data increases inference speed

2. Instruction fine tuning training on a small high quality set of instructions unlocks the knowledge learned during foundation model training.

3. Latency constrained batching achieves high utilization under load during token generation

4. Containerized SLURM combines fast scheduling of SLURM with LLM containers

5. Mixed precision training uses matrix operations for training

There are so many low hanging fruits in LLM tuning, steering, and alignment. We are just getting started on this for enterprise and open source.

For this reason I disagree with Sam Altman that the age of bigger models is over.

We are still leaving orders of magnitude on the table, e.g. by not including optimizations like sparsity in these models.

References for inspiration: [1] - https://arxiv.org/abs/2203.15556

[2] - https://arxiv.org/abs/1910.10683

[3] - https://www.usenix.org/system/files/osdi22-yu.pdf

[4] - https://www.schedmd.com/

[5] - https://arxiv.org/abs/1710.03740

sharonzhouOP 3 years ago

Official repo for the finetuning pipeline, so you can train custom models on your data.

It's free, on small LLMs It's fast, taking 10-15 minutes It's like working with an unlimited prompt size, with 1000x+ more space than the largest prompts It's learning new information, not just trying to make sense of it given what it already learned (retrieval-augmented generation)

Layperson's blogpost: https://www.lamini.ai/blog/free-fast-and-furious-finetuning

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection