Skip to content

xhwang22/HallucinationDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hallucination Detection for Generative Large Language Models by Bayesian Sequential Estimation

Intro

This is an implementation of paper:

Hallucination Detection for Generative Large Language Models by Bayesian Sequential Estimation

Citation

If you use this code in your own work, please cite our paper:

@inproceedings{wang2023hallucination,
  title={Hallucination Detection for Generative Large Language Models by Bayesian Sequential Estimation},
  author={Wang, Xiaohua and Yan, Yuliang and Huang, Longtao and Zheng, Xiaoqing and Huang, Xuan-Jing},
  booktitle={Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},
  pages={15361--15371},
  year={2023}
}

Installation

Install HallucinationDetection:

git clone https://github.com/xhwang22/HallucinationDetection.git
cd HallucinationDetection

Install other dependencies:

# Install conda and pip dependencies
conda env create -f conda_env.yml
conda activate HD

Reproduce

Reproduce the experiment by running the bash file:

bash run.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published