News for hackers. Stuff that matters.
Re:Falcon 40B LLM (which beats Llama) now Apache 2.0 by anon373839 on Wednesday May 31, 2023 @09:41PM (#36146725)
Fine-tuning is a much better proposition than you’re giving it credit for. Papers are coming out demonstrating that 7B parameter models can outperform GPT-4’s quality when trained on a limited set of tasks. Yet, a 7B model offers comparatively cheap and fast inference. Furthermore, for a lot of use cases, few-shot priority is infeasible because you need to supply 2-3k tokens worth of few-shot examples with every prompt in order to fully specify the behavior you want. (As an example, think of long-form summarization where you want the summary to adhere to certain rules.)
Re:Falcon 40B LLM (which beats Llama) now Apache 2.0 by sgu999 on Thursday June 01, 2023 @04:09AM (#36148646)
What kind of tasks? Could you give some links to the papers you're referring to?
Re:Falcon 40B LLM (which beats Llama) now Apache 2.0 by anon373839 on Thursday June 01, 2023 @04:30AM (#36148740)
Sure:

1. Goat: Fine-tuned LLaMA Outperforms GPT-4 on Arithmetic Tasks

https://huggingface.co/papers/2305.14201

2. Gorilla: Large Language Model Connected with Massive APIs

https://arxiv.org/abs/2305.15334

Re:Falcon 40B LLM (which beats Llama) now Apache 2.0 by fareesh on Thursday June 01, 2023 @06:45AM (#36149472)
Sorry I should have been more specific - I was limiting my question to the bigger models. The smaller (~7B) models are feasible with these approaches.
Re:Falcon 40B LLM (which beats Llama) now Apache 2.0 by anon373839 on Thursday June 01, 2023 @07:56AM (#36149941)
Ah. Perhaps the larger models will find use in in-house deployments where companies want their employees to have access to ChatGPT-like general purpose assistants, but want to prevent data from leaving their premises. LIMA shows the LLaMA 65B hitting a quality level somewhere between DaVinci-003 and GPT-4 with minimal alignment, so the base models are probably powerful enough already for this to work. Just speculating.
Re:Falcon 40B LLM (which beats Llama) now Apache 2.0 by MacsHeadroom on Friday June 02, 2023 @07:05AM (#36163597)
One benefit of finetuning larger models, like 65B, is to free up limited context space vs few-shot prompting.

If you want a specific kind of interaction with the model then you could take up 1/3rd of the 2048 token context window with few-shot or you could simply finetune it with QLoRA for a few hours on a consumer GPU and then get to use the full 2048 context with the finetuned model.

Re:Falcon 40B LLM (which beats Llama) now Apache 2.0 by sgu999 on Thursday June 01, 2023 @02:50PM (#36155621)
Wow, thanks a lot! :)