wcyat commited on
Commit
3caf5bd
1 Parent(s): 7d1693a

Model save

Browse files
README.md CHANGED
@@ -1,24 +1,24 @@
1
  ---
2
- license: cc-by-4.0
3
- base_model: indiejoseph/bert-base-cantonese
4
  tags:
5
  - generated_from_trainer
6
  metrics:
7
  - accuracy
8
  model-index:
9
- - name: bert-suicide-detection-hk
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
- # bert-suicide-detection-hk
17
 
18
- This model is a fine-tuned version of [indiejoseph/bert-base-cantonese](https://huggingface.co/indiejoseph/bert-base-cantonese) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.0002
21
- - Accuracy: 1.0
22
 
23
  ## Model description
24
 
@@ -47,40 +47,40 @@ The following hyperparameters were used during training:
47
 
48
  ### Training results
49
 
50
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
- |:-------------:|:------:|:----:|:---------------:|:--------:|
52
- | 0.3468 | 0.1852 | 20 | 0.2052 | 0.9020 |
53
- | 0.2089 | 0.3704 | 40 | 0.1276 | 0.9216 |
54
- | 0.214 | 0.5556 | 60 | 0.0251 | 0.9804 |
55
- | 0.0807 | 0.7407 | 80 | 0.0165 | 0.9804 |
56
- | 0.1064 | 0.9259 | 100 | 0.0031 | 1.0 |
57
- | 0.0134 | 1.1111 | 120 | 0.0025 | 1.0 |
58
- | 0.0349 | 1.2963 | 140 | 0.0007 | 1.0 |
59
- | 0.0819 | 1.4815 | 160 | 0.0706 | 0.9608 |
60
- | 0.0586 | 1.6667 | 180 | 0.0005 | 1.0 |
61
- | 0.0368 | 1.8519 | 200 | 0.0005 | 1.0 |
62
- | 0.0485 | 2.0370 | 220 | 0.0031 | 1.0 |
63
- | 0.017 | 2.2222 | 240 | 0.0003 | 1.0 |
64
- | 0.0017 | 2.4074 | 260 | 0.0021 | 1.0 |
65
- | 0.0004 | 2.5926 | 280 | 0.0004 | 1.0 |
66
- | 0.0444 | 2.7778 | 300 | 0.0003 | 1.0 |
67
- | 0.0005 | 2.9630 | 320 | 0.0003 | 1.0 |
68
- | 0.0003 | 3.1481 | 340 | 0.0002 | 1.0 |
69
- | 0.0238 | 3.3333 | 360 | 0.0003 | 1.0 |
70
- | 0.0003 | 3.5185 | 380 | 0.0002 | 1.0 |
71
- | 0.0003 | 3.7037 | 400 | 0.0002 | 1.0 |
72
- | 0.0003 | 3.8889 | 420 | 0.0002 | 1.0 |
73
- | 0.0007 | 4.0741 | 440 | 0.0002 | 1.0 |
74
- | 0.0002 | 4.2593 | 460 | 0.0002 | 1.0 |
75
- | 0.0003 | 4.4444 | 480 | 0.0002 | 1.0 |
76
- | 0.0002 | 4.6296 | 500 | 0.0002 | 1.0 |
77
- | 0.0002 | 4.8148 | 520 | 0.0002 | 1.0 |
78
- | 0.0002 | 5.0 | 540 | 0.0002 | 1.0 |
79
 
80
 
81
  ### Framework versions
82
 
83
- - Transformers 4.41.1
84
  - Pytorch 2.1.2
85
- - Datasets 2.19.1
86
- - Tokenizers 0.19.1
 
1
  ---
2
+ license: mit
3
+ base_model: FacebookAI/xlm-roberta-large
4
  tags:
5
  - generated_from_trainer
6
  metrics:
7
  - accuracy
8
  model-index:
9
+ - name: roberta-suicide-detection-hk
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
+ # roberta-suicide-detection-hk
17
 
18
+ This model is a fine-tuned version of [FacebookAI/xlm-roberta-large](https://huggingface.co/FacebookAI/xlm-roberta-large) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.1628
21
+ - Accuracy: 0.9608
22
 
23
  ## Model description
24
 
 
47
 
48
  ### Training results
49
 
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.6783 | 0.19 | 20 | 0.5885 | 0.7451 |
53
+ | 0.7304 | 0.37 | 40 | 0.6978 | 0.7059 |
54
+ | 0.6086 | 0.56 | 60 | 0.4823 | 0.7255 |
55
+ | 0.5071 | 0.74 | 80 | 0.5564 | 0.7059 |
56
+ | 0.5933 | 0.93 | 100 | 0.5993 | 0.6667 |
57
+ | 0.6311 | 1.11 | 120 | 0.6531 | 0.7059 |
58
+ | 0.5867 | 1.3 | 140 | 0.6158 | 0.4510 |
59
+ | 0.6845 | 1.48 | 160 | 0.5851 | 0.7059 |
60
+ | 0.7479 | 1.67 | 180 | 0.6134 | 0.7059 |
61
+ | 0.573 | 1.85 | 200 | 0.5972 | 0.7059 |
62
+ | 0.6183 | 2.04 | 220 | 0.5631 | 0.7059 |
63
+ | 0.657 | 2.22 | 240 | 0.6166 | 0.7059 |
64
+ | 0.7293 | 2.41 | 260 | 0.5851 | 0.7059 |
65
+ | 0.6215 | 2.59 | 280 | 0.4603 | 0.7647 |
66
+ | 0.3509 | 2.78 | 300 | 0.6292 | 0.7647 |
67
+ | 0.3484 | 2.96 | 320 | 0.6770 | 0.8431 |
68
+ | 0.3279 | 3.15 | 340 | 0.1123 | 0.9608 |
69
+ | 0.4096 | 3.33 | 360 | 0.1380 | 0.9804 |
70
+ | 0.3626 | 3.52 | 380 | 0.4317 | 0.9216 |
71
+ | 0.2809 | 3.7 | 400 | 0.1681 | 0.9804 |
72
+ | 0.5547 | 3.89 | 420 | 0.1194 | 0.9804 |
73
+ | 0.3751 | 4.07 | 440 | 0.2943 | 0.9216 |
74
+ | 0.1131 | 4.26 | 460 | 0.0558 | 0.9804 |
75
+ | 0.182 | 4.44 | 480 | 0.1463 | 0.9608 |
76
+ | 0.2991 | 4.63 | 500 | 0.2800 | 0.9608 |
77
+ | 0.2471 | 4.81 | 520 | 0.2261 | 0.9608 |
78
+ | 0.1022 | 5.0 | 540 | 0.1628 | 0.9608 |
79
 
80
 
81
  ### Framework versions
82
 
83
+ - Transformers 4.39.3
84
  - Pytorch 2.1.2
85
+ - Datasets 2.18.0
86
+ - Tokenizers 0.15.2
runs/May29_10-15-34_d69883b8441d/events.out.tfevents.1716977735.d69883b8441d.34.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a02e0a26916195d7f638149e1d59428af4a90d846b0f238c01deffee6dd774ed
3
- size 18061
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee2db1c4a0422b6651fdb9795e5eee36fbf72f86cc276e3ae94ae078701703f9
3
+ size 19483