News for hackers. Stuff that matters.
Re: by coffee_am on Friday July 28, 2023 @02:43AM (#36903707)
Noob question: when folks talk about fine-tuning LLM, do they usually fine-tune the encoder (of the prompt), the decoder (that generates the text) or both ?
Re: by drdirk on Friday July 28, 2023 @05:10AM (#36904530)
Both can be done. Fine-Tuning the prompt is cheaper and can be done on consumer hardware. Fine-tuning the LLM model weights is expensive and needs cloud support.
Re: by coffee_am on Saturday July 29, 2023 @04:52AM (#36918280)
Thanks for the reply, but when you mean "fine-tuning" for the prompt, do you mean fine-tuning of the LLM encoder of the prompt right ? (The thing that transforms the prompt into a sequence of embeddings?) But that is not cheap/easy to train ...

I know some systems also allow an extra fixed embedding parameter to the prompt, that can also be fine-tuned. But that is yet another thing that can be fine-tuned very cheaply.