DrishtiSharma
commited on
Commit
•
2d9ae18
1
Parent(s):
41bb1a8
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- trl
|
5 |
+
- sft
|
6 |
+
- generated_from_trainer
|
7 |
+
base_model: NousResearch/Llama-2-7b-chat-hf
|
8 |
+
model-index:
|
9 |
+
- name: llama2-7b-chat-hf-mental-health
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# llama2-7b-chat-hf-mental-health
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [NousResearch/Llama-2-7b-chat-hf](https://huggingface.co/NousResearch/Llama-2-7b-chat-hf) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 2.1739
|
21 |
+
- Rouge Scores: {'rouge1': 0.9084397097988796, 'rouge2': 0.8277762468999725, 'rougeL': 0.5895858205528516, 'rougeLsum': 0.9084397097988796}
|
22 |
+
- Bleu Scores: [0.8523376774091347, 0.8462340921367671, 0.8321568176562063, 0.8159562219906903]
|
23 |
+
- Gen Len: 2048.0
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0002
|
43 |
+
- train_batch_size: 6
|
44 |
+
- eval_batch_size: 4
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: cosine
|
48 |
+
- num_epochs: 4
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge Scores | Bleu Scores | Gen Len |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------------------------------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------:|:-------:|
|
54 |
+
| 2.1953 | 1.0 | 1 | 2.2184 | {'rouge1': 0.9199491740787802, 'rouge2': 0.8318809005083514, 'rougeL': 0.5854056997640226, 'rougeLsum': 0.9199491740787802} | [0.8715254358896543, 0.8659211417516524, 0.8510857228959539, 0.833791158779687] | 2048.0 |
|
55 |
+
| 2.0231 | 2.0 | 2 | 2.1936 | {'rouge1': 0.9096744612563045, 'rouge2': 0.8254608823259653, 'rougeL': 0.5872535534158643, 'rougeLsum': 0.9096744612563045} | [0.8550666362510422, 0.8491213000075178, 0.834566911154976, 0.8177171754641129] | 2048.0 |
|
56 |
+
| 1.932 | 3.0 | 3 | 2.1790 | {'rouge1': 0.9083394562821455, 'rouge2': 0.8271173984934778, 'rougeL': 0.5857825128581924, 'rougeLsum': 0.9083394562821455} | [0.8523376774091347, 0.8462340921367671, 0.8321568176562063, 0.8159562219906903] | 2048.0 |
|
57 |
+
| 1.8681 | 4.0 | 4 | 2.1739 | {'rouge1': 0.9084397097988796, 'rouge2': 0.8277762468999725, 'rougeL': 0.5895858205528516, 'rougeLsum': 0.9084397097988796} | [0.8523376774091347, 0.8462340921367671, 0.8321568176562063, 0.8159562219906903] | 2048.0 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- PEFT 0.9.1.dev0
|
63 |
+
- Transformers 4.39.0.dev0
|
64 |
+
- Pytorch 2.1.0+cu121
|
65 |
+
- Datasets 2.18.1.dev0
|
66 |
+
- Tokenizers 0.15.2
|