Comment

Comment by worldofideas123

I think a way of avoiding hallucinations is using the same LLM with different values of the temperature parameter. Hallucinations, by their own nature, are prone to have great variance, so a change in temperature implies a big change in the story of facts inferred by the LLM, so it seems a main way of fighting hallucinations is checking coherence of the LLM using different values of temperature. So the probability of hallucinations is just the d(story)/d(temperature). This suggest to investigate how the embedding distance of small episodes change with temperature.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton