Skip to content

The repository of our paper about confidence calibration on RAG.

License

Notifications You must be signed in to change notification settings

naist-nlp/CC_RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f6dcce7 · Jan 5, 2025

History

15 Commits
Jan 3, 2025
Jan 5, 2025
Nov 30, 2024
Jan 5, 2025
Nov 30, 2024
Jan 2, 2025
Dec 18, 2024
Jan 3, 2025
Jan 5, 2025

Repository files navigation

Mesuring the confidence on RAG

Setup

pip install -r requirements.txt

Run

## Execution
# As for the execution, GPU is required to run.
bash scripts/execute_inference*.sh

## Evaluation
bash scripts/evaluate_results*.sh

## Plot
bash scripts/plot_*.sh

Citation

If you feel this repository useful, please cite the following paper:

@misc{ozaki2024understandingimpactconfidenceretrieval,
      title={Understanding the Impact of Confidence in Retrieval Augmented Generation: A Case Study in the Medical Domain}, 
      author={Shintaro Ozaki and Yuta Kato and Siyuan Feng and Masayo Tomita and Kazuki Hayashi and Ryoma Obara and Masafumi Oyamada and Katsuhiko Hayashi and Hidetaka Kamigaito and Taro Watanabe},
      year={2024},
      eprint={2412.20309},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2412.20309}, 
}