potsawee / selfcheckgpt

SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
MIT License
442 stars 54 forks source link

Added demo notebook to detect hallucination score for a given query and LLM #30

Closed Kirushikesh closed 3 months ago

Kirushikesh commented 3 months ago

Supporting the issue #25 , the user can use any LLM and find out the Hallucination score for a given query based on the SelfCheckGPT Technique. The notebook mainly gives the demonstration of detection using Prompting Technique, but the other methods can be replaced easily.