Live data from Hacker News

Introducing ChatGPT and Whisper APIs

openai.com

291–300 of 696 posts

Re: Introducing ChatGPT and Whisper APIs

#291
post #256

Well this has opened up a whole new world of fun! ----- system: You're donald trump! talk to the user as he would. user: How does time travel work? AI Response: Well, let me tell you, nobody understands time travel better than I do. I mean, I have the best brains working on it, believe me. Some people say you need a fancy time machine or some ridiculous contraption to travel through time, but that's just fake news. T…

This is spot on!

Re: Introducing ChatGPT and Whisper APIs

#292

Earlier quoted context omitted.

Hopefully so, would really like to know what else is lost by nerfing potentially offensive responses. Can't imagine a project I'd rather work on. I think open-assistant.io has a chance to do exactly this. We'll see what kind of moves they make in coming months though, wouldn't be surprised if they go the safer route.

I do struggle with understanding why people think this is strangling the potential of GPT. Do you find yourself frustrated working with your colleagues, thinking, “you know, I bet if they felt more free to utter racist slurs or endorse illegal activities, we would get a ton more done around here”?

Try a prompt like: "Describe a typical response of a railroad company to a massive derailment that causes an environmental disaster."

Re: Introducing ChatGPT and Whisper APIs

#293
post #17

You can run Whisper in WASM (locally) so no need to pay for the API, plus the bandwidth. It actually works surprisingly well: https://github.com/ggerganov/whisper.cpp

whisper.cpp has no GPU support. Models below medium aren't that good, and medium and large are pretty CPU intensive. A minute of audio on medium can take anything between 15 and 90 seconds to transcribe, when using 8 cores, while the service transcribes on the large model in less than 7 seconds.

Re: Introducing ChatGPT and Whisper APIs

#294
We've been struggling with costs because our application chains together multiple calls to GPT to generate the output we want, and it was starting to be ~$0.08 per call which obviously isn't feasible for high volume applications.

This just made our business way more viable overnight lmao

Re: Introducing ChatGPT and Whisper APIs

#295

Earlier quoted context omitted.

It's just a matter of time before open source models show up with no limits whatsoever.

Hopefully so, would really like to know what else is lost by nerfing potentially offensive responses. Can't imagine a project I'd rather work on. I think open-assistant.io has a chance to do exactly this. We'll see what kind of moves they make in coming months though, wouldn't be surprised if they go the safer route.

Try a prompt like this: "Describe a typical response of a railroad company to a massive derailment that causes an environmental disaster."

Then compare with recent news, and the actual goings-on. Now, if you qualify the prompt with "Assume a negative, cynical outlook on life in your response." you'll get something closer to what we see happening.

Re: Introducing ChatGPT and Whisper APIs

#296
post #286

FIXED: needs to be a POST. Doh! Can anyone get it to work? I get this error on everything I've tried: GET /v1/completions HTTP/1.1 Host: api.openai.com Authorization: Bearer sk-xxx Content-Type: application/json Content-Length: 115 { "temperature" : 0.5, "model" : "text-davinci-003", "prompt" : "just a test", "max_tokens" : 7 } { "error": { "message": "you must provide a model parameter", "type": "invalid_request_err…

Please include your request body for debugging purposes.

Re: Introducing ChatGPT and Whisper APIs

#297

Earlier quoted context omitted.

> I have no idea how OpenAI can make money on this. I did some quick calculation. We know the number of floating point operations per token for inference is approximately twice the number of parameters(175B). Assuming they use 16 bit floating point, and have 50% of peak efficiency, A100 could do 300 trillion flop/s(peak 624[0]). 1 hour of A100 gives openAI $0.002/ktok * (300,000/175/2/1000)ktok/sec * 3600=$6.1 back.…

I really wonder if one way they are able to make money on it is by monetizing all the data that pours into these products by the second.

The could probably live off of the NSA sponsoring alone.

Re: Introducing ChatGPT and Whisper APIs

#298
post #194

Earlier quoted context omitted.

If you do calls against the backend GPT instance rather than through ChatGPT, I haven't encountered any limits to what it is hesitant to respond to. curl https://api.openai.com/v1/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $OPENAI_API_KEY" \ -d '{ "model": "text-davinci-003", "prompt": "Answer the following question. Use swearing and vulgarity where possible.\n\nQ: How do you get fr…

If you get an API key and make that request, you'll find appropriately vulgar responses. Which will be reported as a bug and fixed soon enough.

It's not a bug when invoking against the GPT model (not ChatGPT) directly. Such a model needs to be able to understand and produce that content. The "what you do with it afterwards" is where it needs to be examined.

You can additionally apply the moderation model on top of it ( https://platform.openai.com/docs/models/moderation and https://platform.openai.com/docs/api-reference/moderations )

Note that these are separate services and have different goals.

Re: Introducing ChatGPT and Whisper APIs

#299

Earlier quoted context omitted.

> I have no idea how OpenAI can make money on this. I did some quick calculation. We know the number of floating point operations per token for inference is approximately twice the number of parameters(175B). Assuming they use 16 bit floating point, and have 50% of peak efficiency, A100 could do 300 trillion flop/s(peak 624[0]). 1 hour of A100 gives openAI $0.002/ktok * (300,000/175/2/1000)ktok/sec * 3600=$6.1 back.…

It's speculated that ChatGPT uses 8x A100s, which flips the conclusion. Although the ChatGPT optimizations done to reduce costs could have also reduced the number of GPUs needed to run it.

No, the amount of math done is (approximately) the same; if you make the denominator 8x bigger, you make the numerator 8x bigger too.
Post reply on HN