karangupta224 commited on
Commit
112cb85
·
verified ·
1 Parent(s): 7e56de8

Model save

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ base_model: mental/mental-roberta-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: mental_roberta_depression
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # mental_roberta_depression
20
+
21
+ This model is a fine-tuned version of [mental/mental-roberta-base](https://huggingface.co/mental/mental-roberta-base) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.4635
24
+ - Accuracy: 0.7674
25
+ - F1: 0.8684
26
+ - Precision: 0.7674
27
+ - Recall: 1.0
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 4
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - gradient_accumulation_steps: 16
51
+ - total_train_batch_size: 64
52
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
+ - lr_scheduler_type: linear
54
+ - lr_scheduler_warmup_steps: 500
55
+ - num_epochs: 4
56
+ - mixed_precision_training: Native AMP
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
61
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
62
+ | 0.7217 | 0.96 | 15 | 0.7036 | 0.3140 | 0.2680 | 0.7397 | 0.1636 |
63
+ | 0.6899 | 1.98 | 31 | 0.6406 | 0.7744 | 0.8715 | 0.7741 | 0.9970 |
64
+ | 0.5867 | 3.0 | 47 | 0.5256 | 0.7674 | 0.8684 | 0.7674 | 1.0 |
65
+ | 0.5043 | 3.82 | 60 | 0.4635 | 0.7674 | 0.8684 | 0.7674 | 1.0 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.39.1
71
+ - Pytorch 2.2.1+cu121
72
+ - Datasets 2.18.0
73
+ - Tokenizers 0.15.2