News for hackers. Stuff that matters.
Re:Mistral Fine-Tune by ankit219 on Saturday May 25, 2024 @08:23AM (#40474543)
Will share a longer post on this once I finish it. I have tested this multiple times, on bigger models, on custom smaller models, and it does not work.

In a strict sense, finetuning can add new knowledge but for that you need millions of tokens and multiple runs without using LoRA or Peft. For practical purposes, it does not.

Re:Mistral Fine-Tune by F-Lexx on Saturday May 25, 2024 @08:56AM (#40474740)
Bring on the new post and more details, this stuff is interesting.
Re:Mistral Fine-Tune by zwaps on Saturday May 25, 2024 @09:19AM (#40474913)
PEFT is not for adding knowledge, that's obvious
Re:Mistral Fine-Tune by qeternity on Sunday May 26, 2024 @03:02PM (#40484523)
I get the sense that you want to do the anti-RAG: take some relatively small corpus of data, train a lora, and then magically have a chatbot that knows your stuff...yeah, that will not work.

But chatbots are only one single use-case. And broadly I think this pattern of LLM-as-store-of-knowledge is a bad one (of course, until ASI, and then it isn't).

That said, you absolutely can impart new knowledge through fine-tuning. Millions of tokens is a rather small hurdle to overcome. And if you're not retraining with original/general data, then your model will become very specialized and possibly overfit...which is not an issue in many instances, and may even be desirable.