system HF staff commited on
Commit
5ca6764
1 Parent(s): 74c2262

Commit From AutoTrain

Browse files
Files changed (5) hide show
  1. .gitattributes +3 -0
  2. README.md +37 -0
  3. config.json +46 -0
  4. preprocessor_config.json +22 -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
+ - JoffreyMa/autotrain-data-histopathological_image_classification
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: 4.820448255825163
17
+ ---
18
+
19
+ # Model Trained Using AutoTrain
20
+
21
+ - Problem type: Multi-class Classification
22
+ - Model ID: 3393093036
23
+ - CO2 Emissions (in grams): 4.8204
24
+
25
+ ## Validation Metrics
26
+
27
+ - Loss: 0.186
28
+ - Accuracy: 0.933
29
+ - Macro F1: 0.933
30
+ - Micro F1: 0.933
31
+ - Weighted F1: 0.932
32
+ - Macro Precision: 0.929
33
+ - Micro Precision: 0.933
34
+ - Weighted Precision: 0.934
35
+ - Macro Recall: 0.941
36
+ - Micro Recall: 0.933
37
+ - Weighted Recall: 0.933
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1",
13
+ "1": "2",
14
+ "2": "3",
15
+ "3": "4",
16
+ "4": "5",
17
+ "5": "6",
18
+ "6": "7",
19
+ "7": "8"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "1": "0",
26
+ "2": "1",
27
+ "3": "2",
28
+ "4": "3",
29
+ "5": "4",
30
+ "6": "5",
31
+ "7": "6",
32
+ "8": "7"
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "max_length": 128,
36
+ "model_type": "vit",
37
+ "num_attention_heads": 12,
38
+ "num_channels": 3,
39
+ "num_hidden_layers": 12,
40
+ "padding": "max_length",
41
+ "patch_size": 16,
42
+ "problem_type": "single_label_classification",
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.25.1"
46
+ }
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": "ViTImageProcessor",
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:acd303e6a96b452885f4dc3abe8629b0a6aacc54e26986218a89f2aa5af1b100
3
+ size 343287149