yazansh commited on
Commit
89b512d
·
1 Parent(s): 97b98bc

binary-19

Browse files
Files changed (6) hide show
  1. README.md +10 -10
  2. config.json +3 -3
  3. config.toml +5 -5
  4. pytorch_model.bin +1 -1
  5. tokenizer.json +1 -6
  6. training_args.bin +1 -1
README.md CHANGED
@@ -23,13 +23,13 @@ model-index:
23
  metrics:
24
  - name: F1
25
  type: f1
26
- value: 0.5023543990086741
27
  - name: Precision
28
  type: precision
29
- value: 0.33620832642229226
30
  - name: Recall
31
  type: recall
32
- value: 0.993140617344439
33
  ---
34
 
35
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -39,10 +39,10 @@ should probably proofread and complete it, then remove this comment. -->
39
 
40
  This model is a fine-tuned version of [thejosango/nuha-mlm](https://huggingface.co/thejosango/nuha-mlm) on the nuha-dataset dataset.
41
  It achieves the following results on the evaluation set:
42
- - Loss: 7.8973
43
- - F1: 0.5024
44
- - Precision: 0.3362
45
- - Recall: 0.9931
46
  - Support: None
47
 
48
  ## Model description
@@ -62,7 +62,7 @@ More information needed
62
  ### Training hyperparameters
63
 
64
  The following hyperparameters were used during training:
65
- - learning_rate: 3e-05
66
  - train_batch_size: 32
67
  - eval_batch_size: 32
68
  - seed: 42
@@ -78,8 +78,8 @@ The following hyperparameters were used during training:
78
 
79
  | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall | Support |
80
  |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|:-------:|
81
- | 6.0423 | 1.96 | 500 | 5.0312 | 0.5020 | 0.3358 | 0.9946 | None |
82
- | 4.545 | 3.92 | 1000 | 7.8973 | 0.5024 | 0.3362 | 0.9931 | None |
83
 
84
 
85
  ### Framework versions
 
23
  metrics:
24
  - name: F1
25
  type: f1
26
+ value: 0.6530426884650318
27
  - name: Precision
28
  type: precision
29
+ value: 0.6085484553533643
30
  - name: Recall
31
  type: recall
32
+ value: 0.7045565899069084
33
  ---
34
 
35
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
39
 
40
  This model is a fine-tuned version of [thejosango/nuha-mlm](https://huggingface.co/thejosango/nuha-mlm) on the nuha-dataset dataset.
41
  It achieves the following results on the evaluation set:
42
+ - Loss: 0.8029
43
+ - F1: 0.6530
44
+ - Precision: 0.6085
45
+ - Recall: 0.7046
46
  - Support: None
47
 
48
  ## Model description
 
62
  ### Training hyperparameters
63
 
64
  The following hyperparameters were used during training:
65
+ - learning_rate: 2e-05
66
  - train_batch_size: 32
67
  - eval_batch_size: 32
68
  - seed: 42
 
78
 
79
  | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall | Support |
80
  |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|:-------:|
81
+ | 2.4774 | 1.96 | 500 | 0.8233 | 0.6241 | 0.6118 | 0.6369 | None |
82
+ | 1.4697 | 3.92 | 1000 | 0.8029 | 0.6530 | 0.6085 | 0.7046 | None |
83
 
84
 
85
  ### Framework versions
config.json CHANGED
@@ -3,11 +3,11 @@
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.5,
7
- "classifier_dropout": 0.5,
8
  "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.5,
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "non-hate-speech",
 
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.2,
7
+ "classifier_dropout": 0.2,
8
  "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.2,
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "non-hate-speech",
config.toml CHANGED
@@ -1,5 +1,5 @@
1
  [experiment]
2
- name = "binary-18"
3
  type = "binary"
4
 
5
 
@@ -13,9 +13,9 @@ augment_ratio = 0.0
13
  [model]
14
  pretrained_model_name_or_path = "thejosango/nuha-mlm"
15
  revision = "984ac09880b24959f6767fdbea8757d2c312df46"
16
- hidden_dropout_prob = 0.5
17
- attention_probs_dropout_prob = 0.5
18
- classifier_dropout = 0.5
19
  #num_hidden_layers = 6
20
  #num_attention_heads = 12
21
  #hidden_size = 768
@@ -26,7 +26,7 @@ classifier_dropout = 0.5
26
  num_train_epochs = 5
27
  warmup_steps = 1e3
28
  lr_scheduler_type = "constant"
29
- learning_rate = 3e-5
30
  per_device_train_batch_size = 32
31
  per_device_eval_batch_size = 32
32
  gradient_accumulation_steps = 4
 
1
  [experiment]
2
+ name = "binary-19"
3
  type = "binary"
4
 
5
 
 
13
  [model]
14
  pretrained_model_name_or_path = "thejosango/nuha-mlm"
15
  revision = "984ac09880b24959f6767fdbea8757d2c312df46"
16
+ hidden_dropout_prob = 0.2
17
+ attention_probs_dropout_prob = 0.2
18
+ classifier_dropout = 0.2
19
  #num_hidden_layers = 6
20
  #num_attention_heads = 12
21
  #hidden_size = 768
 
26
  num_train_epochs = 5
27
  warmup_steps = 1e3
28
  lr_scheduler_type = "constant"
29
+ learning_rate = 2e-5
30
  per_device_train_batch_size = 32
31
  per_device_eval_batch_size = 32
32
  gradient_accumulation_steps = 4
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f2120e451b3207731f3ea2482404e5e855e15e0cdc2ec9d891e3cbc362bc96c
3
  size 540847921
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc1bc316b8ec21345ca7b68f4f5e1ff972ee277d8934a345c4f0e321bbdb6caf
3
  size 540847921
tokenizer.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 512,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
  "padding": null,
10
  "added_tokens": [
11
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0ad45f0d683378bbfdda4cdb0210bb80501d2ea5059e9e98d9f3d786101f9476
3
  size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7678c7883253885dd4899d12b63604ea424b6184cc5ea0bc7dba8a4c6c4b86b
3
  size 4091