kassem112 commited on
Commit
b468d9a
1 Parent(s): af00559

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ images/ARAB_FACE.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/ASIAN_FACE.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/BLACK_FACE.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/NORTH_AFRICAN_FACE.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/WHITE_FACE.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: rare
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.4821428656578064
19
+ ---
20
+
21
+ # rare
22
+
23
+
24
+ Autogenerated by HuggingPics🤗🖼️
25
+
26
+ Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb).
27
+
28
+ Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics).
29
+
30
+
31
+ ## Example Images
32
+
33
+
34
+ #### ARAB FACE
35
+
36
+ ![ARAB FACE](images/ARAB_FACE.jpg)
37
+
38
+ #### ASIAN FACE
39
+
40
+ ![ASIAN FACE](images/ASIAN_FACE.jpg)
41
+
42
+ #### BLACK FACE
43
+
44
+ ![BLACK FACE](images/BLACK_FACE.jpg)
45
+
46
+ #### NORTH AFRICAN FACE
47
+
48
+ ![NORTH AFRICAN FACE](images/NORTH_AFRICAN_FACE.jpg)
49
+
50
+ #### WHITE FACE
51
+
52
+ ![WHITE FACE](images/WHITE_FACE.jpg)
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "ARAB FACE",
13
+ "1": "ASIAN FACE",
14
+ "2": "BLACK FACE",
15
+ "3": "NORTH AFRICAN FACE",
16
+ "4": "WHITE FACE"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "ARAB FACE": "0",
23
+ "ASIAN FACE": "1",
24
+ "BLACK FACE": "2",
25
+ "NORTH AFRICAN FACE": "3",
26
+ "WHITE FACE": "4"
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "model_type": "vit",
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 12,
33
+ "patch_size": 16,
34
+ "problem_type": "single_label_classification",
35
+ "qkv_bias": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.34.1"
38
+ }
images/ARAB_FACE.jpg ADDED

Git LFS Details

  • SHA256: 52f2ba6899d3964ab64a1ba39d31d9b1d23c5ed338a367649cb879312da02003
  • Pointer size: 130 Bytes
  • Size of remote file: 23.1 kB
images/ASIAN_FACE.jpg ADDED

Git LFS Details

  • SHA256: 1e44ea7e43484c2b4f1d9db73e242fbe5e241ab05ee31d8627635bf32b95c1fa
  • Pointer size: 130 Bytes
  • Size of remote file: 58 kB
images/BLACK_FACE.jpg ADDED

Git LFS Details

  • SHA256: 4ad51a57c692610e3ff48fc18e50322dd78d6c1920c80b12ca78e4d2f2b532fa
  • Pointer size: 130 Bytes
  • Size of remote file: 23.6 kB
images/NORTH_AFRICAN_FACE.jpg ADDED

Git LFS Details

  • SHA256: 385b1ed9ea1257d79743bacaeea4859d8a31df218e0edaac2386f769aa6d24c2
  • Pointer size: 130 Bytes
  • Size of remote file: 66 kB
images/WHITE_FACE.jpg ADDED

Git LFS Details

  • SHA256: b948c36db2b81234fa77a7d6f13537c12512c1816d3aba7e637c43f2f3cd483d
  • Pointer size: 130 Bytes
  • Size of remote file: 46 kB
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:3ced4785b0470d71564da4e483096d5f8e11182e32819b3aa76dd011a9ec97d7
3
+ size 343275626
runs/events.out.tfevents.1698334743.7c8432210df4.196.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16163c1e329db35bd2aad513063224333caedb7a5f4234a66e398ab2c6d6ff31
3
+ size 1492