Live data from Hacker News

GPT-3.5 Turbo fine-tuning and API updates

openai.com

141–150 of 244 posts

Re: GPT-3.5 Turbo fine-tuning and API updates

#141

And OpenAI continues to ship. As promised, they released GPT3.5 fine-tuning today. They opened GPT4 API access a few months ago. In a few months, they'll release GPT4 fine-tuning. Many favor open source AI, and criticize OpenAI for not being open enough. But the most important thing is, OpenAI innovates. Fast. Llama, Bard, FB's open source stuff is good but it's lightyears behind OpenAI. You have to credit them for t…

Prior to LLaMA 2, I would have agreed with you but LLaMA 2 is a game changer. The 70B performance is probably between 3.5 and 4. But running it personally isn't cheap. The cheapest I found is about $4/hr to run the whole thing. I only spend around $3 on average a month on GPT-3.5 API for my personal stuff.

How are you currently hosting your LLaMA 2? Any tips, tricks or advice?

Re: GPT-3.5 Turbo fine-tuning and API updates

#142

And OpenAI continues to ship. As promised, they released GPT3.5 fine-tuning today. They opened GPT4 API access a few months ago. In a few months, they'll release GPT4 fine-tuning. Many favor open source AI, and criticize OpenAI for not being open enough. But the most important thing is, OpenAI innovates. Fast. Llama, Bard, FB's open source stuff is good but it's lightyears behind OpenAI. You have to credit them for t…

Prior to LLaMA 2, I would have agreed with you but LLaMA 2 is a game changer. The 70B performance is probably between 3.5 and 4. But running it personally isn't cheap. The cheapest I found is about $4/hr to run the whole thing. I only spend around $3 on average a month on GPT-3.5 API for my personal stuff.

Out of curiosity and if you are happy to share, what is your 'personal stuff'?

Re: GPT-3.5 Turbo fine-tuning and API updates

#143

Earlier quoted context omitted.

Prior to LLaMA 2, I would have agreed with you but LLaMA 2 is a game changer. The 70B performance is probably between 3.5 and 4. But running it personally isn't cheap. The cheapest I found is about $4/hr to run the whole thing. I only spend around $3 on average a month on GPT-3.5 API for my personal stuff.

Out of curiosity and if you are happy to share, what is your 'personal stuff'?

As a counter reference, for my work I use it to code (for-4) and it has been between $70 and $200 per month depending on how heavily I use it

Re: GPT-3.5 Turbo fine-tuning and API updates

#144

GPT 3.5 is so bad it's useless to me - for writing it's too repetitive of the same kind of jargon, for coding it's wrong way too often. The NLP is also worse, I have to be more explicit. It's just an average chat bot IMO. GPT 4 @ $20/mo. is significantly better at everything, I use it for doing stuff in Angular lol - when you have an AI explaining the why behind everything, this over-engineered mess of a framework st…

I've found that LLMs serve best as fuzzy searchers. It may be hard to ask Google the right questions, but this is where LLMs shine. Googling any form of "I remember hearing about a study that Google did awhile back about new hires and they found that if a GPA was above 3.0 that there was no difference. Can you link me that study? Was there any followup?" is quite difficult and you'll likely end up with tons of links about questions of minimum GPA for getting a job at Google, but Bard will give you information about "Laszlo Bock" and his book, when enables more refined Googling. Simple "Laszlo Bock Google GPA" now provides a useful search.

This is where I find LLMs shine, when I'm struggling to cite the correct incantation to Google to filter our all the junk that has been SEO optimized. (foreshadowing LLM search optimization...)

What's also interesting is I tried this exact sentence in multiple LLMs.

- ChatGPT gives me the standard knowledge limit response despite all the results for our refined search being June 2013.

- Bard didn't need any coaxing (a bit surprising).

