yourusername commited on
Commit
25e3208
1 Parent(s): 4a8eeaf
Files changed (6) hide show
  1. .gitignore +1 -0
  2. README.md +55 -0
  3. config.json +28 -0
  4. preprocessor_config.json +17 -0
  5. pytorch_model.bin +3 -0
  6. training_args.bin +3 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - image_folder
6
+ model_index:
7
+ - name: test_model_a
8
+ results:
9
+ - task:
10
+ name: Image Classification
11
+ type: image-classification
12
+ dataset:
13
+ name: image_folder
14
+ type: image_folder
15
+ args: default
16
+ ---
17
+
18
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
19
+ should probably proofread and complete it, then remove this comment. -->
20
+
21
+ # test_model_a
22
+
23
+ This model is a fine-tuned version of [lysandre/tiny-vit-random](https://huggingface.co/lysandre/tiny-vit-random) on the image_folder dataset.
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - training_steps: 40
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.8.2
53
+ - Pytorch 1.9.0+cu102
54
+ - Datasets 1.9.1.dev0
55
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "lysandre/tiny-vit-random",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 32,
10
+ "id2label": {
11
+ "0": "cat",
12
+ "1": "dog"
13
+ },
14
+ "image_size": 224,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 32,
17
+ "label2id": {
18
+ "cat": "0",
19
+ "dog": "1"
20
+ },
21
+ "layer_norm_eps": 1e-12,
22
+ "model_type": "vit",
23
+ "num_attention_heads": 2,
24
+ "num_channels": 3,
25
+ "num_hidden_layers": 2,
26
+ "patch_size": 16,
27
+ "transformers_version": "4.8.2"
28
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "ViTFeatureExtractor",
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_std": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "resample": 2,
16
+ "size": 224
17
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:433b72a27f58e7eacfb2e0f9d6defeeb28305075c663531191dec66a0f61f5bd
3
+ size 190893
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8c0b14169b4bec7ca8fb7355c98f7642b26b1a5a065cf9ae8201096e4c4271c
3
+ size 2671