My 2024 prediction is we will see far more people moving off of openai once they encounter its cost and latency compared to (less proven/scaled) competitors. It’s often a speed versus quality tradeoff, and I’ve seen multiple providers 3x faster than OpenAI with far more than 1/3 the quality
Ask HN: People who switched from GPT to their own models. How was it?
21–30 of 87 posts
Re: Ask HN: People who switched from GPT to their own models. How was it?
#22I fine-tuned an LLM to do technical stuff. It works pretty darn good. What I actually discovered is that when evaluating LLMs, it is surprisingly difficult to evaluate them. And, also, that GPT 4 isn't that great, in general.
Re: Ask HN: People who switched from GPT to their own models. How was it?
#23Re: Ask HN: People who switched from GPT to their own models. How was it?
#24Anyone has a tutorial how to achieve it to own a self-hosted model?
As simple as
pip install llm
# add the local plugin
llm install llm-gpt4all
# Download and run a prompt against the Orca Mini 7B model
llm -m orca-mini-3b-gguf2-q4_0 'What is the capital of France?'
Alternatively, you could use the llamafile[1] which is a tiny binary runner which gets packaged ontop of the multigigabyte models. Download the llamafile and you can launch it through your terminal or a web browser.From the llamafile page, after you download the file, you can just launch it as
./mistral-7b-instruct-v0.2.Q5_K_M.llamafile -ngl 9999 --temp 0.7 -p '[INST]Write a story about llamas[/INST]'
[0] https://llm.datasette.io/en/stable/index.html[1] https://github.com/Mozilla-Ocho/llamafile
Edit: added llm quickstart from the intro page
Re: Ask HN: People who switched from GPT to their own models. How was it?
#25Re: Ask HN: People who switched from GPT to their own models. How was it?
#26Re: Ask HN: People who switched from GPT to their own models. How was it?
#27Earlier quoted context omitted.
For narrow stuff you can do better job than base gpt4/mistral/etc model. You fine tune it with your very custom data, stuff that got didn’t seem to be trained on, it will generalize it well.
Have you done this? How did you do it? I've been looking forward to someone providing a detailed guide on how to "fine tune it with your custom data" for ages!
Re: Ask HN: People who switched from GPT to their own models. How was it?
#28Re: Ask HN: People who switched from GPT to their own models. How was it?
#29Re: Ask HN: People who switched from GPT to their own models. How was it?
#30Earlier quoted context omitted.
You can try going get some pre-trained (sometimes, fine-tuned) models on HuggingFace, following their instructions. Good luck!
Bit "Draw the rest of the owl" there.
here's a dead simple way : (1) download LM Studio, install it[0] (2) download a model from within the client when prompted (3) have a ball.
the program is fairly intuitive, it takes care of finding the relevant files, and it can even accept addendum prompts and various ways to flavor or specialize answers.
Learn the basics there, take what you learn to a more 'industrial' playground later on.
[0]: https://lmstudio.ai/