faisalabidi commited on
Commit
c25c81d
1 Parent(s): cbfa998

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -38,3 +38,12 @@ images/hyatt_food.jpg filter=lfs diff=lfs merge=lfs -text
38
  images/hyatt_pool.jpg filter=lfs diff=lfs merge=lfs -text
39
  images/hyatt_restaurants.jpg filter=lfs diff=lfs merge=lfs -text
40
  images/hyatt_suites.jpg filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
38
  images/hyatt_pool.jpg filter=lfs diff=lfs merge=lfs -text
39
  images/hyatt_restaurants.jpg filter=lfs diff=lfs merge=lfs -text
40
  images/hyatt_suites.jpg filter=lfs diff=lfs merge=lfs -text
41
+ images/hotel_beach.jpg filter=lfs diff=lfs merge=lfs -text
42
+ images/hotel_fitness.jpg filter=lfs diff=lfs merge=lfs -text
43
+ images/hotel_food.jpg filter=lfs diff=lfs merge=lfs -text
44
+ images/hotel_lobby.jpg filter=lfs diff=lfs merge=lfs -text
45
+ images/hotel_meetings.jpg filter=lfs diff=lfs merge=lfs -text
46
+ images/hotel_pool.jpg filter=lfs diff=lfs merge=lfs -text
47
+ images/hotel_restaurants.jpg filter=lfs diff=lfs merge=lfs -text
48
+ images/hotel_room.jpg filter=lfs diff=lfs merge=lfs -text
49
+ images/hotel_suite.jpg filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -10,47 +10,55 @@ model-index:
10
  - name: hotel-image-classifier
11
  results:
12
  - task:
13
- name: Image Classification
14
- type: image-classification
15
  metrics:
16
  - name: Accuracy
17
  type: accuracy
18
- value: 0.6739130616188049
19
  ---
20
 
21
  # hotel-image-classifier
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
- #### hyatt beach
35
 
36
- ![hyatt beach](images/hyatt_beach.jpg)
37
 
38
- #### hyatt fitness
39
 
40
- ![hyatt fitness](images/hyatt_fitness.jpg)
41
 
42
- #### hyatt food
43
 
44
- ![hyatt food](images/hyatt_food.jpg)
45
 
46
- #### hyatt pool
47
 
48
- ![hyatt pool](images/hyatt_pool.jpg)
49
 
50
- #### hyatt restaurants
51
 
52
- ![hyatt restaurants](images/hyatt_restaurants.jpg)
53
 
54
- #### hyatt suites
55
 
56
- ![hyatt suites](images/hyatt_suites.jpg)
 
10
  - name: hotel-image-classifier
11
  results:
12
  - task:
13
+ name: Hotel Image Classification
14
+ type: hotel-image-classification
15
  metrics:
16
  - name: Accuracy
17
  type: accuracy
18
+ value: 0.7105262875556946
19
  ---
20
 
21
  # hotel-image-classifier
22
 
23
 
24
+ Hotel Cateogry Transformer..
25
 
 
26
 
27
+ ## Example Images
28
 
29
 
30
+ #### hotel beach
31
+
32
+ ![hotel beach](images/hotel_beach.jpg)
33
+
34
+ #### hotel fitness
35
+
36
+ ![hotel fitness](images/hotel_fitness.jpg)
37
+
38
+ #### hotel food
39
 
40
+ ![hotel food](images/hotel_food.jpg)
41
 
42
+ #### hotel lobby
43
 
44
+ ![hotel lobby](images/hotel_lobby.jpg)
45
 
46
+ #### hotel meetings
47
 
48
+ ![hotel meetings](images/hotel_meetings.jpg)
49
 
50
+ #### hotel pool
51
 
52
+ ![hotel pool](images/hotel_pool.jpg)
53
 
54
+ #### hotel restaurants
55
 
56
+ ![hotel restaurants](images/hotel_restaurants.jpg)
57
 
58
+ #### hotel room
59
 
60
+ ![hotel room](images/hotel_room.jpg)
61
 
62
+ #### hotel suite
63
 
64
+ ![hotel suite](images/hotel_suite.jpg)
config.json CHANGED
@@ -9,23 +9,29 @@
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
  "id2label": {
12
- "0": "hyatt beach",
13
- "1": "hyatt fitness",
14
- "2": "hyatt food",
15
- "3": "hyatt pool",
16
- "4": "hyatt restaurants",
17
- "5": "hyatt suites"
 
 
 
18
  },
