In case of openAI, the infra doesn't needs to be rented but the cost is covered in usage pricing but want to hear from someone who has experience fine-tuning Llama2 models that how it compares.
In case of openAI, the infra doesn't needs to be rented but the cost is covered in usage pricing but want to hear from someone who has experience fine-tuning Llama2 models that how it compares.
I think it's clear that "fine tuning" with GPT is different from fine tuning something like Llama2, in that it probably isn't adjusting all the weights of the network, only a tiny subfragment of the network- Exactly how OpenAI accomplishes this is properietary.
The tradeoff is that OpenAI fine tuning is less expensive, but it is also less powerful than "real" fine tuning.
source please? this actually isnt all that clear to me
i.e. you actually don't want your model to re-learn _everything_.
You can get roughly $0.003/1K tokens using modal.com for inference on a fine-tuned llama2 13B model, and there's definitely cheaper options available.
Unless you have a ton of data, the cost for training llama2 is usually a few dollars.
nit: thats the cost for finetuning, not pretraining
https://modal.com/docs/guide/ex/vllm_inference
Alternatively, Runpod is fairly cheap and easy to get stuff running in a few minutes and can be point/click only using their templates.
https://www.runpod.io/console/gpu-secure-cloud?template=f1pf...
("serverless" example) https://github.com/ashleykleynhans/runpod-worker-oobabooga