LoRA != LoRa. I keep on getting confused and hate that they chose to reuse an existing acronym
LoRA from scratch: implementation for LLM finetuning
31–40 of 87 posts
Re: LoRA from scratch: implementation for LLM finetuning
#32It's still not too clear to me when we should fine tune versus RAG. In the past, I used to believe that finetuning is mostly for model behavioral change, but recently it seems that certain companies are also using fine-tuning for knowledge addition. What are the main use cases for fine tuning?
--
[0] Fast.ai: Can Models learn from one sample, https://www.fast.ai/posts/2023-09-04-learning-jumps/ / https://archive.is/eJMPR
[1] LlamaIndex: Advanced RAG, https://blog.llamaindex.ai/a-cheat-sheet-and-some-recipes-fo... / https://archive.is/qtBXX
[2] Microsoft: RAG vs Fine-tuning: Pipelines, Tradeoffs, and a Case Study, https://arxiv.org/html/2401.08406v2#S6 / https://archive.is/UQ8Sa#S6
Re: LoRA from scratch: implementation for LLM finetuning
#33It's still strange to me to work in a field of computer science where we say things like "we're not exactly sure how these numbers (hyper parameters) affect the result, so just try a bunch of different values and see which one works best."
I feel like it's the difference between something that has been engineered and something that has been discovered. I feel like most of our industry up until now has been engineered. LLMs were discovered.
Re: LoRA from scratch: implementation for LLM finetuning
#34It's still strange to me to work in a field of computer science where we say things like "we're not exactly sure how these numbers (hyper parameters) affect the result, so just try a bunch of different values and see which one works best."
I feel like it's the difference between something that has been engineered and something that has been discovered. I feel like most of our industry up until now has been engineered. LLMs were discovered.
Re: LoRA from scratch: implementation for LLM finetuning
#35It's still strange to me to work in a field of computer science where we say things like "we're not exactly sure how these numbers (hyper parameters) affect the result, so just try a bunch of different values and see which one works best."
Re: LoRA from scratch: implementation for LLM finetuning
#36It's still not too clear to me when we should fine tune versus RAG. In the past, I used to believe that finetuning is mostly for model behavioral change, but recently it seems that certain companies are also using fine-tuning for knowledge addition. What are the main use cases for fine tuning?
Re: LoRA from scratch: implementation for LLM finetuning
#37Re: LoRA from scratch: implementation for LLM finetuning
#38LoRA != LoRa. I keep on getting confused and hate that they chose to reuse an existing acronym
Re: LoRA from scratch: implementation for LLM finetuning
#39LoRA != LoRa. I keep on getting confused and hate that they chose to reuse an existing acronym
Re: LoRA from scratch: implementation for LLM finetuning
#40What's the performance penalty of LoRA?
1) ... be theoretically a tad slower if you add the LoRA values dynamically during the forward pass (however, this is also an advantage if you want to keep a separate small weight set per customer, for example; you run only one large base model and can apply the different LoRA weights per customer on the fly)
2) ... have the exact same performance as the base model if you merge the LoRA weights back with the base model.