Downloads · 30 days
36
10% of all-time downloads
opencompass/anah-7b
anah-7b is a text classification model from opencompass. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
[](https://arxiv.org/abs/2405.20315) [](./LICENSE)
Downloads · 30 days
36
10% of all-time downloads
All-time downloads
374
Public
Parameters
7.7B
31 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.5 GB · 100%
From the Hugging Face model README
This page holds the InternLM2-7B model which is trained with the ANAH dataset. It is fine-tuned to annotate the hallucination in LLM's responses.
More information please refer to our project page.
You have to follow the prompt in our paper to annotate the hallucination.
The models follow the conversation format of InternLM2-chat, with the template protocol as:
dict(role='user', begin='<|im_start|>user
', end='<|im_end|>
'),
dict(role='assistant', begin='<|im_start|>assistant
', end='<|im_end|>
'),
If you find this project useful in your research, please consider citing:
@article{ji2024anah,
title={ANAH: Analytical Annotation of Hallucinations in Large Language Models},
author={Ji, Ziwei and Gu, Yuzhe and Zhang, Wenwei and Lyu, Chengqi and Lin, Dahua and Chen, Kai},
journal={arXiv preprint arXiv:2405.20315},
year={2024}
}
Code: The source code for training and evaluating this model can be found at https://github.com/open-compass/ANAH