This is the intermediate
ContextCite supervised fine-tuning (CC-SFT) checkpoint used in the fully self-supervised setting of the SelfCite paper. It is initialized from
Llama-3.1-8B-Instruct and trained on SFT data generated with
ContextCite using 256 ContextCite calls.
This checkpoint is the model
before SimPO preference optimization. For the resulting SelfCite model after SimPO, use
voidism/SelfCite-8B-from-CC.
Please refer to the
SelfCite repository for training and usage details.
1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model_id = "voidism/SelfCite-8B-CC-SFT"
5tokenizer = AutoTokenizer.from_pretrained(model_id)
6model = AutoModelForCausalLM.from_pretrained(
7 model_id,
8 torch_dtype=torch.bfloat16,
9 device_map="auto",
10)
Please cite SelfCite and LongCite if they are helpful to your work.
1@inproceedings{chuang2025selfcite,
2 title={SelfCite: Self-Supervised Alignment for Context Attribution in Large Language Models},
3 author={Yung-Sung Chuang and Benjamin Cohen-Wang and Shannon Zejiang Shen and Zhaofeng Wu and Hu Xu and Xi Victoria Lin and James Glass and Shang-Wen Li and Wen-tau Yih},
4 journal={arXiv preprint arXiv:2502.09604},
5 year={2025}
6}
7
8@article{zhang2024longcite,
9 title={LongCite: Enabling LLMs to Generate Fine-grained Citations in Long-context QA},
10 author={Jiajie Zhang and Yushi Bai and Xin Lv and Wanjun Gu and Danqing Liu and Minhao Zou and Shulin Cao and Lei Hou and Yuxiao Dong and Ling Feng and Juanzi Li},
11 journal={arXiv preprint arXiv:2409.02897},
12 year={2024}
13}