kkesarwani commited on
Commit
2ab3c91
Β·
1 Parent(s): 1b5593d

updated the model

Browse files
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -15,7 +15,7 @@ with open('label_names.txt', 'r') as f:
15
  encoder = LabelEncoder()
16
  encoder.fit(labels)
17
 
18
- model = tf.keras.models.load_model('models/best_gru_model.keras')
19
 
20
  nlp = spacy.load("en_core_web_sm")
21
 
 
15
  encoder = LabelEncoder()
16
  encoder.fit(labels)
17
 
18
+ model = tf.keras.models.load_model('models/gru_model.keras')
19
 
20
  nlp = spacy.load("en_core_web_sm")
21
 
flagged/.DS_Store ADDED
Binary file (6.15 kB). View file
 
models/{best_gru_model.keras β†’ gru_128.keras} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f1ec111d04883a93a25267f725bb36a0cd2f015997b2208cb1f162f9d5478412
3
- size 48012266
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5edbb0bcd94309eb670f83a347c9f8000b033feb3fa04ee2657f25aca4bb2092
3
+ size 65603039
models/gru_model.keras CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a6cd2fc5dada2780c944014184817c11ade92ffd3067e873b2e4a27469986d71
3
- size 31520262
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c88b8f736b0f6628567bc8c1317c5f2948011fd8a2cc8615d87591c133d428a
3
+ size 48554998
models/{best_lstm_model.keras β†’ gru_model_sigmoid.keras} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5daad41a75be2b59c87677d390e0f26065d328c74753cee8db8758f44e349fd
3
- size 48304121
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6bb0ffe5768d89a589f943a1c5cd713c59ae35f7ca38a66282c2d93a9c04f07
3
+ size 8933159
models/gru_model_softmax.keras CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2188d7a0473483774e4aae09bc7db8d1848724d9a151c5d685a4baf0a74dbded
3
- size 9241157
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81a5d82e42ffca8914e43e58d4d6781bc9172c191123f04e2604e23cea53fff0
3
+ size 9241151
models/gru_var_units.keras ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2edf9cd81913b0ece1d30b8f4aa13be290dd320164ba121714ea83911db564e9
3
+ size 33460694
models/lstm_model.keras CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a36d9e440b19d51a027af0c4b28855681a16f06da056347e3cf4f6fa5ba1b204
3
- size 31556373
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b89d6963e373d1d542b1a8e6300dd15e57325a75a6a31cb57959084784ce6bd
3
+ size 48651781
models/model_info.csv ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Model Name,Test Accuracy,Epochs,Train Time,Train Size,Validation Size,Hidden Units,Embedding Units
2
+ GRU Sigmoid,93.52,5,15.61,14124,1741,64,64
3
+ GRU Softmax,94.37,5,27.48,14124,1741,64,64
4
+ GRU Model,97.62,5,394.23,417265,1919,64,64
5
+ LSTM Model,97.88,5,450.03,417265,1919,64,64
6
+ GRU MODEL1,97.47,5,230.75,198596,848,128,64
7
+ GRU MODEL2,97.05,5,296.86,198596,848,128,128
new_text.txt DELETED
@@ -1,9 +0,0 @@
1
- Text,Label
2
- I love donuts,joy
3
- I am going to the mall with my friends! its going to be too much fun,joy
4
- I love the place ,joy
5
- im afraid your dog will bite me,fear
6
- I am not going to hang out with you, you make me furious,anger
7
- I am furious with your behaviour ,anger
8
- I can't believe he would do such a thing,fearlets go shopping,anger"lets get going, we're getting late",anger
9
- lets go out,sadness