|
--- |
|
library_name: peft |
|
pipeline_tag: conversational |
|
base_model: internlm/internlm-7b |
|
--- |
|
|
|
<div align="center"> |
|
<img src="https://github.com/InternLM/lmdeploy/assets/36994684/0cf8d00f-e86b-40ba-9b54-dc8f1bc6c8d8" width="600"/> |
|
|
|
|
|
[![Generic badge](https://img.shields.io/badge/GitHub-%20XTuner-black.svg)](https://github.com/InternLM/xtuner) |
|
|
|
|
|
</div> |
|
|
|
## Model |
|
|
|
internlm-7b-qlora-arxiv-gentitle is fine-tuned from [InternLM-7B](https://huggingface.co/internlm/internlm-7b) with [Arxiv](https://github.com/WangRongsheng/ChatGenTitle) (20200101-20230722, [csAI, csCL, csCV]) dataset by [XTuner](https://github.com/InternLM/xtuner). |
|
|
|
|
|
## Quickstart |
|
|
|
### Usage with XTuner CLI |
|
|
|
#### Installation |
|
|
|
```shell |
|
pip install xtuner |
|
``` |
|
|
|
#### Chat |
|
|
|
```shell |
|
xtuner chat internlm/internlm-7b --adapter xtuner/internlm-7b-qlora-arxiv-gentitle --prompt-template internlm_chat --system-prompt arxiv_gentile |
|
``` |
|
|
|
#### Fine-tune |
|
|
|
Use the following command to quickly reproduce the fine-tuning results. |
|
|
|
```shell |
|
xtuner train internlm_7b_qlora_arxiv_gentitle_e5 |
|
``` |
|
|