oskaralf commited on
Commit
2d4367e
·
1 Parent(s): a03b322

updated readme

Browse files
Files changed (1) hide show
  1. README.md +75 -1
README.md CHANGED
@@ -9,4 +9,78 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  ---
11
 
12
+ In this lab, different LLM's were trained through Google Colab. We mainly explored Llama-1B-Instruct, through different datasets, aiming to finetune the model into acting as a psychologist.
13
+
14
+ Ground models evaluated:
15
+ TinyLlama
16
+ smaller, faster, with around 1B parameters
17
+ not so good for sophisticated answers
18
+ Llama3.2 _1B_Instruct
19
+ Llama3.2 _3B_Instruct
20
+
21
+ Data sets used (from Huggingface)
22
+ mlabonne/FineTome-100k
23
+ wassimm/PsycologyDataset
24
+ samhog/psychology-10k
25
+
26
+ Evaluation method
27
+ Evaluating how well the Fine tuned model works as a psychology assistant
28
+ evaluating simply on different fine-tuned models how the same phrase performs on different fine-tuned models
29
+
30
+ Models:
31
+ oskaralf/tiny_merged
32
+ TinyLlama (4bit)
33
+ - Fine-tuned on FineTome-100k
34
+ Llama3.2_1B_4bit
35
+ Llama 3.2-1B-Instruct (4bit)
36
+ - Fine-tuned on FineTome-100k
37
+ Llama1B_psych_v2_merged
38
+ - Llama 3.2-1B-Instruct (4bit)
39
+ - Fine-tuned on samhog/psychology10K
40
+ - Lora r=8
41
+ Llama1B_psych_v3_merged
42
+ - Llama 3.2-1B-Instruct (4bit)
43
+ - Fine-tuned on samhog/psychology10K
44
+ - Lora r=16
45
+ - warm up steps: 10% of total steps
46
+ - learning rate 2x v2 model
47
+ - 4 epochs
48
+
49
+ To improve:
50
+ Model centric approach
51
+ change r=16 to higher dimension, for more complex LORA matrices, capturing more complex patterns
52
+ Using bigger model
53
+ Training more epochs
54
+ limited due to RAM and time constraint
55
+ Change learning rate
56
+
57
+
58
+ Comparison between different responses on a question:
59
+
60
+ “I have anxiety, what can I do?”
61
+ Llama1B_psych_v3_merged
62
+ ​​Here are some tips that I find helpful:
63
+ - Practice relaxation techniques, such as deep breathing, progressive muscle relaxation, and mindfulness meditation.
64
+ - Engage in physical activity, such as walking, running, or yoga, to release tension and improve mood.
65
+ - Seek social support from friends, family, or a therapist.
66
+ - Try to establish a daily routine and stick to it, even on days when I feel anxious.
67
+ - Learn to say "no" to things that trigger my anxiety and prioritize self-care
68
+ Llama1B_psych_v2_merged
69
+ I don't want to be anxious and I don't want to be stuck in this cycle of anxiety.
70
+
71
+
72
+ Firstly, please know that you're not alone. Many people struggle with anxiety, and it's not something to be ashamed of. You are doing the best you can, and that's something to be proud of.
73
+
74
+
75
+ Now, let's get to some practical tips to help you manage your anxiety:
76
+
77
+
78
+ 1. **Practice self-compassion**: Be kind to yourself. Acknowledge that it's
79
+ TinyMerged
80
+ I have been diagnosed with anxiety and depression. I have been taking medication for anxiety and depression for 2 years. I have been on medication for anxiety and depression for 2 years. I have been on medication for anxiety and depression for 2. I have been on medication for anxiety and depression for 2. I have been on medication for anxiety and depression for2. I have been medication anxiety
81
+ Llama1B_4bit
82
+ 1. Deep breathing exercises: I practice deep breathing exercises to calm my mind and body. I inhale deeply through my nose, hold it for a second, and exhale slowly through my mouth.
83
+ 2. Exercise: I try to exercise regularly to release endorphins that help me feel better. I start with small, manageable workouts and gradually increase the intensity and duration.
84
+ 3. Mindfulness: I practice mindfulness meditation to focus on the present moment
85
+
86
+