Upload 7 files
Browse files- all_results.json +8 -0
- config.json +34 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- train_results.json +8 -0
- trainer_state.json +31 -0
- training_args.bin +3 -0
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.0,
|
3 |
+
"total_flos": 2.014809787920384e+16,
|
4 |
+
"train_loss": 0.39612122376759845,
|
5 |
+
"train_runtime": 584.0146,
|
6 |
+
"train_samples_per_second": 0.445,
|
7 |
+
"train_steps_per_second": 0.031
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "cucumber",
|
13 |
+
"1": "eggplant",
|
14 |
+
"2": "mushroom"
|
15 |
+
},
|
16 |
+
"image_size": 224,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"cucumber": "0",
|
21 |
+
"eggplant": "1",
|
22 |
+
"mushroom": "2"
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"model_type": "vit",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"patch_size": 16,
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"qkv_bias": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.28.1"
|
34 |
+
}
|
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 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cde695adce16c8d5ceaaabfe1220fa71528667b1e4f5e2e6a50a6449910c2164
|
3 |
+
size 343269037
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.0,
|
3 |
+
"total_flos": 2.014809787920384e+16,
|
4 |
+
"train_loss": 0.39612122376759845,
|
5 |
+
"train_runtime": 584.0146,
|
6 |
+
"train_samples_per_second": 0.445,
|
7 |
+
"train_steps_per_second": 0.031
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.0,
|
5 |
+
"global_step": 18,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.11,
|
12 |
+
"learning_rate": 8.888888888888889e-05,
|
13 |
+
"loss": 0.5675,
|
14 |
+
"step": 10
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 2.0,
|
18 |
+
"step": 18,
|
19 |
+
"total_flos": 2.014809787920384e+16,
|
20 |
+
"train_loss": 0.39612122376759845,
|
21 |
+
"train_runtime": 584.0146,
|
22 |
+
"train_samples_per_second": 0.445,
|
23 |
+
"train_steps_per_second": 0.031
|
24 |
+
}
|
25 |
+
],
|
26 |
+
"max_steps": 18,
|
27 |
+
"num_train_epochs": 2,
|
28 |
+
"total_flos": 2.014809787920384e+16,
|
29 |
+
"trial_name": null,
|
30 |
+
"trial_params": null
|
31 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81e0f2601d53ee80c6525f4073a925b947b1bbff3212be42d44d7a8f1f8e62a7
|
3 |
+
size 3579
|