cleanlab / cleanlab

The standard data-centric AI package for data quality and machine learning with messy, real-world data and labels.
https://cleanlab.ai
GNU Affero General Public License v3.0
9.44k stars 729 forks source link

Hallucination detection #1202

Open AndreaPi opened 1 week ago

AndreaPi commented 1 week ago

Detect hallucinations in LLM outputs

Details

jwmueller commented 1 week ago

Thank you for the suggestion. Note we do offer the Trustworthy Language Model, which is exactly designed for hallucination detection.

Relevant tutorials:
https://help.cleanlab.ai/tutorials/tlm/ https://help.cleanlab.ai/tutorials/tlm_custom_model/ https://help.cleanlab.ai/tutorials/tlm_rag/#alternate-low-latencystreaming-approach-use-tlm-to-assess-responses-from-an-existing-rag-system

Hallucination-detection benchmarks in RAG: https://towardsdatascience.com/benchmarking-hallucination-detection-methods-in-rag-6a03c555f063