peft region:us
---
library_name: peft
---
## Training procedure


The following `bitsandbytes` quantization config was used during training:
- load_in_8bit: True
- load_in_4bit: False
- llm_int8_threshold: 6.0
- llm_int8_skip_modules: None
- llm_int8_enable_fp32_cpu_offload: False
- llm_int8_has_fp16_weight: False
- bnb_4bit_quant_type: fp4
- bnb_4bit_use_double_quant: False
- bnb_4bit_compute_dtype: float32

The following `bitsandbytes` quantization config was used during training:
- load_in_8bit: True
- load_in_4bit: False
- llm_int8_threshold: 6.0
- llm_int8_skip_modules: None
- llm_int8_enable_fp32_cpu_offload: False
- llm_int8_has_fp16_weight: False
- bnb_4bit_quant_type: fp4
- bnb_4bit_use_double_quant: False
- bnb_4bit_compute_dtype: float32
### Framework versions

- PEFT 0.4.0

- PEFT 0.4.0

### Instruction

```
Instruction: 我睡眠不足，很头痛
```

### Output

```
少侠保重身体。江湖人称我为医仙，今日得闻君有头痛之症，实非善兆。睡眠不足，乃是身体之不适，需慎之又慎。头痛之症，或许源自于血液循环不畅，或许源于神经压力过大。当务之急，当调整生活习惯，保持良好的睡眠规律，避免过度劳累。此外，可尝试调整饮食，避免辛辣刺激之物，以免加重头痛之苦。如君仍遭此病痛，可寻求名医良药，以求解忧。</s>
```

可以发现，模型的回答已经学习到**金庸创作风格**的能力。
