Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +37 -0
- config.json +68 -0
- preprocessor_config.json +22 -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 |
+
- AdamOswald1/autotrain-data-let
|
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.017109641157049823
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Multi-class Classification
|
22 |
+
- Model ID: 2932785109
|
23 |
+
- CO2 Emissions (in grams): 0.0171
|
24 |
+
|
25 |
+
## Validation Metrics
|
26 |
+
|
27 |
+
- Loss: 1.241
|
28 |
+
- Accuracy: 0.372
|
29 |
+
- Macro F1: 0.228
|
30 |
+
- Micro F1: 0.372
|
31 |
+
- Weighted F1: 0.344
|
32 |
+
- Macro Precision: 0.190
|
33 |
+
- Micro Precision: 0.372
|
34 |
+
- Weighted Precision: 0.337
|
35 |
+
- Macro Recall: 0.355
|
36 |
+
- Micro Recall: 0.372
|
37 |
+
- Weighted Recall: 0.372
|
config.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "AutoTrain",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Adult Chara",
|
13 |
+
"1": "Adult Chara and Young Chara",
|
14 |
+
"10": "Kris and a Soul",
|
15 |
+
"11": "Kris next to the Ghost of Chara",
|
16 |
+
"12": "Male Kris",
|
17 |
+
"13": "Male Kris and Female Kris",
|
18 |
+
"14": "StoryShift Chara",
|
19 |
+
"15": "StoryShift Chara and Young Chara",
|
20 |
+
"16": "Teen Chara and Young Chara",
|
21 |
+
"17": "Teenager Chara and Young Chara",
|
22 |
+
"18": "Young Chara",
|
23 |
+
"2": "Chara",
|
24 |
+
"3": "Female Kris",
|
25 |
+
"4": "Kris",
|
26 |
+
"5": "Kris and Adult Chara",
|
27 |
+
"6": "Kris and Chara",
|
28 |
+
"7": "Kris and Female Chara",
|
29 |
+
"8": "Kris and Male Chara",
|
30 |
+
"9": "Kris and The Player"
|
31 |
+
},
|
32 |
+
"image_size": 224,
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"intermediate_size": 3072,
|
35 |
+
"label2id": {
|
36 |
+
"Adult Chara": "0",
|
37 |
+
"Adult Chara and Young Chara": "1",
|
38 |
+
"Chara": "2",
|
39 |
+
"Female Kris": "3",
|
40 |
+
"Kris": "4",
|
41 |
+
"Kris and Adult Chara": "5",
|
42 |
+
"Kris and Chara": "6",
|
43 |
+
"Kris and Female Chara": "7",
|
44 |
+
"Kris and Male Chara": "8",
|
45 |
+
"Kris and The Player": "9",
|
46 |
+
"Kris and a Soul": "10",
|
47 |
+
"Kris next to the Ghost of Chara": "11",
|
48 |
+
"Male Kris": "12",
|
49 |
+
"Male Kris and Female Kris": "13",
|
50 |
+
"StoryShift Chara": "14",
|
51 |
+
"StoryShift Chara and Young Chara": "15",
|
52 |
+
"Teen Chara and Young Chara": "16",
|
53 |
+
"Teenager Chara and Young Chara": "17",
|
54 |
+
"Young Chara": "18"
|
55 |
+
},
|
56 |
+
"layer_norm_eps": 1e-12,
|
57 |
+
"max_length": 128,
|
58 |
+
"model_type": "vit",
|
59 |
+
"num_attention_heads": 12,
|
60 |
+
"num_channels": 3,
|
61 |
+
"num_hidden_layers": 12,
|
62 |
+
"padding": "max_length",
|
63 |
+
"patch_size": 16,
|
64 |
+
"problem_type": "single_label_classification",
|
65 |
+
"qkv_bias": true,
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.25.1"
|
68 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f20c0b57ad65f3780af14dce0316dd2d376e8afed87af311ff88db997da5f404
|
3 |
+
size 343321005
|