Spaces:
Sleeping
Sleeping
Commit
Β·
2ab3c91
1
Parent(s):
1b5593d
updated the model
Browse files- .DS_Store +0 -0
- app.py +1 -1
- flagged/.DS_Store +0 -0
- models/{best_gru_model.keras β gru_128.keras} +2 -2
- models/gru_model.keras +2 -2
- models/{best_lstm_model.keras β gru_model_sigmoid.keras} +2 -2
- models/gru_model_softmax.keras +2 -2
- models/gru_var_units.keras +3 -0
- models/lstm_model.keras +2 -2
- models/model_info.csv +7 -0
- new_text.txt +0 -9
.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/
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|