system HF staff commited on
Commit
33d2eba
1 Parent(s): 3a4e09f

Commit From AutoTrain

Browse files
Files changed (5) hide show
  1. .gitattributes +3 -0
  2. README.md +37 -0
  3. config.json +102 -0
  4. preprocessor_config.json +29 -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-igeous
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.008659526025900772
17
+ ---
18
+
19
+ # Model Trained Using AutoTrain
20
+
21
+ - Problem type: Multi-class Classification
22
+ - Model ID: 52117122942
23
+ - CO2 Emissions (in grams): 0.0087
24
+
25
+ ## Validation Metrics
26
+
27
+ - Loss: 0.310
28
+ - Accuracy: 0.889
29
+ - Macro F1: 0.883
30
+ - Micro F1: 0.889
31
+ - Weighted F1: 0.887
32
+ - Macro Precision: 0.899
33
+ - Micro Precision: 0.889
34
+ - Weighted Precision: 0.903
35
+ - Macro Recall: 0.885
36
+ - Micro Recall: 0.889
37
+ - Weighted Recall: 0.889
config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "architectures": [
4
+ "BeitForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "auxiliary_channels": 256,
8
+ "auxiliary_concat_input": false,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "auxiliary_num_convs": 1,
11
+ "drop_path_rate": 0.1,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.0,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "HORNBLENDE OLIVINE BEARING PIROXENE",
17
+ "1": "Serpentinized Lherzolite",
18
+ "10": "jotunite",
19
+ "11": "lujavrite",
20
+ "12": "luxulianite",
21
+ "13": "nepheline pegmatite",
22
+ "14": "nepheline syenite",
23
+ "15": "norite",
24
+ "16": "olivine gabbro",
25
+ "17": "olivine hornblendite",
26
+ "18": "ortopiroxenite",
27
+ "19": "pulaskite",
28
+ "2": "allanite",
29
+ "20": "quartz gabbro",
30
+ "21": "sienite",
31
+ "22": "sienite sodalite",
32
+ "23": "sienogranito",
33
+ "3": "antipertite",
34
+ "4": "calcite",
35
+ "5": "cancrinite pegmatite",
36
+ "6": "cumberlandite",
37
+ "7": "granite peralkaline",
38
+ "8": "granitic pegmatite",
39
+ "9": "hornblende -olivine bearing piroxenite"
40
+ },
41
+ "image_size": 224,
42
+ "initializer_range": 0.02,
43
+ "intermediate_size": 3072,
44
+ "label2id": {
45
+ "HORNBLENDE OLIVINE BEARING PIROXENE": "0",
46
+ "Serpentinized Lherzolite": "1",
47
+ "allanite": "2",
48
+ "antipertite": "3",
49
+ "calcite": "4",
50
+ "cancrinite pegmatite": "5",
51
+ "cumberlandite": "6",
52
+ "granite peralkaline": "7",
53
+ "granitic pegmatite": "8",
54
+ "hornblende -olivine bearing piroxenite": "9",
55
+ "jotunite": "10",
56
+ "lujavrite": "11",
57
+ "luxulianite": "12",
58
+ "nepheline pegmatite": "13",
59
+ "nepheline syenite": "14",
60
+ "norite": "15",
61
+ "olivine gabbro": "16",
62
+ "olivine hornblendite": "17",
63
+ "ortopiroxenite": "18",
64
+ "pulaskite": "19",
65
+ "quartz gabbro": "20",
66
+ "sienite": "21",
67
+ "sienite sodalite": "22",
68
+ "sienogranito": "23"
69
+ },
70
+ "layer_norm_eps": 1e-12,
71
+ "layer_scale_init_value": 0.1,
72
+ "max_length": 128,
73
+ "model_type": "beit",
74
+ "num_attention_heads": 12,
75
+ "num_channels": 3,
76
+ "num_hidden_layers": 12,
77
+ "out_indices": [
78
+ 3,
79
+ 5,
80
+ 7,
81
+ 11
82
+ ],
83
+ "padding": "max_length",
84
+ "patch_size": 16,
85
+ "pool_scales": [
86
+ 1,
87
+ 2,
88
+ 3,
89
+ 6
90
+ ],
91
+ "problem_type": "single_label_classification",
92
+ "semantic_loss_ignore_index": 255,
93
+ "torch_dtype": "float32",
94
+ "transformers_version": "4.25.1",
95
+ "use_absolute_position_embeddings": false,
96
+ "use_auxiliary_head": true,
97
+ "use_mask_token": false,
98
+ "use_mean_pooling": true,
99
+ "use_relative_position_bias": true,
100
+ "use_shared_relative_position_bias": false,
101
+ "vocab_size": 8192
102
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": false,
7
+ "do_normalize": true,
8
+ "do_reduce_labels": false,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "feature_extractor_type": "BeitFeatureExtractor",
12
+ "image_mean": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "image_processor_type": "BeitImageProcessor",
18
+ "image_std": [
19
+ 0.5,
20
+ 0.5,
21
+ 0.5
22
+ ],
23
+ "resample": 2,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "height": 224,
27
+ "width": 224
28
+ }
29
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc912a733324d33729ac3f7cbdfad3767dd6c69ce9b7b709c7f8aab89eaa43eb
3
+ size 346928057