system HF staff commited on
Commit
85e8038
·
1 Parent(s): 72a7b2a

Commit From AutoTrain

Browse files
Files changed (5) hide show
  1. .gitattributes +3 -0
  2. README.md +37 -0
  3. config.json +94 -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
+ - nicolasvillamilsanchez/autotrain-data-igneus-petrography
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: 2.6170542828775685
17
+ ---
18
+
19
+ # Model Trained Using AutoTrain
20
+
21
+ - Problem type: Multi-class Classification
22
+ - Model ID: 52100122886
23
+ - CO2 Emissions (in grams): 2.6171
24
+
25
+ ## Validation Metrics
26
+
27
+ - Loss: 0.115
28
+ - Accuracy: 0.944
29
+ - Macro F1: 0.923
30
+ - Micro F1: 0.944
31
+ - Weighted F1: 0.942
32
+ - Macro Precision: 0.938
33
+ - Micro Precision: 0.944
34
+ - Weighted Precision: 0.947
35
+ - Macro Recall: 0.919
36
+ - Micro Recall: 0.944
37
+ - Weighted Recall: 0.944
config.json ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "HORNBLENDE OLIVINE BEARING PIROXENE",
21
+ "1": "Serpentinized Lherzolite",
22
+ "10": "jotunite",
23
+ "11": "lujavrite",
24
+ "12": "luxulianite",
25
+ "13": "nepheline pegmatite",
26
+ "14": "nepheline syenite",
27
+ "15": "norite",
28
+ "16": "olivine gabbro",
29
+ "17": "olivine hornblendite",
30
+ "18": "ortopiroxenite",
31
+ "19": "pulaskite",
32
+ "2": "allanite",
33
+ "20": "quartz gabbro",
34
+ "21": "sienite",
35
+ "22": "sienite sodalite",
36
+ "23": "sienogranito",
37
+ "3": "antipertite",
38
+ "4": "calcite",
39
+ "5": "cancrinite pegmatite",
40
+ "6": "cumberlandite",
41
+ "7": "granite peralkaline",
42
+ "8": "granitic pegmatite",
43
+ "9": "hornblende -olivine bearing piroxenite"
44
+ },
45
+ "image_size": 224,
46
+ "initializer_range": 0.02,
47
+ "label2id": {
48
+ "HORNBLENDE OLIVINE BEARING PIROXENE": "0",
49
+ "Serpentinized Lherzolite": "1",
50
+ "allanite": "2",
51
+ "antipertite": "3",
52
+ "calcite": "4",
53
+ "cancrinite pegmatite": "5",
54
+ "cumberlandite": "6",
55
+ "granite peralkaline": "7",
56
+ "granitic pegmatite": "8",
57
+ "hornblende -olivine bearing piroxenite": "9",
58
+ "jotunite": "10",
59
+ "lujavrite": "11",
60
+ "luxulianite": "12",
61
+ "nepheline pegmatite": "13",
62
+ "nepheline syenite": "14",
63
+ "norite": "15",
64
+ "olivine gabbro": "16",
65
+ "olivine hornblendite": "17",
66
+ "ortopiroxenite": "18",
67
+ "pulaskite": "19",
68
+ "quartz gabbro": "20",
69
+ "sienite": "21",
70
+ "sienite sodalite": "22",
71
+ "sienogranito": "23"
72
+ },
73
+ "layer_norm_eps": 1e-05,
74
+ "max_length": 128,
75
+ "mlp_ratio": 4.0,
76
+ "model_type": "swin",
77
+ "num_channels": 3,
78
+ "num_heads": [
79
+ 4,
80
+ 8,
81
+ 16,
82
+ 32
83
+ ],
84
+ "num_layers": 4,
85
+ "padding": "max_length",
86
+ "patch_size": 4,
87
+ "path_norm": true,
88
+ "problem_type": "single_label_classification",
89
+ "qkv_bias": true,
90
+ "torch_dtype": "float32",
91
+ "transformers_version": "4.25.1",
92
+ "use_absolute_embeddings": false,
93
+ "window_size": 7
94
+ }
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": "ViTImageProcessor",
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:e485e398de759da3674689fdeb2fb7e0090e39600eb3ff06fa83b554ab3ccfb5
3
+ size 347689937