Instructions to use ForestHYS/Emotion-Support with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ForestHYS/Emotion-Support with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
File size: 849 Bytes
62f5714 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ---
library_name: peft
tags:
- lora
- qwen
- emotion-support
base_model: Qwen/Qwen3.5-9B
pipeline_tag: text-generation
---
# Emotion Support
LoRA adapters fine-tuned on **Qwen/Qwen3.5-9B** for emotion support.
## Subfolders
| Folder | Description |
|--------|-------------|
| `sft-lora` | SFT LoRA |
| `grpo-lora` | GRPO LoRA |
| `grpo-lora-shot2` | GRPO LoRA (shot2) |
| `grpo-lora-shot3` | GRPO LoRA (shot3) |
## Load
```python
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_id = "Qwen/Qwen3.5-9B"
model = AutoModelForCausalLM.from_pretrained(base_id, torch_dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(model, "ForestHYS/Emotion-Support", subfolder="grpo-lora-shot3")
tokenizer = AutoTokenizer.from_pretrained("ForestHYS/Emotion-Support", subfolder="grpo-lora-shot3")
```
|