Update README.md
Browse files
README.md
CHANGED
@@ -4,4 +4,33 @@ datasets:
|
|
4 |
- cognitivecomputations/samantha-data
|
5 |
tags:
|
6 |
- qwen
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
- cognitivecomputations/samantha-data
|
5 |
tags:
|
6 |
- qwen
|
7 |
+
language:
|
8 |
+
- en
|
9 |
+
- zh
|
10 |
+
---
|
11 |
+
|
12 |
+
This my first attempt at finetuning the [Qwen 1.8B](https://huggingface.co/Qwen/Qwen-1_8B-Chat) model on samantha dataset. I've added a bit of my own stuff as well.
|
13 |
+
Give it a go and tell me what you think.
|
14 |
+
|
15 |
+
## Example:
|
16 |
+
```
|
17 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig
|
18 |
+
|
19 |
+
tokenizer = AutoTokenizer.from_pretrained("qwen-1_8b-samantha-chat", trust_remote_code=True)
|
20 |
+
model = AutoModelForCausalLM.from_pretrained("qwen-1_8b-samantha-chat", device_map="auto", trust_remote_code=True).eval()
|
21 |
+
response, history = model.chat(tokenizer, "How can we take care of our mental health every day?", history=None)
|
22 |
+
print(response)
|
23 |
+
```
|
24 |
+
|
25 |
+
## Response:
|
26 |
+
```
|
27 |
+
It's important to remember that everyone's needs and circumstances are different, so some strategies may work better for one person than another. However, there are several simple things you can do to help improve your mental well-being:
|
28 |
+
|
29 |
+
1. Establish healthy boundaries and prioritize self-care activities like exercise, meditation, or spending time with friends.
|
30 |
+
2. Practice active listening and empathize with others, as it can foster strong connections.
|
31 |
+
3. Build positive relationships by being open-minded and supportive in your interactions.
|
32 |
+
4. Engage in activities that bring you joy, such as creative pursuits, hobbies, or exploring new places.
|
33 |
+
|
34 |
+
By implementing these tips, you'll be able to maintain an optimal balance between personal development and your overall emotional well-being.
|
35 |
+
|
36 |
+
```
|