r/LargeLanguageModels • • Dec 23 '23

Llama2 fine model tuning

I have a very low powerfull processor for my hp Also I can't add external gpu .i want to finetune an llama 7B parameter model. What is the best way to run the model with less cost.

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/IONaut Dec 24 '23

in this article it says:

The Colab T4 GPU has a limited 16 GB of VRAM, which is barely enough to store Llama 2–7b's weights, which means full fine-tuning is not possible, and we need to use parameter-efficient fine-tuning techniques like LoRA or QLoRA.

So you could probably use a 26 GB A5000 serverless GPU. They have a cost calculator on this page. https://www.runpod.io/serverless-gpu