Spalne commited on
Commit
bba3669
1 Parent(s): aec4945

End of training

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224-in21k
5
+ tags:
6
+ - image-classification
7
+ - vision
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: vit-base-patch16-224-in21k
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # vit-base-patch16-224-in21k
18
+
19
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the chainyo/rvl-cdip dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - eval_loss: 2.7757
22
+ - eval_model_preparation_time: 0.0146
23
+ - eval_accuracy: 0.0567
24
+ - eval_runtime: 353.4287
25
+ - eval_samples_per_second: 135.812
26
+ - eval_steps_per_second: 2.122
27
+ - memory_allocated (GB): 0.79
28
+ - max_memory_allocated (GB): 0.87
29
+ - total_memory_available (GB): 94.62
30
+ - step: 0
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 5e-05
50
+ - train_batch_size: 8
51
+ - eval_batch_size: 64
52
+ - seed: 42
53
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-06
54
+ - lr_scheduler_type: linear
55
+ - num_epochs: 3.0
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.45.2
60
+ - Pytorch 2.4.0a0+git74cd574
61
+ - Datasets 3.0.2
62
+ - Tokenizers 0.20.1
all_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.056729166666666664,
3
+ "eval_loss": 2.775696277618408,
4
+ "eval_model_preparation_time": 0.0146,
5
+ "eval_runtime": 353.4287,
6
+ "eval_samples_per_second": 135.812,
7
+ "eval_steps_per_second": 2.122,
8
+ "max_memory_allocated (GB)": 0.87,
9
+ "memory_allocated (GB)": 0.79,
10
+ "total_memory_available (GB)": 94.62
11
+ }
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "finetuning_task": "image-classification",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "advertisement",
14
+ "1": "budget",
15
+ "10": "presentation",
16
+ "11": "questionnaire",
17
+ "12": "resume",
18
+ "13": "scientific publication",
19
+ "14": "scientific report",
20
+ "15": "specification",
21
+ "2": "email",
22
+ "3": "file folder",
23
+ "4": "form",
24
+ "5": "handwritten",
25
+ "6": "invoice",
26
+ "7": "letter",
27
+ "8": "memo",
28
+ "9": "news article"
29
+ },
30
+ "image_size": 224,
31
+ "initializer_range": 0.02,
32
+ "intermediate_size": 3072,
33
+ "label2id": {
34
+ "advertisement": "0",
35
+ "budget": "1",
36
+ "email": "2",
37
+ "file folder": "3",
38
+ "form": "4",
39
+ "handwritten": "5",
40
+ "invoice": "6",
41
+ "letter": "7",
42
+ "memo": "8",
43
+ "news article": "9",
44
+ "presentation": "10",
45
+ "questionnaire": "11",
46
+ "resume": "12",
47
+ "scientific publication": "13",
48
+ "scientific report": "14",
49
+ "specification": "15"
50
+ },
51
+ "layer_norm_eps": 1e-12,
52
+ "model_type": "vit",
53
+ "num_attention_heads": 12,
54
+ "num_channels": 3,
55
+ "num_hidden_layers": 12,
56
+ "patch_size": 16,
57
+ "problem_type": "single_label_classification",
58
+ "qkv_bias": true,
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.45.2"
61
+ }
eval_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.056729166666666664,
3
+ "eval_loss": 2.775696277618408,
4
+ "eval_model_preparation_time": 0.0146,
5
+ "eval_runtime": 353.4287,
6
+ "eval_samples_per_second": 135.812,
7
+ "eval_steps_per_second": 2.122,
8
+ "max_memory_allocated (GB)": 0.87,
9
+ "memory_allocated (GB)": 0.79,
10
+ "total_memory_available (GB)": 94.62
11
+ }
gaudi_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "autocast_bf16_ops": null,
3
+ "autocast_fp32_ops": null,
4
+ "optimum_version": "1.23.2",
5
+ "transformers_version": "4.45.2",
6
+ "use_dynamic_shapes": false,
7
+ "use_fused_adam": true,
8
+ "use_fused_clip_norm": true,
9
+ "use_torch_autocast": true
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e19e27533b68b1a92962c45efb7747d6958b8e330b232bef39e45f6353f2b20b
3
+ size 343267040
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
runs/Oct28_23-08-57_800671-5/events.out.tfevents.1730157656.800671-5.179.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96e2cad9d97c18273adcc486eea98428da23d61b0e3deeee8f784b4b9935f9ed
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e49cc21d0f058e33b4fbc6d799a70bb4762616f306c373b3677965d4b36a53a
3
+ size 5048