Just to add to this, I run through a lot of these topics around fine-tuning Llama 2 on your own dataset (for me it's my own code :P) in a coding live stream a couple weeks ago. All on Colab single GPU Fine-tuning Llama stream: https://www.youtube.com/watch?v=TYgtG2Th6fI&t=2282s I have a couple more one where I do a QLoRa fine tuning session and explain the concepts as a personally self taught engineer (software engin…
really need a simple "put your source stuff in this directory, then press this button, then chat with your contents" type app/module/library. too much implementation detail required make it inaccessible for any non-significant use case. i imagine privateGpt will get there slowly
Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
51–60 of 61 posts
Re: Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
#52Just to add to this, I run through a lot of these topics around fine-tuning Llama 2 on your own dataset (for me it's my own code :P) in a coding live stream a couple weeks ago. All on Colab single GPU Fine-tuning Llama stream: https://www.youtube.com/watch?v=TYgtG2Th6fI&t=2282s I have a couple more one where I do a QLoRa fine tuning session and explain the concepts as a personally self taught engineer (software engin…
really need a simple "put your source stuff in this directory, then press this button, then chat with your contents" type app/module/library. too much implementation detail required make it inaccessible for any non-significant use case. i imagine privateGpt will get there slowly
Re: Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
#53Is this possible to fine tune llama-2 locally on M1 Ultra 64GB, I would like to know or any pointer would be good. Most of them are on Cloud or using Nvidia Cuda on linux.
Re: Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
#54Just to add to this, I run through a lot of these topics around fine-tuning Llama 2 on your own dataset (for me it's my own code :P) in a coding live stream a couple weeks ago. All on Colab single GPU Fine-tuning Llama stream: https://www.youtube.com/watch?v=TYgtG2Th6fI&t=2282s I have a couple more one where I do a QLoRa fine tuning session and explain the concepts as a personally self taught engineer (software engin…
really need a simple "put your source stuff in this directory, then press this button, then chat with your contents" type app/module/library. too much implementation detail required make it inaccessible for any non-significant use case. i imagine privateGpt will get there slowly
Re: Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
#55> Additionally, while this wasn’t an issue for GPT, the Llama chat models would often output hundreds of miscellaneous tokens that were unnecessary for the task, further slowing down their inference time (e.g. “Sure! Happy to help…”). That's the problem I've been facing with Llama 2 as well. It's almost impossible to have it just output the desired text. It will always add something before and after its response. Doe…
Re: Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
#56This blog seems to got good attention :) So we definitely plan to add it to Ray Summit https://raysummit.anyscale.com/agenda
Please comment on this thread if you have ideas of what kind of content you want to see more at Ray Summit
Re: Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
#57Earlier quoted context omitted.
this is brilliant. could you do a series about how to prepare custom data sets for finetuning. thats the part that a lot of other tutorials skip on. Especially for different goals - like safety, accuracy, etc.
Of course I have a few where I web scrape and build a dataset for myself with prefix tokens. I can break that down more on a specific stream about it.
Re: Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
#58Earlier quoted context omitted.
There is an article at the original site about that: https://www.anyscale.com/blog/fine-tuning-is-for-form-not-fa... Everybody new to this field thinks that he needs finetuning to teach the LLM of new facts. I made the same mistake initially, later I published a slightly ranty post on that: https://zzbbyy.substack.com/p/why-you-need-rag-not-finetunin...
Quick question - Gorilla paper talks about finetuning for RAG. Do you see this in practice ? can you do finetuning that specifically affects RAG ?
Re: Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
#59> Additionally, while this wasn’t an issue for GPT, the Llama chat models would often output hundreds of miscellaneous tokens that were unnecessary for the task, further slowing down their inference time (e.g. “Sure! Happy to help…”). That's the problem I've been facing with Llama 2 as well. It's almost impossible to have it just output the desired text. It will always add something before and after its response. Doe…
Re: Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
#60> Additionally, while this wasn’t an issue for GPT, the Llama chat models would often output hundreds of miscellaneous tokens that were unnecessary for the task, further slowing down their inference time (e.g. “Sure! Happy to help…”). That's the problem I've been facing with Llama 2 as well. It's almost impossible to have it just output the desired text. It will always add something before and after its response. Doe…
Llama-2-chat models have been overly fine-tuned to be like this. You can give a few-shot prompting a try, but they still don't gurantee a desired output. The best way to guarantee is to fine-tune on small (~1k) data points and go from there.