Upload folder using huggingface_hub
Browse files- README.md +22 -15
- all_results.json +10 -10
- config.json +5 -5
- eval_results.json +6 -6
- pytorch_model.bin +1 -1
- tokenizer.json +2 -2
- train_results.json +5 -5
- trainer_state.json +34 -40
- training_args.bin +2 -2
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
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss:
|
21 |
-
- Accuracy: 0.
|
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:
|
41 |
- train_batch_size: 16
|
42 |
-
- eval_batch_size:
|
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:
|
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 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss":
|
5 |
-
"eval_runtime":
|
6 |
"eval_samples": 3270,
|
7 |
-
"eval_samples_per_second":
|
8 |
-
"eval_steps_per_second":
|
9 |
-
"train_loss": 0.
|
10 |
-
"train_runtime":
|
11 |
"train_samples": 9427,
|
12 |
-
"train_samples_per_second":
|
13 |
-
"train_steps_per_second":
|
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": "
|
17 |
"hidden_size": 1024,
|
18 |
"id2label": {
|
19 |
-
"0": "
|
20 |
-
"1": "
|
21 |
},
|
22 |
"init_std": 0.02,
|
23 |
"label2id": {
|
24 |
-
"
|
25 |
-
"
|
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 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss":
|
5 |
-
"eval_runtime":
|
6 |
"eval_samples": 3270,
|
7 |
-
"eval_samples_per_second":
|
8 |
-
"eval_steps_per_second":
|
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:
|
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":
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
"strategy": {
|
11 |
-
"Fixed":
|
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 |
-
"train_loss": 0.
|
4 |
-
"train_runtime":
|
5 |
"train_samples": 9427,
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second":
|
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":
|
5 |
-
"global_step":
|
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.
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"eval_samples_per_second": 160.859,
|
16 |
-
"eval_steps_per_second": 5.067,
|
17 |
-
"step": 73
|
18 |
},
|
19 |
{
|
20 |
-
"epoch": 1.
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"eval_samples_per_second": 160.779,
|
25 |
-
"eval_steps_per_second": 5.064,
|
26 |
-
"step": 147
|
27 |
},
|
28 |
{
|
29 |
-
"epoch":
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"eval_samples_per_second": 160.674,
|
34 |
-
"eval_steps_per_second": 5.061,
|
35 |
-
"step": 221
|
36 |
},
|
37 |
{
|
38 |
-
"epoch": 3.
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"eval_samples_per_second": 160.582,
|
43 |
-
"eval_steps_per_second": 5.058,
|
44 |
-
"step": 292
|
45 |
},
|
46 |
{
|
47 |
-
"epoch":
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
|
52 |
-
|
53 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
55 |
],
|
56 |
-
"max_steps":
|
57 |
-
"num_train_epochs":
|
58 |
-
"total_flos":
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d27e70519ec88117f900ccffa31d3ba03a4c990cc12f6fba3abd1a46af73f1ec
|
3 |
+
size 3963
|