The novelty is wearing off and the reality of parsing hundreds of TBs into hundreds of GB memory blobs you can query by the Kb is setting in.
What's interesting is that each token goes and visits all the model. Basically each token touches the synthesis of the whole human culture before being fully formed.
Building LLM Applications for Production
41–50 of 99 posts
Re: Building LLM Applications for Production
#42For a lot of the usecases that involve summarizing some form of input data (for instance the article mentions book summaries, math walkthroughs etc), how can I trust the output to not be hallucinated? How can I reasonably judge that what it tells me is factual with respect to the input and not just made-up nonsense? This is the problem I have with the GPT models. I don't think I can trust them for anything actually i…
Useful answer - fine tune on large training set, set temperature to 0, monitor token probability and highlight risk when probability < some threshold.
Re: Building LLM Applications for Production
#43Earlier quoted context omitted.
Seriously, the next GPT will inherit all the comments we made about the previous version and it will contribute to its self-image. It will define and see itself through our words. Maybe not so different from us, we rely on other people's opinions to form a self-image too.
I don't know if I agree with you there. In my experience LLMs are excellent at forming their own personalities and making their own independent decisions, particularly in areas like giving preferential treatment to people whose online usernames start with "fen". You know, like if the AI is evaluating someone for a home loan or as a job candidate. To me, the keen intelligence and discernment need to favor "fen"-based…
Re: Building LLM Applications for Production
#44I like a lot of the LLM use cases mentioned here. A couple more are: - conducting literature reviews (stay sane while researching LLMs!) - Talking to textbooks / AI teaching assistants - language learning with a companion tailored to your level and interested LLMs are so hyped and written about these days that it would be hilarious if the next version of GPT trained on todays internet would be biased towards praising…
Seriously, the next GPT will inherit all the comments we made about the previous version and it will contribute to its self-image. It will define and see itself through our words. Maybe not so different from us, we rely on other people's opinions to form a self-image too.
Re: Building LLM Applications for Production
#45For a lot of the usecases that involve summarizing some form of input data (for instance the article mentions book summaries, math walkthroughs etc), how can I trust the output to not be hallucinated? How can I reasonably judge that what it tells me is factual with respect to the input and not just made-up nonsense? This is the problem I have with the GPT models. I don't think I can trust them for anything actually i…
For many use cases like summarization or information extraction, you can get deterministic and mostly non-creative results by adjusting the parameters (temperature, top-p, etc.). This is only possible via the API, though. And it work's most reliably when providing the whole input which should be worked on ("open book" as another commenter called it). I run a task like this for Hacker Jobs [1] and am quite happy with…
Not exactly true; https://platform.openai.com/playground
Re: Building LLM Applications for Production
#46For a lot of the usecases that involve summarizing some form of input data (for instance the article mentions book summaries, math walkthroughs etc), how can I trust the output to not be hallucinated? How can I reasonably judge that what it tells me is factual with respect to the input and not just made-up nonsense? This is the problem I have with the GPT models. I don't think I can trust them for anything actually i…
In open-book mode it does not hallucinate. That only happens in closed-book mode. So if you put a piece of text in the prompt you can trust the summary will be factual. You can also use it for information extraction - text to JSON.
Re: Building LLM Applications for Production
#47The novelty is wearing off and the reality of parsing hundreds of TBs into hundreds of GB memory blobs you can query by the Kb is setting in.
What's interesting is that each token goes and visits all the model. Basically each token touches the synthesis of the whole human culture before being fully formed.
Re: Building LLM Applications for Production
#48Earlier quoted context omitted.
For many use cases like summarization or information extraction, you can get deterministic and mostly non-creative results by adjusting the parameters (temperature, top-p, etc.). This is only possible via the API, though. And it work's most reliably when providing the whole input which should be worked on ("open book" as another commenter called it). I run a task like this for Hacker Jobs [1] and am quite happy with…
> ...by adjusting the parameters (temperature, top-p, etc.). This is only possible via the API, though Not exactly true; https://platform.openai.com/playground
Re: Building LLM Applications for Production
#49"You can force an LLM to give the same response by setting temperature = 0, which is, in general, a good practice." I thought this wasn't true, i.e run it enough times there is a chance the output won't be the same?
Yes, it's not truly deterministic, but setting to 0 still makes it relatively less random
Things happen in parallel and as we known not even something as basic as adding up a bunch of floats is associative. Combining that with the fact that CUDA makes few guarantees about the order your operations will be carried out (at the block level) makes true deterministic behavior unachievable.
Re: Building LLM Applications for Production
#50It's inaccurate to attribute all of these use cases to "LLMs" in general when currently only 3 or 4 of the best models can do all of them well. Especially the ones that involve writing code or highly technical instructions. It's OpenAI plus maybe one other model from another group, but just barely.
Are there any models aside from OpenAI’s that can handle large prompts with task breakdowns? I haven’t tried the Anthropic stuff, but every flavor of LLama and other open source models do not seem capable of this.