tzhao3 commited on
Commit
91c1818
·
1 Parent(s): 14cdeae

Upload 7 files

Browse files
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "T - shirt / top",
13
+ "1": "Trouser",
14
+ "2": "Pullover",
15
+ "3": "Dress",
16
+ "4": "Coat",
17
+ "5": "Sandal",
18
+ "6": "Shirt",
19
+ "7": "Sneaker",
20
+ "8": "Bag",
21
+ "9": "Ankle boot"
22
+ },
23
+ "image_size": 224,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "Ankle boot": 9,
28
+ "Bag": 8,
29
+ "Coat": 4,
30
+ "Dress": 3,
31
+ "Pullover": 2,
32
+ "Sandal": 5,
33
+ "Shirt": 6,
34
+ "Sneaker": 7,
35
+ "T - shirt / top": 0,
36
+ "Trouser": 1
37
+ },
38
+ "layer_norm_eps": 1e-12,
39
+ "model_type": "vit",
40
+ "num_attention_heads": 12,
41
+ "num_channels": 3,
42
+ "num_hidden_layers": 12,
43
+ "patch_size": 16,
44
+ "problem_type": "single_label_classification",
45
+ "qkv_bias": true,
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.29.2"
48
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b4acad9e19c06383678ccbdab04ca63cc40c2443e6d8dba33b7e59fab56bd88
3
+ size 686567877
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
+ }
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47af0d385efef2ef9609b320d5f557ebb6dd1171d4e76014f62d780188d0dbba
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86ff9acf075eefe85933ed942e577212e5113e21cfbe7e9d0faa09af37c9ec27
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9261666666666667,
3
+ "best_model_checkpoint": "fine-tune-vit-fashion_mnist\\checkpoint-211",
4
+ "epoch": 1.0,
5
+ "global_step": 211,
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.0,
12
+ "eval_accuracy": 0.9261666666666667,
13
+ "eval_loss": 0.2685726284980774,
14
+ "eval_runtime": 26.1411,
15
+ "eval_samples_per_second": 229.524,
16
+ "eval_steps_per_second": 0.918,
17
+ "step": 211
18
+ }
19
+ ],
20
+ "max_steps": 211,
21
+ "num_train_epochs": 1,
22
+ "total_flos": 4.184867478822912e+18,
23
+ "trial_name": null,
24
+ "trial_params": null
25
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2211b49c41fcce5bac7449a15f5215f060ac395c8a5e2ecc34295441561ef25a
3
+ size 3835