system HF staff commited on
Commit
c679c8d
1 Parent(s): e18b323

Commit From AutoTrain

Browse files
Files changed (5) hide show
  1. .gitattributes +3 -0
  2. README.md +37 -0
  3. config.json +64 -0
  4. preprocessor_config.json +29 -0
  5. 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
+ - OttoYu/autotrain-data-leaf
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.42691072926709345
17
+ ---
18
+
19
+ # Model Trained Using AutoTrain
20
+
21
+ - Problem type: Multi-class Classification
22
+ - Model ID: 43437110400
23
+ - CO2 Emissions (in grams): 0.4269
24
+
25
+ ## Validation Metrics
26
+
27
+ - Loss: 0.021
28
+ - Accuracy: 1.000
29
+ - Macro F1: 1.000
30
+ - Micro F1: 1.000
31
+ - Weighted F1: 1.000
32
+ - Macro Precision: 1.000
33
+ - Micro Precision: 1.000
34
+ - Weighted Precision: 1.000
35
+ - Macro Recall: 1.000
36
+ - Micro Recall: 1.000
37
+ - Weighted Recall: 1.000
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": "Bacteria",
17
+ "1": "Fungi",
18
+ "2": "Nematodes",
19
+ "3": "Normal",
20
+ "4": "Virus"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "Bacteria": "0",
27
+ "Fungi": "1",
28
+ "Nematodes": "2",
29
+ "Normal": "3",
30
+ "Virus": "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:5531a8a1ded1a91bc83966ced5f18654bb43669288e1a4f4b30a41bb1182bb07
3
+ size 346869625