system HF Staff commited on
Commit
136522f
·
1 Parent(s): 7612883

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
37
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
38
+ 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
+ - sgenzer/autotrain-data-seven-segment-led
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: 0.6089615124864401
17
+ ---
18
+
19
+ # Model Trained Using AutoTrain
20
+
21
+ - Problem type: Multi-class Classification
22
+ - Model ID: 88543143697
23
+ - CO2 Emissions (in grams): 0.6090
24
+
25
+ ## Validation Metrics
26
+
27
+ - Loss: 0.503
28
+ - Accuracy: 0.868
29
+ - Macro F1: 0.862
30
+ - Micro F1: 0.868
31
+ - Weighted F1: 0.871
32
+ - Macro Precision: 0.871
33
+ - Micro Precision: 0.868
34
+ - Weighted Precision: 0.883
35
+ - Macro Recall: 0.862
36
+ - Micro Recall: 0.868
37
+ - Weighted Recall: 0.868
config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 6,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 96,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 768,
19
+ "id2label": {
20
+ "0": "0",
21
+ "1": "1",
22
+ "2": "2",
23
+ "3": "3",
24
+ "4": "4",
25
+ "5": "5",
26
+ "6": "6",
27
+ "7": "7",
28
+ "8": "8",
29
+ "9": "9"
30
+ },
31
+ "image_size": 224,
32
+ "initializer_range": 0.02,
33
+ "label2id": {
34
+ "0": "0",
35
+ "1": "1",
36
+ "2": "2",
37
+ "3": "3",
38
+ "4": "4",
39
+ "5": "5",
40
+ "6": "6",
41
+ "7": "7",
42
+ "8": "8",
43
+ "9": "9"
44
+ },
45
+ "layer_norm_eps": 1e-05,
46
+ "max_length": 128,
47
+ "mlp_ratio": 4.0,
48
+ "model_type": "swin",
49
+ "num_channels": 3,
50
+ "num_heads": [
51
+ 3,
52
+ 6,
53
+ 12,
54
+ 24
55
+ ],
56
+ "num_layers": 4,
57
+ "out_features": [
58
+ "stage4"
59
+ ],
60
+ "out_indices": [
61
+ 4
62
+ ],
63
+ "padding": "max_length",
64
+ "patch_size": 4,
65
+ "path_norm": true,
66
+ "problem_type": "single_label_classification",
67
+ "qkv_bias": true,
68
+ "stage_names": [
69
+ "stem",
70
+ "stage1",
71
+ "stage2",
72
+ "stage3",
73
+ "stage4"
74
+ ],
75
+ "torch_dtype": "float32",
76
+ "transformers_version": "4.29.2",
77
+ "use_absolute_embeddings": false,
78
+ "window_size": 7
79
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f33287473d5c895277e8160316f65f692b9dc1645c91a7e6357e2ed9a75c25a0
3
+ size 110367448
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:fb037c413c04c25752118ccbe82826846061bab8918d593749a9aa5b892a2095
3
+ size 110419441