Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +37 -0
- config.json +64 -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 |
+
- juanArevalo/autotrain-data-classificacion
|
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.004113208150649528
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Multi-class Classification
|
22 |
+
- Model ID: 51168121455
|
23 |
+
- CO2 Emissions (in grams): 0.0041
|
24 |
+
|
25 |
+
## Validation Metrics
|
26 |
+
|
27 |
+
- Loss: 0.145
|
28 |
+
- Accuracy: 0.960
|
29 |
+
- Macro F1: 0.960
|
30 |
+
- Micro F1: 0.960
|
31 |
+
- Weighted F1: 0.960
|
32 |
+
- Macro Precision: 0.962
|
33 |
+
- Micro Precision: 0.960
|
34 |
+
- Weighted Precision: 0.962
|
35 |
+
- Macro Recall: 0.960
|
36 |
+
- Micro Recall: 0.960
|
37 |
+
- Weighted Recall: 0.960
|
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Ak",
|
17 |
+
"1": "Ala_Idris",
|
18 |
+
"2": "Buzgulu",
|
19 |
+
"3": "Dimnit",
|
20 |
+
"4": "Nazli"
|
21 |
+
},
|
22 |
+
"image_size": 224,
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"Ak": "0",
|
27 |
+
"Ala_Idris": "1",
|
28 |
+
"Buzgulu": "2",
|
29 |
+
"Dimnit": "3",
|
30 |
+
"Nazli": "4"
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"layer_scale_init_value": 0.1,
|
34 |
+
"max_length": 128,
|
35 |
+
"model_type": "beit",
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_channels": 3,
|
38 |
+
"num_hidden_layers": 12,
|
39 |
+
"out_indices": [
|
40 |
+
3,
|
41 |
+
5,
|
42 |
+
7,
|
43 |
+
11
|
44 |
+
],
|
45 |
+
"padding": "max_length",
|
46 |
+
"patch_size": 16,
|
47 |
+
"pool_scales": [
|
48 |
+
1,
|
49 |
+
2,
|
50 |
+
3,
|
51 |
+
6
|
52 |
+
],
|
53 |
+
"problem_type": "single_label_classification",
|
54 |
+
"semantic_loss_ignore_index": 255,
|
55 |
+
"torch_dtype": "float32",
|
56 |
+
"transformers_version": "4.25.1",
|
57 |
+
"use_absolute_position_embeddings": false,
|
58 |
+
"use_auxiliary_head": true,
|
59 |
+
"use_mask_token": false,
|
60 |
+
"use_mean_pooling": true,
|
61 |
+
"use_relative_position_bias": true,
|
62 |
+
"use_shared_relative_position_bias": false,
|
63 |
+
"vocab_size": 8192
|
64 |
+
}
|
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:bde583bbc3bfc13944b48f785c56d31ac084b95c637c94402f9ea8631994798c
|
3 |
+
size 346869625
|