lukahh commited on
Commit
dfe7fca
·
verified ·
1 Parent(s): 6ebec62

End of training

Browse files
README.md CHANGED
@@ -14,6 +14,8 @@ should probably proofread and complete it, then remove this comment. -->
14
  # clip_finetune_0207
15
 
16
  This model is a fine-tuned version of [openai/clip-vit-base-patch32](https://huggingface.co/openai/clip-vit-base-patch32) on an unknown dataset.
 
 
17
 
18
  ## Model description
19
 
 
14
  # clip_finetune_0207
15
 
16
  This model is a fine-tuned version of [openai/clip-vit-base-patch32](https://huggingface.co/openai/clip-vit-base-patch32) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.3411
19
 
20
  ## Model description
21
 
all_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_loss": 0.34109967947006226,
4
+ "eval_runtime": 382.2208,
5
+ "eval_samples_per_second": 15.219,
6
+ "eval_steps_per_second": 1.905,
7
+ "total_flos": 3.031314932000124e+16,
8
+ "train_loss": 0.4382253171182146,
9
+ "train_runtime": 35381.4579,
10
+ "train_samples_per_second": 14.729,
11
+ "train_steps_per_second": 0.058
12
+ }
eval_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_loss": 0.34109967947006226,
4
+ "eval_runtime": 382.2208,
5
+ "eval_samples_per_second": 15.219,
6
+ "eval_steps_per_second": 1.905
7
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 224
26
+ }
27
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "49406": {
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49407": {
13
+ "content": "<|endoftext|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "bos_token": "<|startoftext|>",
22
+ "clean_up_tokenization_spaces": false,
23
+ "do_lower_case": true,
24
+ "eos_token": "<|endoftext|>",
25
+ "errors": "replace",
26
+ "extra_special_tokens": {},
27
+ "model_max_length": 77,
28
+ "pad_token": "<|endoftext|>",
29
+ "tokenizer_class": "CLIPTokenizer",
30
+ "unk_token": "<|endoftext|>"
31
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "total_flos": 3.031314932000124e+16,
4
+ "train_loss": 0.4382253171182146,
5
+ "train_runtime": 35381.4579,
6
+ "train_samples_per_second": 14.729,
7
+ "train_steps_per_second": 0.058
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 10.0,
5
+ "eval_steps": 500.0,
6
+ "global_step": 2040,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 2.450980392156863,
13
+ "grad_norm": 32.19416046142578,
14
+ "learning_rate": 1.5e-05,
15
+ "loss": 1.0988,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 4.901960784313726,
20
+ "grad_norm": 32.49726867675781,
21
+ "learning_rate": 3e-05,
22
+ "loss": 0.4341,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 7.352941176470588,
27
+ "grad_norm": 9.985998153686523,
28
+ "learning_rate": 1.557692307692308e-05,
29
+ "loss": 0.2037,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 9.803921568627452,
34
+ "grad_norm": 7.020397663116455,
35
+ "learning_rate": 1.153846153846154e-06,
36
+ "loss": 0.0495,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 10.0,
41
+ "step": 2040,
42
+ "total_flos": 3.031314932000124e+16,
43
+ "train_loss": 0.4382253171182146,
44
+ "train_runtime": 35381.4579,
45
+ "train_samples_per_second": 14.729,
46
+ "train_steps_per_second": 0.058
47
+ }
48
+ ],
49
+ "logging_steps": 500,
50
+ "max_steps": 2040,
51
+ "num_input_tokens_seen": 0,
52
+ "num_train_epochs": 10,
53
+ "save_steps": 1000,
54
+ "stateful_callbacks": {
55
+ "TrainerControl": {
56
+ "args": {
57
+ "should_epoch_stop": false,
58
+ "should_evaluate": false,
59
+ "should_log": false,
60
+ "should_save": true,
61
+ "should_training_stop": true
62
+ },
63
+ "attributes": {}
64
+ }
65
+ },
66
+ "total_flos": 3.031314932000124e+16,
67
+ "train_batch_size": 256,
68
+ "trial_name": null,
69
+ "trial_params": null
70
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff