system HF staff commited on
Commit
0531992
1 Parent(s): b0f4dae

Commit From AutoTrain

Browse files
Files changed (5) hide show
  1. .gitattributes +3 -0
  2. README.md +37 -0
  3. config.json +60 -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
+ - Lakera/autotrain-data-cancer-lakera
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.017341401621589574
17
+ ---
18
+
19
+ # Model Trained Using AutoTrain
20
+
21
+ - Problem type: Multi-class Classification
22
+ - Model ID: 50807121085
23
+ - CO2 Emissions (in grams): 0.0173
24
+
25
+ ## Validation Metrics
26
+
27
+ - Loss: 0.039
28
+ - Accuracy: 0.973
29
+ - Macro F1: 0.971
30
+ - Micro F1: 0.973
31
+ - Weighted F1: 0.973
32
+ - Macro Precision: 0.974
33
+ - Micro Precision: 0.973
34
+ - Weighted Precision: 0.973
35
+ - Macro Recall: 0.968
36
+ - Micro Recall: 0.973
37
+ - Weighted Recall: 0.973
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "actinic_keratoses",
17
+ "1": "basal_cell_carcinoma",
18
+ "2": "benign_keratosis-like_lesions"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "actinic_keratoses": "0",
25
+ "basal_cell_carcinoma": "1",
26
+ "benign_keratosis-like_lesions": "2"
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "layer_scale_init_value": 0.1,
30
+ "max_length": 128,
31
+ "model_type": "beit",
32
+ "num_attention_heads": 12,
33
+ "num_channels": 3,
34
+ "num_hidden_layers": 12,
35
+ "out_indices": [
36
+ 3,
37
+ 5,
38
+ 7,
39
+ 11
40
+ ],
41
+ "padding": "max_length",
42
+ "patch_size": 16,
43
+ "pool_scales": [
44
+ 1,
45
+ 2,
46
+ 3,
47
+ 6
48
+ ],
49
+ "problem_type": "single_label_classification",
50
+ "semantic_loss_ignore_index": 255,
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.25.1",
53
+ "use_absolute_position_embeddings": false,
54
+ "use_auxiliary_head": true,
55
+ "use_mask_token": false,
56
+ "use_mean_pooling": true,
57
+ "use_relative_position_bias": true,
58
+ "use_shared_relative_position_bias": false,
59
+ "vocab_size": 8192
60
+ }
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:9e8c3dfc2725250f21bad7959512a2a23788ce613cffd3ecb89c93a685fa8001
3
+ size 346863481