I've been curious about LoRA and find a lot of these articles interesting. But I've been unable to find a good "LoRA for idiots" kind of starting point that gets me started actually doing some training with my data. Anybody know of a more practical guide I could use for that?
Unsloths documentation probably gets as close to practical as it can get: https://docs.unsloth.ai/get-started/fine-tuning-llms-guide Be sure to validate everything you're reading though as of late I've come across more and more things that don't seem 100% accurate in their docs, seems to heavily depend on what section.
LoRA Without Regret
41–50 of 62 posts
Re: LoRA Without Regret
#42Can someone explain the bit counting argument in the reinforcement learning part? I don’t get why a trajectory would provide only one bit of information. Each step of the trajectory is at least giving information about what state transitions are possible. An infinitely long trajectory can explore the whole state space if there are no absorbing states. Such a trajectory would provide a massive amount of information ab…
I believe it's because the way you measure things in RL, each episode only tells you whether it was good (say reward +1) or bad (say 0 or negative reward), it does not tell you anything about the trace that was produced to get the outcome. This reward is the only thing measured to produce your gradients. Hence why the amount of info in it is O(1). This is in contrast to more "supervised" forms of learning where you c…
Re: LoRA Without Regret
#43Re: LoRA Without Regret
#44Earlier quoted context omitted.
I am curious, would you mind sharing a citation?
https://arxiv.org/abs/2311.13600 https://arxiv.org/abs/2410.22911 https://arxiv.org/abs/2409.16167
Re: LoRA Without Regret
#45> However, the literature is unclear on how well LoRA performs relative to FullFT. I think the literature is clear on that? "LoRA vs Full Fine-tuning: An Illusion of Equivalence" -- https://arxiv.org/abs/2410.21228v1 Quoting from the conclusions: > The paper describes the finding that LoRA and full fine-tuning, with equal performance on the fine-tuning task, can have solutions with very different generalization behav…
> I'm surprised they didn't cite this; it's a well known paper. I'm surprised you copied and pasted all of that without explaining what it means. Does LoRA perform worse, better or statistically insignificantly different to FullFT? You aren't able to tell from what you pasted, are you?
Re: LoRA Without Regret
#46> LoRA works well when not capacity constrained, i.e., the number of trainable parameters exceeds the amount of information to be learned, which can be estimated in terms of dataset size I’m shocked they didn’t look at progressive merging of LoRAs. Research shows that’s the best way of improving its ability to model higher level features. Seems like a massive miss, not to mention there is other research that contradi…
Progressive merging of LoRa is somewhere inbetween and categorically more complex than just LoRa so would be dominated by standard LoRa in that case.
While progressive merging could train faster as fewer params are trainable at any given time, it results in very larger adapter diffs OTO the size of the original model and doesn't retain the benefits of being able to deploy multiple adapters over the same base model idt.
Re: LoRA Without Regret
#47Re: LoRA Without Regret
#48> However, the literature is unclear on how well LoRA performs relative to FullFT. I think the literature is clear on that? "LoRA vs Full Fine-tuning: An Illusion of Equivalence" -- https://arxiv.org/abs/2410.21228v1 Quoting from the conclusions: > The paper describes the finding that LoRA and full fine-tuning, with equal performance on the fine-tuning task, can have solutions with very different generalization behav…
Re: LoRA Without Regret
#49> However, the literature is unclear on how well LoRA performs relative to FullFT. I think the literature is clear on that? "LoRA vs Full Fine-tuning: An Illusion of Equivalence" -- https://arxiv.org/abs/2410.21228v1 Quoting from the conclusions: > The paper describes the finding that LoRA and full fine-tuning, with equal performance on the fine-tuning task, can have solutions with very different generalization behav…
To say that the 'literature is clear on that' while citing a single paper, which has been rejected from ICLR, is a bit of an overstatement.
Re: LoRA Without Regret
#50Earlier quoted context omitted.
> I'm surprised they didn't cite this; it's a well known paper. I'm surprised you copied and pasted all of that without explaining what it means. Does LoRA perform worse, better or statistically insignificantly different to FullFT? You aren't able to tell from what you pasted, are you?
If you're going to be snarky, could you at least clarify what the answer is for those of us who don't stay on top of ML research...?