arpanl commited on
Commit
7d8e577
·
verified ·
1 Parent(s): aadf92d

Model save

Browse files
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - imagefolder
6
+ model-index:
7
+ - name: Fine-Tuned_Model3_training_for_2_class
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # Fine-Tuned_Model3_training_for_2_class
15
+
16
+ This model was trained from scratch on the imagefolder dataset.
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - learning_rate: 5e-05
36
+ - train_batch_size: 32
37
+ - eval_batch_size: 8
38
+ - seed: 42
39
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
40
+ - lr_scheduler_type: linear
41
+ - num_epochs: 10
42
+
43
+ ### Training results
44
+
45
+
46
+
47
+ ### Framework versions
48
+
49
+ - Transformers 4.38.1
50
+ - Pytorch 2.1.0+cu121
51
+ - Datasets 2.17.1
52
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/drive/MyDrive/Fine-Tuned_Model3_Transfer_learning",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "class_weights": {
8
+ "0": 1.0,
9
+ "1": 1.0,
10
+ "10": 1.0,
11
+ "2": 1.0,
12
+ "3": 1.0,
13
+ "4": 1.0,
14
+ "5": 0.0,
15
+ "6": 1.0,
16
+ "7": 1.0,
17
+ "8": 1.0,
18
+ "9": 1.0
19
+ },
20
+ "encoder_stride": 16,
21
+ "hidden_act": "gelu",
22
+ "hidden_dropout_prob": 0.0,
23
+ "hidden_size": 768,
24
+ "id2label": {
25
+ "0": "helicopter",
26
+ "1": "table"
27
+ },
28
+ "image_size": 224,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "helicopter": "0",
33
+ "table": "1"
34
+ },
35
+ "layer_norm_eps": 1e-12,
36
+ "model_type": "vit",
37
+ "num_attention_heads": 12,
38
+ "num_channels": 3,
39
+ "num_hidden_layers": 12,
40
+ "patch_size": 16,
41
+ "problem_type": "single_label_classification",
42
+ "qkv_bias": true,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.38.1"
45
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a34334eae6fcdffae9696862c4a0f2ac0cbbe10b023155a601b25bc47071b3dc
3
+ size 343223968
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": "ViTFeatureExtractor",
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/Feb22_06-52-04_c2f311ced6da/events.out.tfevents.1708584728.c2f311ced6da.34741.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39b706d896cfee9f5fb5ab916adb056fdf76e9a9b4e83921f5b73197298d2e10
3
+ size 4993
runs/Feb22_06-53-10_c2f311ced6da/events.out.tfevents.1708584800.c2f311ced6da.34741.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc4e08c632bf88db1d76eaa4361b54971b530f2f8ca44e79018d7aec5790a1a4
3
+ size 5339
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aff139604a50ff2bf4e819f270492316cf212d74d9d98d2291e39a3a338b5144
3
+ size 4984