jiequan commited on
Commit
9d425d2
·
verified ·
1 Parent(s): 3385290

End of training

Browse files
README.md CHANGED
@@ -2,7 +2,7 @@
2
  tags:
3
  - generated_from_trainer
4
  datasets:
5
- - coco_dataset_script
6
  model-index:
7
  - name: clip-roberta-finetuned
8
  results: []
@@ -13,7 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # clip-roberta-finetuned
15
 
16
- This model was trained from scratch on the coco_dataset_script dataset.
 
 
17
 
18
  ## Model description
19
 
 
2
  tags:
3
  - generated_from_trainer
4
  datasets:
5
+ - ydshieh/coco_dataset_script
6
  model-index:
7
  - name: clip-roberta-finetuned
8
  results: []
 
13
 
14
  # clip-roberta-finetuned
15
 
16
+ This model was trained from scratch on the ydshieh/coco_dataset_script 2017 dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.6024
19
 
20
  ## Model description
21
 
all_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 1.6024179458618164,
4
+ "eval_runtime": 220.1844,
5
+ "eval_samples_per_second": 96.905,
6
+ "eval_steps_per_second": 0.191,
7
+ "total_flos": 2.368703361024e+17,
8
+ "train_loss": 0.30996957313790807,
9
+ "train_runtime": 15330.9154,
10
+ "train_samples_per_second": 115.796,
11
+ "train_steps_per_second": 0.226
12
+ }
eval_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 1.6024179458618164,
4
+ "eval_runtime": 220.1844,
5
+ "eval_samples_per_second": 96.905,
6
+ "eval_steps_per_second": 0.191
7
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "CLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "processor_class": "VisionTextDualEncoderProcessor",
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "shortest_edge": 224
27
+ }
28
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 512,
52
+ "pad_token": "<pad>",
53
+ "processor_class": "VisionTextDualEncoderProcessor",
54
+ "sep_token": "</s>",
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": "<unk>"
58
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 2.368703361024e+17,
4
+ "train_loss": 0.30996957313790807,
5
+ "train_runtime": 15330.9154,
6
+ "train_samples_per_second": 115.796,
7
+ "train_steps_per_second": 0.226
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3465,
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.4329004329004329,
13
+ "grad_norm": 5.537757873535156,
14
+ "learning_rate": 4.278499278499279e-05,
15
+ "loss": 0.7119,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.8658008658008658,
20
+ "grad_norm": 4.387680530548096,
21
+ "learning_rate": 3.556998556998557e-05,
22
+ "loss": 0.3833,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 1.2987012987012987,
27
+ "grad_norm": 3.637988328933716,
28
+ "learning_rate": 2.8354978354978357e-05,
29
+ "loss": 0.2849,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 1.7316017316017316,
34
+ "grad_norm": 3.036390781402588,
35
+ "learning_rate": 2.113997113997114e-05,
36
+ "loss": 0.2441,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 2.1645021645021645,
41
+ "grad_norm": 2.361323356628418,
42
+ "learning_rate": 1.3924963924963927e-05,
43
+ "loss": 0.2078,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 2.5974025974025974,
48
+ "grad_norm": 2.214087963104248,
49
+ "learning_rate": 6.709956709956711e-06,
50
+ "loss": 0.1685,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 3.0,
55
+ "step": 3465,
56
+ "total_flos": 2.368703361024e+17,
57
+ "train_loss": 0.30996957313790807,
58
+ "train_runtime": 15330.9154,
59
+ "train_samples_per_second": 115.796,
60
+ "train_steps_per_second": 0.226
61
+ }
62
+ ],
63
+ "logging_steps": 500,
64
+ "max_steps": 3465,
65
+ "num_input_tokens_seen": 0,
66
+ "num_train_epochs": 3,
67
+ "save_steps": 500,
68
+ "stateful_callbacks": {
69
+ "TrainerControl": {
70
+ "args": {
71
+ "should_epoch_stop": false,
72
+ "should_evaluate": false,
73
+ "should_log": false,
74
+ "should_save": true,
75
+ "should_training_stop": true
76
+ },
77
+ "attributes": {}
78
+ }
79
+ },
80
+ "total_flos": 2.368703361024e+17,
81
+ "train_batch_size": 512,
82
+ "trial_name": null,
83
+ "trial_params": null
84
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff