Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +37 -0
- config.json +57 -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 |
+
- molsen/autotrain-data-genderage
|
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: 8.240977060159542
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Multi-class Classification
|
22 |
+
- Model ID: 2709480568
|
23 |
+
- CO2 Emissions (in grams): 8.2410
|
24 |
+
|
25 |
+
## Validation Metrics
|
26 |
+
|
27 |
+
- Loss: 1.277
|
28 |
+
- Accuracy: 0.560
|
29 |
+
- Macro F1: 0.560
|
30 |
+
- Micro F1: 0.560
|
31 |
+
- Weighted F1: 0.560
|
32 |
+
- Macro Precision: 0.570
|
33 |
+
- Micro Precision: 0.560
|
34 |
+
- Weighted Precision: 0.570
|
35 |
+
- Macro Recall: 0.560
|
36 |
+
- Micro Recall: 0.560
|
37 |
+
- Weighted Recall: 0.560
|
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "AutoTrain",
|
3 |
+
"architectures": [
|
4 |
+
"ConvNextForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
3,
|
8 |
+
3,
|
9 |
+
27,
|
10 |
+
3
|
11 |
+
],
|
12 |
+
"drop_path_rate": 0.0,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_sizes": [
|
15 |
+
256,
|
16 |
+
512,
|
17 |
+
1024,
|
18 |
+
2048
|
19 |
+
],
|
20 |
+
"id2label": {
|
21 |
+
"0": "Female_0-19",
|
22 |
+
"1": "Female_20-29",
|
23 |
+
"2": "Female_30-39",
|
24 |
+
"3": "Female_40-69",
|
25 |
+
"4": "Female_70+",
|
26 |
+
"5": "Male_0-19",
|
27 |
+
"6": "Male_20-29",
|
28 |
+
"7": "Male_30-39",
|
29 |
+
"8": "Male_40-69",
|
30 |
+
"9": "Male_70+"
|
31 |
+
},
|
32 |
+
"image_size": 224,
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"label2id": {
|
35 |
+
"Female_0-19": "0",
|
36 |
+
"Female_20-29": "1",
|
37 |
+
"Female_30-39": "2",
|
38 |
+
"Female_40-69": "3",
|
39 |
+
"Female_70+": "4",
|
40 |
+
"Male_0-19": "5",
|
41 |
+
"Male_20-29": "6",
|
42 |
+
"Male_30-39": "7",
|
43 |
+
"Male_40-69": "8",
|
44 |
+
"Male_70+": "9"
|
45 |
+
},
|
46 |
+
"layer_norm_eps": 1e-12,
|
47 |
+
"layer_scale_init_value": 1e-06,
|
48 |
+
"max_length": 128,
|
49 |
+
"model_type": "convnext",
|
50 |
+
"num_channels": 3,
|
51 |
+
"num_stages": 4,
|
52 |
+
"padding": "max_length",
|
53 |
+
"patch_size": 4,
|
54 |
+
"problem_type": "single_label_classification",
|
55 |
+
"torch_dtype": "float32",
|
56 |
+
"transformers_version": "4.25.1"
|
57 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"feature_extractor_type": "ConvNextFeatureExtractor",
|
7 |
+
"image_mean": [
|
8 |
+
0.485,
|
9 |
+
0.456,
|
10 |
+
0.406
|
11 |
+
],
|
12 |
+
"image_processor_type": "ConvNextImageProcessor",
|
13 |
+
"image_std": [
|
14 |
+
0.229,
|
15 |
+
0.224,
|
16 |
+
0.225
|
17 |
+
],
|
18 |
+
"resample": 3,
|
19 |
+
"rescale_factor": 0.00392156862745098,
|
20 |
+
"size": {
|
21 |
+
"shortest_edge": 224
|
22 |
+
}
|
23 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff7783285ff9a39ef25989e6e7defd37e6f897756816b62c6b70aa226f6dce4c
|
3 |
+
size 1392792557
|