Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +37 -0
- config.json +48 -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 |
+
- sinword/autotrain-data-face_de-identification
|
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: 2.3215177460098726
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Multi-class Classification
|
22 |
+
- Model ID: 54735127998
|
23 |
+
- CO2 Emissions (in grams): 2.3215
|
24 |
+
|
25 |
+
## Validation Metrics
|
26 |
+
|
27 |
+
- Loss: 0.032
|
28 |
+
- Accuracy: 0.993
|
29 |
+
- Macro F1: 0.990
|
30 |
+
- Micro F1: 0.993
|
31 |
+
- Weighted F1: 0.993
|
32 |
+
- Macro Precision: 0.990
|
33 |
+
- Micro Precision: 0.993
|
34 |
+
- Weighted Precision: 0.993
|
35 |
+
- Macro Recall: 0.990
|
36 |
+
- Micro Recall: 0.993
|
37 |
+
- Weighted Recall: 0.993
|
config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Abdullah_Gul",
|
13 |
+
"1": "Alejandro_Toledo",
|
14 |
+
"2": "Alvaro_Uribe",
|
15 |
+
"3": "Amelie_Mauresmo",
|
16 |
+
"4": "Andre_Agassi",
|
17 |
+
"5": "Angelina_Jolie",
|
18 |
+
"6": "Ariel_Sharon",
|
19 |
+
"7": "Arnold_Schwarzenegger",
|
20 |
+
"8": "Atal_Bihari_Vajpayee"
|
21 |
+
},
|
22 |
+
"image_size": 224,
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"Abdullah_Gul": "0",
|
27 |
+
"Alejandro_Toledo": "1",
|
28 |
+
"Alvaro_Uribe": "2",
|
29 |
+
"Amelie_Mauresmo": "3",
|
30 |
+
"Andre_Agassi": "4",
|
31 |
+
"Angelina_Jolie": "5",
|
32 |
+
"Ariel_Sharon": "6",
|
33 |
+
"Arnold_Schwarzenegger": "7",
|
34 |
+
"Atal_Bihari_Vajpayee": "8"
|
35 |
+
},
|
36 |
+
"layer_norm_eps": 1e-12,
|
37 |
+
"max_length": 128,
|
38 |
+
"model_type": "vit",
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_channels": 3,
|
41 |
+
"num_hidden_layers": 12,
|
42 |
+
"padding": "max_length",
|
43 |
+
"patch_size": 16,
|
44 |
+
"problem_type": "single_label_classification",
|
45 |
+
"qkv_bias": true,
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.28.1"
|
48 |
+
}
|
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": "ViTFeatureExtractor",
|
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:e09a3e5a23a982b23632ac6d94eeda60bcf40d919302c0cc170003d5845fb2a5
|
3 |
+
size 343290221
|