Cheng98 commited on
Commit
e6536dc
1 Parent(s): 1c411b9

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,13 +1,28 @@
1
  ---
 
 
2
  license: other
3
  base_model: facebook/opt-350m
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  model-index:
9
  - name: opt-350m-boolq
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # opt-350m-boolq
17
 
18
- This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co/facebook/opt-350m) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.8184
21
- - Accuracy: 0.6743
22
 
23
  ## Model description
24
 
@@ -37,24 +52,16 @@ More information needed
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
- - learning_rate: 5e-05
41
  - train_batch_size: 16
42
- - eval_batch_size: 32
43
  - seed: 42
44
- - gradient_accumulation_steps: 8
45
- - total_train_batch_size: 128
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: linear
48
- - num_epochs: 4
49
 
50
  ### Training results
51
 
52
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
54
- | No log | 0.99 | 73 | 0.7308 | 0.6217 |
55
- | No log | 1.99 | 147 | 0.6529 | 0.6159 |
56
- | No log | 3.0 | 221 | 0.6295 | 0.6844 |
57
- | No log | 3.96 | 292 | 0.8184 | 0.6743 |
58
 
59
 
60
  ### Framework versions
 
1
  ---
2
+ language:
3
+ - en
4
  license: other
5
  base_model: facebook/opt-350m
6
  tags:
7
  - generated_from_trainer
8
+ datasets:
9
+ - glue
10
  metrics:
11
  - accuracy
12
  model-index:
13
  - name: opt-350m-boolq
14
+ results:
15
+ - task:
16
+ name: Text Classification
17
+ type: text-classification
18
+ dataset:
19
+ name: GLUE BOOLQ
20
+ type: glue
21
+ args: boolq
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.6975535168195719
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
30
 
31
  # opt-350m-boolq
32
 
33
+ This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co/facebook/opt-350m) on the GLUE BOOLQ dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 2.2006
36
+ - Accuracy: 0.6976
37
 
38
  ## Model description
39
 
 
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
+ - learning_rate: 2e-05
56
  - train_batch_size: 16
57
+ - eval_batch_size: 8
58
  - seed: 42
 
 
59
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
  - lr_scheduler_type: linear
61
+ - num_epochs: 5.0
62
 
63
  ### Training results
64
 
 
 
 
 
 
 
65
 
66
 
67
  ### Framework versions
all_results.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
- "epoch": 3.96,
3
- "eval_accuracy": 0.6743119266055045,
4
- "eval_loss": 0.8184447884559631,
5
- "eval_runtime": 20.0092,
6
  "eval_samples": 3270,
7
- "eval_samples_per_second": 163.425,
8
- "eval_steps_per_second": 5.148,
9
- "train_loss": 0.5905772692536655,
10
- "train_runtime": 808.3468,
11
  "train_samples": 9427,
12
- "train_samples_per_second": 46.648,
13
- "train_steps_per_second": 0.361
14
  }
 
1
  {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.6975535168195719,
4
+ "eval_loss": 2.200601100921631,
5
+ "eval_runtime": 8.7053,
6
  "eval_samples": 3270,
7
+ "eval_samples_per_second": 375.632,
8
+ "eval_steps_per_second": 46.983,
9
+ "train_loss": 0.36301778308415816,
10
+ "train_runtime": 286.6652,
11
  "train_samples": 9427,
12
+ "train_samples_per_second": 164.425,
13
+ "train_steps_per_second": 10.291
14
  }
config.json CHANGED
@@ -13,16 +13,16 @@
13
  "enable_bias": true,
14
  "eos_token_id": 2,
15
  "ffn_dim": 4096,
16
- "finetuning_task": "text-classification",
17
  "hidden_size": 1024,
18
  "id2label": {
19
- "0": "0",
20
- "1": "1"
21
  },
22
  "init_std": 0.02,
23
  "label2id": {
24
- "0": 0,
25
- "1": 1
26
  },
27
  "layer_norm_elementwise_affine": true,
28
  "layerdrop": 0.0,
 
13
  "enable_bias": true,
14
  "eos_token_id": 2,
15
  "ffn_dim": 4096,
16
+ "finetuning_task": "boolq",
17
  "hidden_size": 1024,
18
  "id2label": {
19
+ "0": "False",
20
+ "1": "True"
21
  },
22
  "init_std": 0.02,
23
  "label2id": {
24
+ "False": 0,
25
+ "True": 1
26
  },
27
  "layer_norm_elementwise_affine": true,
28
  "layerdrop": 0.0,
eval_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 3.96,
3
- "eval_accuracy": 0.6743119266055045,
4
- "eval_loss": 0.8184447884559631,
5
- "eval_runtime": 20.0092,
6
  "eval_samples": 3270,
7
- "eval_samples_per_second": 163.425,
8
- "eval_steps_per_second": 5.148
9
  }
 
