Say I've got a corpus of ~1m documents, each of 10+ paragraphs and I want to run quote extraction on them (it does this beautifully), vectorise them for similarity search, whatever. This gets pretty expensive pretty fast.
Say I've got a corpus of ~1m documents, each of 10+ paragraphs and I want to run quote extraction on them (it does this beautifully), vectorise them for similarity search, whatever. This gets pretty expensive pretty fast.
Again though, it's the zero-effort part that's appealing. I'm on a very small team and getting that to close to the same standard will take time for a ham-fisted clod like myself. Worth giving a shot all the same though, thanks again.
Also, running your own specialized model locally can be much faster than using someone’s API.
I think we're not far off having something equivalent that can be pulled from Huggingface and run on a near consumer grade GPU.
For now, I'll hang tight and see how things progress. Don't disagree.
But yea, they cheap cost and lack of training is making me a take a long hard look at how I'm implementing more traditional NLP solutions.
you mean this? "Data submitted through the API is no longer used for service improvements (including model training) unless the organization opts in" https://openai.com/blog/introducing-chatgpt-and-whisper-apis
I think I missed the exception for API, how ever not sure where they are, but seems to be fine based on alpaca. Also interesting they are so hard on web scraping and and extraction, lol. But wow, that is a poorly worded paragraph.
I've got a use case where I need to extract model numbers from text - these LLMs are so good at it with very little work.
Example, I tried to extract skills from a job posting. ChatGPT did well, but there were skills missing.
It is good to find some entities but then you need to extend the labeling manually.
That said, with fine-tuning, `davinci-003` is _excellent_ at the types of entity extraction you're describing.
As one data point, LLaMA-13B beats GPT-3 175B in benchmarks, runs on a single 8GB VRAM consumer GPU, and takes only 24GB of VRAM to fine tune. (Though this particular model can't be used for commercial purposes.)
I have a project that uses davinci-003 (not even the cheaper ChatGPT API) like crazy and I don't come close to paying more than $30-120/month. With the ChatGPT API, it'll be 10x less...
Is it possible you had a bug that caused you to send far more requests than you were intending to send? Or maybe you used the older models which are 10x more expensive?
fetch("https://api.openai.com/v1/chat/completions", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${window.localStorage.getItem('apikey')}`,
},
body: JSON.stringify({
"messages":[
{"role":"system","content":""},
{"role":"user","content":""}
],
"temperature":0.9,
"max_tokens":300,
"top_p":1,
"frequency_penalty":0,
"presence_penalty":0.6,
"model":"gpt-3.5-turbo",
"stream":false}),
})
])I’ve been playing with davinci pretty extensively and the only reason I’ve actually given OpenAI my credit card was because they won’t let you do any fine-tuning with their free trial credit, or something like that. You’re off by orders of magnitude, ESPECIALLY with the new 3.5 model.