task_categories:text-generation size_categories:1K<n<10K language:zh license:cc-by-4.0 arxiv:2308.09597 region:us
---
license: cc-by-4.0
task_categories:
- text-generation
language:
- zh
size_categories:
- 1K<n<10K
---



支持ChatHaruhi2 的萧峰数据，可以使用如下方式调用

```python
from chatharuhi import ChatHaruhi

chatbot = ChatHaruhi( role_from_hf = 'hhhwmws/xiaofeng', \
                      llm = 'openai')

response = chatbot.chat(role='丁春秋', text = '是我！')
print(response)
```

上传者: 米唯实

更具体的信息，见 [ChatHaruhi](https://github.com/LC1332/Chat-Haruhi-Suzumiya) 

欢迎加入我们的 [众筹角色创建项目](https://github.com/LC1332/Chat-Haruhi-Suzumiya/tree/main/characters/novel_collecting)

### Citation引用

Please cite the repo if you use the data or code in this repo.

```
@misc{li2023chatharuhi,
      title={ChatHaruhi: Reviving Anime Character in Reality via Large Language Model}, 
      author={Cheng Li and Ziang Leng and Chenxi Yan and Junyi Shen and Hao Wang and Weishi MI and Yaying Fei and Xiaoyang Feng and Song Yan and HaoSheng Wang and Linkang Zhan and Yaokai Jia and Pingyu Wu and Haozhen Sun},
      year={2023},
      eprint={2308.09597},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
```