system HF staff commited on
Commit
8d05e8f
1 Parent(s): d8edbbf

Commit From AutoTrain

Browse files
Files changed (5) hide show
  1. .gitattributes +3 -0
  2. README.md +37 -0
  3. config.json +69 -0
  4. preprocessor_config.json +23 -0
  5. pytorch_model.bin +3 -0
.gitattributes CHANGED
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
36
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
37
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - vision
5
+ - image-classification
6
+ datasets:
7
+ - davanstrien/autotrain-data-color-image-dating
8
+ widget:
9
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
10
+ example_title: Tiger
11
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
12
+ example_title: Teapot
13
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
14
+ example_title: Palace
15
+ co2_eq_emissions:
16
+ emissions: 1.602513246354456
17
+ ---
18
+
19
+ # Model Trained Using AutoTrain
20
+
21
+ - Problem type: Multi-class Classification
22
+ - Model ID: 55447129537
23
+ - CO2 Emissions (in grams): 1.6025
24
+
25
+ ## Validation Metrics
26
+
27
+ - Loss: 0.958
28
+ - Accuracy: 0.615
29
+ - Macro F1: 0.615
30
+ - Micro F1: 0.615
31
+ - Weighted F1: 0.615
32
+ - Macro Precision: 0.618
33
+ - Micro Precision: 0.615
34
+ - Weighted Precision: 0.618
35
+ - Macro Recall: 0.615
36
+ - Micro Recall: 0.615
37
+ - Weighted Recall: 0.615
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "architectures": [
4
+ "SwinForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 18,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 128,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 1024,
19
+ "id2label": {
20
+ "0": "1930s",
21
+ "1": "1940s",
22
+ "2": "1950s",
23
+ "3": "1960s",
24
+ "4": "1970s"
25
+ },
26
+ "image_size": 224,
27
+ "initializer_range": 0.02,
28
+ "label2id": {
29
+ "1930s": "0",
30
+ "1940s": "1",
31
+ "1950s": "2",
32
+ "1960s": "3",
33
+ "1970s": "4"
34
+ },
35
+ "layer_norm_eps": 1e-05,
36
+ "max_length": 128,
37
+ "mlp_ratio": 4.0,
38
+ "model_type": "swin",
39
+ "num_channels": 3,
40
+ "num_heads": [
41
+ 4,
42
+ 8,
43
+ 16,
44
+ 32
45
+ ],
46
+ "num_layers": 4,
47
+ "out_features": [
48
+ "stage4"
49
+ ],
50
+ "out_indices": [
51
+ 4
52
+ ],
53
+ "padding": "max_length",
54
+ "patch_size": 4,
55
+ "path_norm": true,
56
+ "problem_type": "single_label_classification",
57
+ "qkv_bias": true,
58
+ "stage_names": [
59
+ "stem",
60
+ "stage1",
61
+ "stage2",
62
+ "stage3",
63
+ "stage4"
64
+ ],
65
+ "torch_dtype": "float32",
66
+ "transformers_version": "4.28.1",
67
+ "use_absolute_embeddings": false,
68
+ "window_size": 7
69
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "feature_extractor_type": "ViTFeatureExtractor",
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ViTFeatureExtractor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa6f25b77a269236127542ecea5b3d3cb1d1e7ac939cc5aa4755e6c739382d46
3
+ size 347612049