gabrielmorin
commited on
Commit
•
e3c8f50
1
Parent(s):
ba4c198
Training in progress, epoch 1
Browse files- config.json +18 -17
- model.safetensors +2 -2
- preprocessor_config.json +10 -15
- training_args.bin +1 -1
config.json
CHANGED
@@ -1,8 +1,13 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
|
|
|
|
|
|
|
|
|
|
6 |
"id2label": {
|
7 |
"0": "1",
|
8 |
"1": "2",
|
@@ -10,7 +15,9 @@
|
|
10 |
"3": "4",
|
11 |
"4": "5"
|
12 |
},
|
13 |
-
"
|
|
|
|
|
14 |
"label2id": {
|
15 |
"1": "0",
|
16 |
"2": "1",
|
@@ -18,20 +25,14 @@
|
|
18 |
"4": "3",
|
19 |
"5": "4"
|
20 |
},
|
21 |
-
"
|
22 |
-
"model_type": "
|
|
|
|
|
|
|
|
|
23 |
"problem_type": "single_label_classification",
|
24 |
-
"
|
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:
|
3 |
-
size
|
|
|
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.
|
13 |
-
0.
|
14 |
-
0.
|
15 |
],
|
16 |
-
"image_processor_type": "
|
17 |
"image_std": [
|
18 |
-
0.
|
19 |
-
0.
|
20 |
-
0.
|
21 |
],
|
22 |
-
"resample":
|
23 |
"rescale_factor": 0.00392156862745098,
|
24 |
"size": {
|
25 |
-
"
|
|
|
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:
|
3 |
size 4856
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a38ed0a85f960927299f85e1092ab6dc9785c56bf33721a23bdba4d9d3c3c5e
|
3 |
size 4856
|