Update README.md
Browse files
README.md
CHANGED
|
@@ -12,43 +12,31 @@ tags:
|
|
| 12 |
- conversational
|
| 13 |
---
|
| 14 |
|
| 15 |
-
# DeepSupport Warm LoRA
|
| 16 |
-
|
| 17 |
This repository provides a LoRA adapter for DeepSupport Warm, an emotional-holding companion that offers gentle reflection and warm support without rushing into what to do next.
|
| 18 |
|
| 19 |
-
- **Base model:** `Qwen/Qwen2.5-32B-Instruct`
|
| 20 |
-
- **This repo:** LoRA adapter
|
| 21 |
-
|
| 22 |
-
> Recommended: use this adapter together with the official base model.
|
| 23 |
-
|
| 24 |
-
---
|
| 25 |
-
|
| 26 |
## What it does β¨
|
| 27 |
-
|
| 28 |
DeepSupport Warm is designed to help users feel held and less alone in the moment:
|
| 29 |
|
| 30 |
- Validate and name feelings without judging
|
| 31 |
- Stay with emotion first, before problem-solving
|
| 32 |
- Offer gentle grounding and a small next step only if the user wants it
|
| 33 |
|
| 34 |
-
---
|
| 35 |
|
| 36 |
-
## Quick start π
|
| 37 |
|
|
|
|
| 38 |
### 1) Install
|
| 39 |
-
|
| 40 |
```bash
|
| 41 |
-
pip install
|
| 42 |
```
|
| 43 |
|
| 44 |
### 2) Load base model and LoRA adapter
|
| 45 |
-
|
| 46 |
```python
|
| 47 |
import torch
|
| 48 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 49 |
from peft import PeftModel
|
| 50 |
|
| 51 |
-
base_id = "Qwen/Qwen2.5-32B-Instruct"
|
| 52 |
lora_id = "Yukyin/deepsupport-warm-lora-oss"
|
| 53 |
|
| 54 |
tokenizer = AutoTokenizer.from_pretrained(base_id, trust_remote_code=True)
|
|
@@ -87,31 +75,23 @@ with torch.no_grad():
|
|
| 87 |
print(tokenizer.decode(out[0], skip_special_tokens=True))
|
| 88 |
```
|
| 89 |
|
| 90 |
-
---
|
| 91 |
|
| 92 |
## Training data and release notes π
|
| 93 |
-
|
| 94 |
- This OSS LoRA adapter is trained on de-identified versions of the original data.
|
| 95 |
- The original internal LoRA adapter was trained on non-de-identified data and cannot be open-sourced at this time.
|
| 96 |
- More details and examples are provided in the [GitHub repo](https://github.com/Yukyin/DeepSupport).
|
| 97 |
|
| 98 |
-
---
|
| 99 |
|
| 100 |
## Safety and privacy β οΈ
|
| 101 |
-
|
| 102 |
This project is intended for supportive conversation only.
|
| 103 |
It does not provide professional advice, diagnosis, or therapy. Please seek qualified professional help when needed.
|
| 104 |
|
| 105 |
-
---
|
| 106 |
|
| 107 |
## License π
|
| 108 |
-
|
| 109 |
This adapter is released for noncommercial use. See the [GitHub repo](https://github.com/Yukyin/DeepSupport) for the full license text and commercial licensing terms.
|
| 110 |
|
| 111 |
-
---
|
| 112 |
|
| 113 |
## Citation π
|
| 114 |
-
|
| 115 |
```bibtex
|
| 116 |
@software{deepsupport_warm_2026,
|
| 117 |
author = {Yuyan Chen},
|
|
@@ -122,9 +102,6 @@ This adapter is released for noncommercial use. See the [GitHub repo](https://gi
|
|
| 122 |
}
|
| 123 |
```
|
| 124 |
|
| 125 |
-
---
|
| 126 |
-
|
| 127 |
## Links
|
| 128 |
-
|
| 129 |
- GitHub: https://github.com/Yukyin/DeepSupport
|
| 130 |
- LoRA adapter: https://huggingface.co/Yukyin/deepsupport-warm-lora-oss
|
|
|
|
| 12 |
- conversational
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# DeepSupport Warm β€οΈβπ©Ή - LoRA adapter
|
|
|
|
| 16 |
This repository provides a LoRA adapter for DeepSupport Warm, an emotional-holding companion that offers gentle reflection and warm support without rushing into what to do next.
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
## What it does β¨
|
|
|
|
| 19 |
DeepSupport Warm is designed to help users feel held and less alone in the moment:
|
| 20 |
|
| 21 |
- Validate and name feelings without judging
|
| 22 |
- Stay with emotion first, before problem-solving
|
| 23 |
- Offer gentle grounding and a small next step only if the user wants it
|
| 24 |
|
|
|
|
| 25 |
|
|
|
|
| 26 |
|
| 27 |
+
## Quick start π
|
| 28 |
### 1) Install
|
|
|
|
| 29 |
```bash
|
| 30 |
+
pip install transformers peft accelerate torch
|
| 31 |
```
|
| 32 |
|
| 33 |
### 2) Load base model and LoRA adapter
|
|
|
|
| 34 |
```python
|
| 35 |
import torch
|
| 36 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 37 |
from peft import PeftModel
|
| 38 |
|
| 39 |
+
base_id = "Qwen/Qwen2.5-32B-Instruct" # Base model we used. You may replace it with another compatible base model
|
| 40 |
lora_id = "Yukyin/deepsupport-warm-lora-oss"
|
| 41 |
|
| 42 |
tokenizer = AutoTokenizer.from_pretrained(base_id, trust_remote_code=True)
|
|
|
|
| 75 |
print(tokenizer.decode(out[0], skip_special_tokens=True))
|
| 76 |
```
|
| 77 |
|
|
|
|
| 78 |
|
| 79 |
## Training data and release notes π
|
|
|
|
| 80 |
- This OSS LoRA adapter is trained on de-identified versions of the original data.
|
| 81 |
- The original internal LoRA adapter was trained on non-de-identified data and cannot be open-sourced at this time.
|
| 82 |
- More details and examples are provided in the [GitHub repo](https://github.com/Yukyin/DeepSupport).
|
| 83 |
|
|
|
|
| 84 |
|
| 85 |
## Safety and privacy β οΈ
|
|
|
|
| 86 |
This project is intended for supportive conversation only.
|
| 87 |
It does not provide professional advice, diagnosis, or therapy. Please seek qualified professional help when needed.
|
| 88 |
|
|
|
|
| 89 |
|
| 90 |
## License π
|
|
|
|
| 91 |
This adapter is released for noncommercial use. See the [GitHub repo](https://github.com/Yukyin/DeepSupport) for the full license text and commercial licensing terms.
|
| 92 |
|
|
|
|
| 93 |
|
| 94 |
## Citation π
|
|
|
|
| 95 |
```bibtex
|
| 96 |
@software{deepsupport_warm_2026,
|
| 97 |
author = {Yuyan Chen},
|
|
|
|
| 102 |
}
|
| 103 |
```
|
| 104 |
|
|
|
|
|
|
|
| 105 |
## Links
|
|
|
|
| 106 |
- GitHub: https://github.com/Yukyin/DeepSupport
|
| 107 |
- LoRA adapter: https://huggingface.co/Yukyin/deepsupport-warm-lora-oss
|