News for hackers. Stuff that matters.
Re:Ask HN: Guides, books or repos for LLM fine-tuning by extasia on Thursday July 06, 2023 @06:50PM (#36624366)
I'd recommend huggingface's transformers library. You probably don't wanna be finetuning these LLMs yourself since that's a big endeavour, but secondly because they already have the NLU capabilities to solve your problem. You basically want to train a single classification layer on top of your models output. I believe it'll be something like "CausalLMForClassification" in the huggingface docs.

As far as resources go for finetuning I haven't found many great resources. But again, you probably don't wanna be finetuning these massive LLMs for your particular use case -\_/- Buenos suertes.

Re:Ask HN: Guides, books or repos for LLM fine-tuning by Eric_BB on Thursday July 06, 2023 @07:41PM (#36624910)
Thank you for the suggestion! I will check out the library and try it without any fine-tuning