19
  "image_size": 224,
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
22
  "label2id": {
23
- "hyatt beach": "0",
24
- "hyatt fitness": "1",
25
- "hyatt food": "2",
26
- "hyatt pool": "3",
27
- "hyatt restaurants": "4",
28
- "hyatt suites": "5"
 
 
 
29
  },
30
  "layer_norm_eps": 1e-12,
31
  "model_type": "vit",
 
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": "hotel beach",
13
+ "1": "hotel fitness",
14
+ "2": "hotel food",
15
+ "3": "hotel lobby",
16
+ "4": "hotel meetings",
17
+ "5": "hotel pool",
18
+ "6": "hotel restaurants",
19
+ "7": "hotel room",
20
+ "8": "hotel suite"
21
  },
22
  "image_size": 224,
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
+ "hotel beach": "0",
27
+ "hotel fitness": "1",
28
+ "hotel food": "2",
29
+ "hotel lobby": "3",
30
+ "hotel meetings": "4",
31
+ "hotel pool": "5",
32
+ "hotel restaurants": "6",
33
+ "hotel room": "7",
34
+ "hotel suite": "8"
35
  },
36
  "layer_norm_eps": 1e-12,
37
  "model_type": "vit",
images/hotel_beach.jpg ADDED

Git LFS Details

  • SHA256: e68526cc888b3e14f06fa10ed1f7a77097653dd15b89c21468561e80255762a4
  • Pointer size: 130 Bytes
  • Size of remote file: 19.4 kB
images/hotel_fitness.jpg ADDED

Git LFS Details

  • SHA256: 660434ddeb6584cbbf3a5a54a67af1213193f40fc503ba0dfd81b15bc905bd04
  • Pointer size: 131 Bytes
  • Size of remote file: 133 kB
images/hotel_food.jpg ADDED

Git LFS Details

  • SHA256: 524edf4b2b6f069dbba4e9d8c2247d93c629814a6afa458c0636d0106a9dcdb6
  • Pointer size: 131 Bytes
  • Size of remote file: 563 kB
images/hotel_lobby.jpg ADDED

Git LFS Details

  • SHA256: c8bd966a5ab93c411e8311dcbef33fffb2cca126cc962064d53d8d1c81a6047d
  • Pointer size: 131 Bytes
  • Size of remote file: 257 kB
images/hotel_meetings.jpg ADDED

Git LFS Details

  • SHA256: f7bb5eb22630f98521c364e76a3bfebc630ce01bd94455079a6aec44e8b16373
  • Pointer size: 131 Bytes
  • Size of remote file: 438 kB
images/hotel_pool.jpg ADDED

Git LFS Details

  • SHA256: b89e8ea606c4a2ed5f970b686e961d4a2e626707e9eb200c47f5d40ac920c5dc
  • Pointer size: 131 Bytes
  • Size of remote file: 422 kB
images/hotel_restaurants.jpg ADDED

Git LFS Details

  • SHA256: 524edf4b2b6f069dbba4e9d8c2247d93c629814a6afa458c0636d0106a9dcdb6
  • Pointer size: 131 Bytes
  • Size of remote file: 563 kB
images/hotel_room.jpg ADDED

Git LFS Details

  • SHA256: e2f739b9aba782b4c699e1d1356f306a33dd4f2d2f4ba5ee47743ef35ee2bf1e
  • Pointer size: 130 Bytes
  • Size of remote file: 22.6 kB
images/hotel_suite.jpg ADDED

Git LFS Details

  • SHA256: a5ea0e777ecfb574717dbba7f772933d3c4b98e3f2fdbc7345322dfcda17a533
  • Pointer size: 130 Bytes
  • Size of remote file: 14 kB
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3535d8f121f437872ff345ff953092dcddb832c3671e879aa2768ad432fcb234
3
- size 343278253
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cc5aded2d55b861b0766197426dbc7a28516841b9b3ebead739c6e18d7c13c7
3
+ size 343287469
runs/events.out.tfevents.1672087416.747e91048218 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46b2a8205504a83fe572827c5270404f35ea99a66041de6306626a99c61aab53
3
+ size 2175