1
  {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.6975535168195719,
4
+ "eval_loss": 2.200601100921631,
5
+ "eval_runtime": 8.7053,
6
  "eval_samples": 3270,
7
+ "eval_samples_per_second": 375.632,
8
+ "eval_steps_per_second": 46.983
9
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:84a6a93adcfcb70e04216e6d803ce1a57eaae3fadb2a34d8bb71b6f7e52a7c15
3
  size 1324921569
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f39da6a4f3fb08f11e4661b20108331dbade5f4549ff096f0c35b1f6737e791
3
  size 1324921569
tokenizer.json CHANGED
@@ -2,13 +2,13 @@
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
- "max_length": 512,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
  "strategy": {
11
- "Fixed": 512
12
  },
13
  "direction": "Right",
14
  "pad_to_multiple_of": null,
 
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
+ "max_length": 128,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
  "strategy": {
11
+ "Fixed": 128
12
  },
13
  "direction": "Right",
14
  "pad_to_multiple_of": null,
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 3.96,
3
- "train_loss": 0.5905772692536655,
4
- "train_runtime": 808.3468,
5
  "train_samples": 9427,
6
- "train_samples_per_second": 46.648,
7
- "train_steps_per_second": 0.361
8
  }
 
1
  {
2
+ "epoch": 5.0,
3
+ "train_loss": 0.36301778308415816,
4
+ "train_runtime": 286.6652,
5
  "train_samples": 9427,
6
+ "train_samples_per_second": 164.425,
7
+ "train_steps_per_second": 10.291
8
  }
trainer_state.json CHANGED
@@ -1,61 +1,55 @@
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
- "epoch": 3.959322033898305,
5
- "global_step": 292,
6
  "is_hyper_param_search": false,
7
  "is_local_process_zero": true,
8
  "is_world_process_zero": true,
9
  "log_history": [
10
  {
11
- "epoch": 0.99,
12
- "eval_accuracy": 0.6217125382262997,
13
- "eval_loss": 0.7307831645011902,
14
- "eval_runtime": 20.3283,
15
- "eval_samples_per_second": 160.859,
16
- "eval_steps_per_second": 5.067,
17
- "step": 73
18
  },
19
  {
20
- "epoch": 1.99,
21
- "eval_accuracy": 0.6159021406727829,
22
- "eval_loss": 0.6529456377029419,
23
- "eval_runtime": 20.3385,
24
- "eval_samples_per_second": 160.779,
25
- "eval_steps_per_second": 5.064,
26
- "step": 147
27
  },
28
  {
29
- "epoch": 3.0,
30
- "eval_accuracy": 0.6844036697247706,
31
- "eval_loss": 0.6294939517974854,
32
- "eval_runtime": 20.3517,
33
- "eval_samples_per_second": 160.674,
34
- "eval_steps_per_second": 5.061,
35
- "step": 221
36
  },
37
  {
38
- "epoch": 3.96,
39
- "eval_accuracy": 0.6743119266055045,
40
- "eval_loss": 0.8184447884559631,
41
- "eval_runtime": 20.3635,
42
- "eval_samples_per_second": 160.582,
43
- "eval_steps_per_second": 5.058,
44
- "step": 292
45
  },
46
  {
47
- "epoch": 3.96,
48
- "step": 292,
49
- "total_flos": 3.4795051274993664e+16,
50
- "train_loss": 0.5905772692536655,
51
- "train_runtime": 808.3468,
52
- "train_samples_per_second": 46.648,
53
- "train_steps_per_second": 0.361
 
 
 
 
 
 
54
  }
55
  ],
56
- "max_steps": 292,
57
- "num_train_epochs": 4,
58
- "total_flos": 3.4795051274993664e+16,
59
  "trial_name": null,
60
  "trial_params": null
61
  }
 
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
+ "epoch": 5.0,
5
+ "global_step": 2950,
6
  "is_hyper_param_search": false,
7
  "is_local_process_zero": true,
8
  "is_world_process_zero": true,
9
  "log_history": [
10
  {
11
+ "epoch": 0.85,
12
+ "learning_rate": 1.663050847457627e-05,
13
+ "loss": 0.7248,
14
+ "step": 500
 
 
 
15
  },
16
  {
17
+ "epoch": 1.69,
18
+ "learning_rate": 1.3240677966101696e-05,
19
+ "loss": 0.5954,
20
+ "step": 1000
 
 
 
21
  },
22
  {
23
+ "epoch": 2.54,
24
+ "learning_rate": 9.85084745762712e-06,
25
+ "loss": 0.4047,
26
+ "step": 1500
 
 
 
27
  },
28
  {
29
+ "epoch": 3.39,
30
+ "learning_rate": 6.461016949152543e-06,
31
+ "loss": 0.2393,
32
+ "step": 2000
 
 
 
33
  },
34
  {
35
+ "epoch": 4.24,
36
+ "learning_rate": 3.0711864406779663e-06,
37
+ "loss": 0.1266,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 5.0,
42
+ "step": 2950,
43
+ "total_flos": 1.098149785632768e+16,
44
+ "train_loss": 0.36301778308415816,
45
+ "train_runtime": 286.6652,
46
+ "train_samples_per_second": 164.425,
47
+ "train_steps_per_second": 10.291
48
  }
49
  ],
50
+ "max_steps": 2950,
51
+ "num_train_epochs": 5,
52
+ "total_flos": 1.098149785632768e+16,
53
  "trial_name": null,
54
  "trial_params": null
55
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b02a1e90c22ba522739491abaa691dae02d224ee51efe1de4f38bb24a7214a28
3
- size 4155
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d27e70519ec88117f900ccffa31d3ba03a4c990cc12f6fba3abd1a46af73f1ec
3
+ size 3963