SaiKrishnaBV
commited on
Commit
•
97603cc
1
Parent(s):
f3f6efa
Training completed! on ARC-Easy dataset
Browse files- README.md +60 -0
- all_results.json +8 -0
- config.json +26 -0
- eval_results.json +8 -0
- model.safetensors +3 -0
- runs/May13_09-32-16_SBANDLAP-M-VHRH/events.out.tfevents.1715572965.SBANDLAP-M-VHRH.60286.0 +3 -0
- runs/May13_09-54-13_SBANDLAP-M-VHRH/events.out.tfevents.1715574260.SBANDLAP-M-VHRH.67314.0 +3 -0
- runs/May13_09-54-13_SBANDLAP-M-VHRH/events.out.tfevents.1715574482.SBANDLAP-M-VHRH.67314.1 +3 -0
- runs/May13_10-02-31_SBANDLAP-M-VHRH/events.out.tfevents.1715574752.SBANDLAP-M-VHRH.69008.0 +3 -0
- runs/May13_10-02-31_SBANDLAP-M-VHRH/events.out.tfevents.1715574892.SBANDLAP-M-VHRH.69008.1 +3 -0
- runs/May14_06-07-03_SBANDLAP-M-VHRH/events.out.tfevents.1715647024.SBANDLAP-M-VHRH.10222.0 +3 -0
- runs/May14_06-07-03_SBANDLAP-M-VHRH/events.out.tfevents.1715647167.SBANDLAP-M-VHRH.10222.1 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- trainer_state.json +43 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: ai2_src-bert-finetuned-demo
|
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 |
+
# ai2_src-bert-finetuned-demo
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.2310
|
21 |
+
- Accuracy: 0.4550
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 4
|
42 |
+
- eval_batch_size: 4
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 1
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| 1.3247 | 1.0 | 561 | 1.2310 | 0.4550 |
|
53 |
+
|
54 |
+
|
55 |
+
### Framework versions
|
56 |
+
|
57 |
+
- Transformers 4.35.2
|
58 |
+
- Pytorch 2.1.0
|
59 |
+
- Datasets 2.15.0
|
60 |
+
- Tokenizers 0.15.0
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_accuracy": 0.45502644777297974,
|
4 |
+
"eval_loss": 1.2310103178024292,
|
5 |
+
"eval_runtime": 5.5564,
|
6 |
+
"eval_samples_per_second": 102.045,
|
7 |
+
"eval_steps_per_second": 25.556
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForMultipleChoice"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.35.2",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 30522
|
26 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_accuracy": 0.45502644777297974,
|
4 |
+
"eval_loss": 1.2310103178024292,
|
5 |
+
"eval_runtime": 5.5564,
|
6 |
+
"eval_samples_per_second": 102.045,
|
7 |
+
"eval_steps_per_second": 25.556
|
8 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:113943d983bb15a1b01878bf43e913558855aa04325a05154958d77c27ae6d83
|
3 |
+
size 437955572
|
runs/May13_09-32-16_SBANDLAP-M-VHRH/events.out.tfevents.1715572965.SBANDLAP-M-VHRH.60286.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:242136ea4ce710e61d8e19de0db10e7aa5c36009ae056dbf95cccd976abd4280
|
3 |
+
size 4250
|
runs/May13_09-54-13_SBANDLAP-M-VHRH/events.out.tfevents.1715574260.SBANDLAP-M-VHRH.67314.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69fab2d2204f358dcb68fd1310ed0a6ec572e99be56139ad323fb2aded2cb8a7
|
3 |
+
size 4927
|
runs/May13_09-54-13_SBANDLAP-M-VHRH/events.out.tfevents.1715574482.SBANDLAP-M-VHRH.67314.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:beecf6082ce751584f9c09d140ff38dd7e2dbb5f418ae10a8f3f359fae0cd42a
|
3 |
+
size 411
|
runs/May13_10-02-31_SBANDLAP-M-VHRH/events.out.tfevents.1715574752.SBANDLAP-M-VHRH.69008.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1377678f50bae3b6ea3294ec69b80367624b196f05e41887b6506e16767e1e6
|
3 |
+
size 5084
|
runs/May13_10-02-31_SBANDLAP-M-VHRH/events.out.tfevents.1715574892.SBANDLAP-M-VHRH.69008.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:166109bd2f23cf5c58eeb388e2fdfa588f87a03fcfb2b49a61a05ea88ab8e7fc
|
3 |
+
size 411
|
runs/May14_06-07-03_SBANDLAP-M-VHRH/events.out.tfevents.1715647024.SBANDLAP-M-VHRH.10222.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:239d4737c21529ca5f95c82447117739985fa6f3bca708aa71785adc824e1200
|
3 |
+
size 5084
|
runs/May14_06-07-03_SBANDLAP-M-VHRH/events.out.tfevents.1715647167.SBANDLAP-M-VHRH.10222.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c955c1a276c4ec3adeeeedddc3d18fbe509a10f89fb9d2e064a3f5e0c56cbc7
|
3 |
+
size 411
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 561,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.89,
|
13 |
+
"learning_rate": 5.436720142602496e-06,
|
14 |
+
"loss": 1.3247,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 1.0,
|
19 |
+
"eval_accuracy": 0.45502644777297974,
|
20 |
+
"eval_loss": 1.2310103178024292,
|
21 |
+
"eval_runtime": 9.9985,
|
22 |
+
"eval_samples_per_second": 56.708,
|
23 |
+
"eval_steps_per_second": 14.202,
|
24 |
+
"step": 561
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 1.0,
|
28 |
+
"step": 561,
|
29 |
+
"total_flos": 216400733375928.0,
|
30 |
+
"train_loss": 1.3082047596759763,
|
31 |
+
"train_runtime": 136.3321,
|
32 |
+
"train_samples_per_second": 16.438,
|
33 |
+
"train_steps_per_second": 4.115
|
34 |
+
}
|
35 |
+
],
|
36 |
+
"logging_steps": 500,
|
37 |
+
"max_steps": 561,
|
38 |
+
"num_train_epochs": 1,
|
39 |
+
"save_steps": 500,
|
40 |
+
"total_flos": 216400733375928.0,
|
41 |
+
"trial_name": null,
|
42 |
+
"trial_params": null
|
43 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eaf1d6163f629d4990fa845e057357c3adfc0ec6861e383ee97487d766259d3e
|
3 |
+
size 4600
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|