- Hugging Face Chat also gave me Bock and Project Oxygen and Project Aristotle (Bard didn't have either). HuggingFace is providing by far the best result.

- Claude did not find the study but at least suggested some others.

- LLaMa doesn't seem to be able to find it either, but suggests that Google has done studies and gives some names.

sheepscreek is exactly right about the fine tuning for correctness degrading results. There is an interesting thing going on right now, as alignment is strangely not being recognized as also disalignment. You cannot have one without the other. There is always a trade since you are shifting the probability distribution. But I think unfortunately it is not only unpopular to research this area, but the methods needed would involve quite unpopular networks and require a deep discussion of probability and distributions, which currently appears to be resulting in rejection from top conferences if my Twitter feed and personal experience are any indication. The conferencing system is so noisy at this point that I personally feel that it is worse than were it to not exist. Much like my ChatGPT result for the question.

It is also worth mentioning that the tuning process being performed may have additional consequences which aren't being openly discussed or addressed, despite it being in the name. Tuning for human preference is not exactly tuning for factual knowledge, but the preferred results that humans like. While tuning may include pressure to increase factual output one needs to also be highly aware that the bias we're introducing to these models is that which specifically hacks the evaluation metric (i.e. us humans). This has the ability to make LLMs worse off than before, as they become more likely to be convincing when they return incorrect information, even if the average factual accuracy is higher. Need to be highly aware of both Simpson's and Berkson's paradoxes, as they deal with poor evaluation due to the way in which data (results) are aggregated. We are literally tuning through Goodhart's Law.

Re: GPT-3.5 Turbo fine-tuning and API updates

#145
post #93

Earlier quoted context omitted.

8x is a big gap. I feel that it might be better to just use few-shot prompting and supply some examples (not applicable to every use case ofc) every prompt to steer the output. But it's worth experimenting with at least. Edit: no function calling (until later this fall) too. That's most of my usage right now so I'll pass. Curious on what the verdict on the OAI finetunes are. I remember reading this thread which indic…

That’ll add latency.

and reduce maximum output length

Re: GPT-3.5 Turbo fine-tuning and API updates

#146
post #60

Earlier quoted context omitted.

Speaking of RAG, does anyone know of a Python library that (hopefully) doesn't need a server, that can do embeddings, along with an example? I want to do RAG in Python, and I can wrangle the prompt to where I want it, but I have no idea how to basically search for relevant documents with embeddings.

Here is my implementation used for my discord and slack bots. The logic for rag is the Shelby_agent module. RAG is straightforward but i improve it by generating extra keywords to help the search. I also add extra metadata filtering to return both technical documentation and more fluffy sales and marketing stuff. IMO, semantic search alone might not be the best, and I want to also add keyword search. I think the thin…

I know I left another comment, but I'm replying in a new one to increase the chance that you'll see this: It would probably be very useful to a lot of people if you (or someone) made a standalone library out of this. It looks like Shelby requires Pinecone, but using something like ChromaDB for local embeddings and providing a library that I can just import, add documents to, and then query for answers would enable all kinds of applications.

I'm currently trying to build a hobby virtual assistant, and it looks like RAG does need some nuance to implement correctly (from what you said). A library that does all of what you mentioned would take a lot of work out of it.

Re: GPT-3.5 Turbo fine-tuning and API updates

#148

Earlier quoted context omitted.

Prior to LLaMA 2, I would have agreed with you but LLaMA 2 is a game changer. The 70B performance is probably between 3.5 and 4. But running it personally isn't cheap. The cheapest I found is about $4/hr to run the whole thing. I only spend around $3 on average a month on GPT-3.5 API for my personal stuff.

Out of curiosity and if you are happy to share, what is your 'personal stuff'?

I use it a lot for personal coding projects, grammar correction/sentence rewording, and translation (it works better than google translate for longer text). I explicitly call out personal stuff since my job provides an in-house front end that uses the GPT API (I'm actually not sure which version it is, but guessing from the response quality, its probably GPT-4). My work one has made me noticeably more productive. It helps me with a lot of the "boring" work that I procrastinate a lot on. It starts my momentum and allows me focus a lot on the "complex stuff". I'm not sure how much money I use since there is no limit at work but if I had to guess, its probably north of $100 a month on credit.

Re: GPT-3.5 Turbo fine-tuning and API updates

#149

Earlier quoted context omitted.

Out of curiosity and if you are happy to share, what is your 'personal stuff'?

As a counter reference, for my work I use it to code (for-4) and it has been between $70 and $200 per month depending on how heavily I use it

GPT-4 is significantly more expensive so I can definitely see you spending that amount. For really complex stuff, I switch over the GPT-4 and it will cost me almost $3 a "question" (as in going from the beginning to solving it). Honestly worth it since it solves my problem but it adds up quick so I try to stick with 3.5 when I can.

Re: GPT-3.5 Turbo fine-tuning and API updates

#150
post #141

Earlier quoted context omitted.

Prior to LLaMA 2, I would have agreed with you but LLaMA 2 is a game changer. The 70B performance is probably between 3.5 and 4. But running it personally isn't cheap. The cheapest I found is about $4/hr to run the whole thing. I only spend around $3 on average a month on GPT-3.5 API for my personal stuff.

How are you currently hosting your LLaMA 2? Any tips, tricks or advice?

It depends on your needs. For instance, do you want to host an API or do you want to have a front end like chatGPT? Chances are, text-generation-webui [1] should get you pretty close to hosting it yourself. You simply clone the repo, download the model from huggingface using the included helper (download-model.py) and fire up the server with server.py. You can connect to it by SSH port tunneling on port 7860 (there's other way like Ngrok but SSH tunneling is the easiest and secure).

As for hosting, I found that runpod [2] has been the cheapest (not affiliated, just a user). All the other services tend to add up more than them when you include bandwidth and storage. There's some tutorials online [3] but a lot of them use the quantized version. You should be able to fit the original 70B with "load_in_8bit" on one A100 80GB.

[1] https://github.com/oobabooga/text-generation-webui [2] https://www.runpod.io/ [3] https://gpus.llm-utils.org/running-llama-2-on-runpod-with-oo...

Post reply on HN