Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +37 -0
- config.json +106 -0
- preprocessor_config.json +29 -0
- 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 |
+
- Ole8/autotrain-data-candice
|
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: 5.767327014854314
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Multi-class Classification
|
22 |
+
- Model ID: 2590780077
|
23 |
+
- CO2 Emissions (in grams): 5.7673
|
24 |
+
|
25 |
+
## Validation Metrics
|
26 |
+
|
27 |
+
- Loss: 0.018
|
28 |
+
- Accuracy: 0.998
|
29 |
+
- Macro F1: 0.998
|
30 |
+
- Micro F1: 0.998
|
31 |
+
- Weighted F1: 0.998
|
32 |
+
- Macro Precision: 0.999
|
33 |
+
- Micro Precision: 0.998
|
34 |
+
- Weighted Precision: 0.998
|
35 |
+
- Macro Recall: 0.998
|
36 |
+
- Micro Recall: 0.998
|
37 |
+
- Weighted Recall: 0.998
|
config.json
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "A",
|
17 |
+
"1": "B",
|
18 |
+
"10": "K",
|
19 |
+
"11": "L",
|
20 |
+
"12": "M",
|
21 |
+
"13": "N",
|
22 |
+
"14": "O",
|
23 |
+
"15": "P",
|
24 |
+
"16": "Q",
|
25 |
+
"17": "R",
|
26 |
+
"18": "S",
|
27 |
+
"19": "T",
|
28 |
+
"2": "C",
|
29 |
+
"20": "U",
|
30 |
+
"21": "V",
|
31 |
+
"22": "W",
|
32 |
+
"23": "X",
|
33 |
+
"24": "Y",
|
34 |
+
"25": "Z",
|
35 |
+
"3": "D",
|
36 |
+
"4": "E",
|
37 |
+
"5": "F",
|
38 |
+
"6": "G",
|
39 |
+
"7": "H",
|
40 |
+
"8": "I",
|
41 |
+
"9": "J"
|
42 |
+
},
|
43 |
+
"image_size": 224,
|
44 |
+
"initializer_range": 0.02,
|
45 |
+
"intermediate_size": 3072,
|
46 |
+
"label2id": {
|
47 |
+
"A": "0",
|
48 |
+
"B": "1",
|
49 |
+
"C": "2",
|
50 |
+
"D": "3",
|
51 |
+
"E": "4",
|
52 |
+
"F": "5",
|
53 |
+
"G": "6",
|
54 |
+
"H": "7",
|
55 |
+
"I": "8",
|
56 |
+
"J": "9",
|
57 |
+
"K": "10",
|
58 |
+
"L": "11",
|
59 |
+
"M": "12",
|
60 |
+
"N": "13",
|
61 |
+
"O": "14",
|
62 |
+
"P": "15",
|
63 |
+
"Q": "16",
|
64 |
+
"R": "17",
|
65 |
+
"S": "18",
|
66 |
+
"T": "19",
|
67 |
+
"U": "20",
|
68 |
+
"V": "21",
|
69 |
+
"W": "22",
|
70 |
+
"X": "23",
|
71 |
+
"Y": "24",
|
72 |
+
"Z": "25"
|
73 |
+
},
|
74 |
+
"layer_norm_eps": 1e-12,
|
75 |
+
"layer_scale_init_value": 0.1,
|
76 |
+
"max_length": 128,
|
77 |
+
"model_type": "beit",
|
78 |
+
"num_attention_heads": 12,
|
79 |
+
"num_channels": 3,
|
80 |
+
"num_hidden_layers": 12,
|
81 |
+
"out_indices": [
|
82 |
+
3,
|
83 |
+
5,
|
84 |
+
7,
|
85 |
+
11
|
86 |
+
],
|
87 |
+
"padding": "max_length",
|
88 |
+
"patch_size": 16,
|
89 |
+
"pool_scales": [
|
90 |
+
1,
|
91 |
+
2,
|
92 |
+
3,
|
93 |
+
6
|
94 |
+
],
|
95 |
+
"problem_type": "single_label_classification",
|
96 |
+
"semantic_loss_ignore_index": 255,
|
97 |
+
"torch_dtype": "float32",
|
98 |
+
"transformers_version": "4.25.1",
|
99 |
+
"use_absolute_position_embeddings": false,
|
100 |
+
"use_auxiliary_head": true,
|
101 |
+
"use_mask_token": false,
|
102 |
+
"use_mean_pooling": true,
|
103 |
+
"use_relative_position_bias": true,
|
104 |
+
"use_shared_relative_position_bias": false,
|
105 |
+
"vocab_size": 8192
|
106 |
+
}
|
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:59d8acabaa2c5caa0d1055a6fa77e748cfecc43c994fdb79960c394f1a062c9a
|
3 |
+
size 346934201
|