gabrielmorin commited on
Commit
e3c8f50
1 Parent(s): ba4c198

Training in progress, epoch 1

Browse files
Files changed (4) hide show
  1. config.json +18 -17
  2. model.safetensors +2 -2
  3. preprocessor_config.json +10 -15
  4. training_args.bin +1 -1
config.json CHANGED
@@ -1,8 +1,13 @@
1
  {
2
- "_name_or_path": "openai/clip-vit-base-patch32",
3
  "architectures": [
4
- "CLIPForImageClassification"
5
  ],
 
 
 
 
 
6
  "id2label": {
7
  "0": "1",
8
  "1": "2",
@@ -10,7 +15,9 @@
10
  "3": "4",
11
  "4": "5"
12
  },
13
- "initializer_factor": 1.0,
 
 
14
  "label2id": {
15
  "1": "0",
16
  "2": "1",
@@ -18,20 +25,14 @@
18
  "4": "3",
19
  "5": "4"
20
  },
21
- "logit_scale_init_value": 2.6592,
22
- "model_type": "clip",
 
 
 
 
23
  "problem_type": "single_label_classification",
24
- "projection_dim": 512,
25
- "text_config": {
26
- "bos_token_id": 0,
27
- "dropout": 0.0,
28
- "eos_token_id": 2,
29
- "model_type": "clip_text_model"
30
- },
31
  "torch_dtype": "float32",
32
- "transformers_version": "4.38.2",
33
- "vision_config": {
34
- "dropout": 0.0,
35
- "model_type": "clip_vision_model"
36
- }
37
  }
 
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
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
  "id2label": {
12
  "0": "1",
13
  "1": "2",
 
15
  "3": "4",
16
  "4": "5"
17
  },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
  "label2id": {
22
  "1": "0",
23
  "2": "1",
 
25
  "4": "3",
26
  "5": "4"
27
  },
28
+ "layer_norm_eps": 1e-12,
29
+ "model_type": "vit",
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 12,
33
+ "patch_size": 16,
34
  "problem_type": "single_label_classification",
35
+ "qkv_bias": true,
 
 
 
 
 
 
36
  "torch_dtype": "float32",
37
+ "transformers_version": "4.38.2"
 
 
 
 
38
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2a927c47ccbc08e092240e73f6209a329d03b931595f95a6c5a7715a3919cf5c
3
- size 349863356
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba8ee0630f38c9e73d3bea8b75ad378c4fd0c5c1a5b58c6a4c170f8aaf12e946
3
+ size 343233204
preprocessor_config.json CHANGED
@@ -1,27 +1,22 @@
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
  }
 
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
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a33aac535eb9f5e368f575fb343655a1b2e93c13844ab491e88bf73edccb6b27
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a38ed0a85f960927299f85e1092ab6dc9785c56bf33721a23bdba4d9d3c3c5e
3
  size 4856