Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +37 -0
- config.json +84 -0
- preprocessor_config.json +23 -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: 3.216116887212137
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Multi-class Classification
|
22 |
+
- Model ID: 2932785111
|
23 |
+
- CO2 Emissions (in grams): 3.2161
|
24 |
+
|
25 |
+
## Validation Metrics
|
26 |
+
|
27 |
+
- Loss: 1.165
|
28 |
+
- Accuracy: 0.376
|
29 |
+
- Macro F1: 0.269
|
30 |
+
- Micro F1: 0.376
|
31 |
+
- Weighted F1: 0.349
|
32 |
+
- Macro Precision: 0.235
|
33 |
+
- Micro Precision: 0.376
|
34 |
+
- Weighted Precision: 0.354
|
35 |
+
- Macro Recall: 0.413
|
36 |
+
- Micro Recall: 0.376
|
37 |
+
- Weighted Recall: 0.376
|
config.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Adult Chara",
|
21 |
+
"1": "Adult Chara and Young Chara",
|
22 |
+
"10": "Kris and a Soul",
|
23 |
+
"11": "Kris next to the Ghost of Chara",
|
24 |
+
"12": "Male Kris",
|
25 |
+
"13": "Male Kris and Female Kris",
|
26 |
+
"14": "StoryShift Chara",
|
27 |
+
"15": "StoryShift Chara and Young Chara",
|
28 |
+
"16": "Teen Chara and Young Chara",
|
29 |
+
"17": "Teenager Chara and Young Chara",
|
30 |
+
"18": "Young Chara",
|
31 |
+
"2": "Chara",
|
32 |
+
"3": "Female Kris",
|
33 |
+
"4": "Kris",
|
34 |
+
"5": "Kris and Adult Chara",
|
35 |
+
"6": "Kris and Chara",
|
36 |
+
"7": "Kris and Female Chara",
|
37 |
+
"8": "Kris and Male Chara",
|
38 |
+
"9": "Kris and The Player"
|
39 |
+
},
|
40 |
+
"image_size": 224,
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"label2id": {
|
43 |
+
"Adult Chara": "0",
|
44 |
+
"Adult Chara and Young Chara": "1",
|
45 |
+
"Chara": "2",
|
46 |
+
"Female Kris": "3",
|
47 |
+
"Kris": "4",
|
48 |
+
"Kris and Adult Chara": "5",
|
49 |
+
"Kris and Chara": "6",
|
50 |
+
"Kris and Female Chara": "7",
|
51 |
+
"Kris and Male Chara": "8",
|
52 |
+
"Kris and The Player": "9",
|
53 |
+
"Kris and a Soul": "10",
|
54 |
+
"Kris next to the Ghost of Chara": "11",
|
55 |
+
"Male Kris": "12",
|
56 |
+
"Male Kris and Female Kris": "13",
|
57 |
+
"StoryShift Chara": "14",
|
58 |
+
"StoryShift Chara and Young Chara": "15",
|
59 |
+
"Teen Chara and Young Chara": "16",
|
60 |
+
"Teenager Chara and Young Chara": "17",
|
61 |
+
"Young Chara": "18"
|
62 |
+
},
|
63 |
+
"layer_norm_eps": 1e-05,
|
64 |
+
"max_length": 128,
|
65 |
+
"mlp_ratio": 4.0,
|
66 |
+
"model_type": "swin",
|
67 |
+
"num_channels": 3,
|
68 |
+
"num_heads": [
|
69 |
+
4,
|
70 |
+
8,
|
71 |
+
16,
|
72 |
+
32
|
73 |
+
],
|
74 |
+
"num_layers": 4,
|
75 |
+
"padding": "max_length",
|
76 |
+
"patch_size": 4,
|
77 |
+
"path_norm": true,
|
78 |
+
"problem_type": "single_label_classification",
|
79 |
+
"qkv_bias": true,
|
80 |
+
"torch_dtype": "float32",
|
81 |
+
"transformers_version": "4.25.1",
|
82 |
+
"use_absolute_embeddings": false,
|
83 |
+
"window_size": 7
|
84 |
+
}
|
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:23a419880bad0c7a7105d65fd740c982bee9836f884ed746ef11f934b74b3268
|
3 |
+
size 347669457
|