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

commit files to HF hub

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

Git LFS Details

  • SHA256: d022c86b6dbdd6026aab784f44aa06a423e35f3845c032034cd869c7c37838e2
  • Pointer size: 130 Bytes
  • Size of remote file: 24.7 kB
images/beach.jpg ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: f5567722dfcc12e5e483378063a5f94e25c69e8fe0f096125cfbe9978083365c
  • Pointer size: 131 Bytes
  • Size of remote file: 343 kB
images/meetings.jpg ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: e2f739b9aba782b4c699e1d1356f306a33dd4f2d2f4ba5ee47743ef35ee2bf1e
  • Pointer size: 130 Bytes
  • Size of remote file: 22.6 kB
images/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:4cc5aded2d55b861b0766197426dbc7a28516841b9b3ebead739c6e18d7c13c7
3
- size 343287469
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fea2c574cd88858f62435f3fd736cdc011c75b4602034067fdcc4c12024ade4
3
+ size 343290541
runs/events.out.tfevents.1672101495.c5a8d66aacb4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d188d960dff4465d242e30accf20bb78df28b053da8c815d98ab9581852a072b
3
+ size 2364