Skip to content

[arXiv'25] Retrieval Augmented Factual Hallucination Detection in Large Language Models

Notifications You must be signed in to change notification settings

oneonlee/REFIND

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REFIND: Retrieval Augmented Factual Hallucination Detection in Large Language Models

Overview of REFIND

Task & Dataset Info.

SemEval-2025 Task-3 — Mu-SHROOM

Usage

Installation

conda create -n REFIND python=3.9
conda activate REFIND
pip install -r requirements.txt
python -m nltk.downloader punkt
python -m nltk.downloader punkt_tab

Preparation

Download Mu-SHROOM Dataset from Official Website and put it in the data directory.

# Retriever Preprocessing
sh scripts/preprocess_wiki.sh

Experiment

Validation Set

# Retrieve Contexts
sh scripts/run_val_retriever.sh

# Our Method
sh scripts/run_val_REFIND.sh

# Baselines
sh scripts/run_val_XLM-R.sh
sh scripts/run_val_FAVA.sh

## Evaluation
sh scripts/evaluate_val.sh

Test Set

# Retrieve Contexts
sh scripts/run_test_retriever.sh

# Our Method
sh scripts/run_test_REFIND.sh

# Baselines
sh scripts/run_test_XLM-R.sh
sh scripts/run_test_FAVA.sh

## Evaluation
sh scripts/evaluate_test.sh

References

About

[arXiv'25] Retrieval Augmented Factual Hallucination Detection in Large Language Models

Resources

Stars

Watchers

Forks