My finetuned models beat OpenAI's GPT-4
21–30 of 98 posts
Re: My finetuned models beat OpenAI's GPT-4
#22And that’s the point of fine tuning models. Still good to see someone walk through their fine tuning process, with a mix of hosted and local options.
On that note: is there a good service for “here’s my dataset”, please fine tune these 9 models and give me evaluation stats?
Re: My finetuned models beat OpenAI's GPT-4
#23I am pretty sure that a finetuned smaller model would be better and faster for this task. It would be great to start finetuning and sharing such smaller models: they do not really have to be really better than commercial LLMs that run online, as long as they are not at least worse. They are already much faster and cheaper, which is a big advantage for this purpose. There is already need for these tasks to be offline when one cannot share the data with openai and the like. Higher speed and lower cost also allow for more experimentation with more specific finetuning and prompts, with less care about token lengths of prompts and cost. This is an application where smaller, locally run, finetunable models can shine.
Re: My finetuned models beat OpenAI's GPT-4
#24Thanks for putting all this work and sharing it in such a detail! Data extraction/structuring data is the only serious application of LLMs I have actually engaged in for real work and found useful. I had to extract data from experience sampling reports which I could not share online, thus chatgpt etc was out of question. There were sentences describing onsets and offsets of events and descriptions of what went on. I…
Re: My finetuned models beat OpenAI's GPT-4
#25Thanks for sharing this, It's well written and informative. I noticed you used 'temperature=1' in the GPT test for the example in the post. Is this best practice for a task requiring structured output? Have you tested other temperature settings? My casual understanding was that a temperature of 0 is best for these types of workloads while higher temperatures would be more effective for more 'creative' workloads.
I followed whatever the guidance was for a specific model. Some of the LLM finetuning providers did indeed set the temperature to 0 and I followed that, but others suggested 1. I could probably iterate a bit to see what is best for each model, and I might well do that for the one that I choose as the one I’ll be doubling down on in subsequent iterations / finetunes. Thanks for the suggestion!
Re: My finetuned models beat OpenAI's GPT-4
#26This is entirely unsurprising and in-line with the finding that even small specialized models do better in information extraction and text classification. So no wonder finetuned large LMs do good too. Personally, my PhD did fine grained ACE-like event and sentiment extraction and "small" specialized finetuned transformers outperformed prompting LLMs like BERT and Roberta-large. Would love to see an inclusion of small…
Your thesis sounds interesting! Do you have a link to it by any chance?
Re: My finetuned models beat OpenAI's GPT-4
#27Earlier quoted context omitted.
Your thesis sounds interesting! Do you have a link to it by any chance?
Seconded! Any URI to your PhD?
Re: My finetuned models beat OpenAI's GPT-4
#28Re: My finetuned models beat OpenAI's GPT-4
#29What is a good fine-tuning script for Mistral and LLaMA3 on an A100?