Create config.json
Browse files- config.json +27 -0
config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "sentiment_analysis.h5",
|
| 3 |
+
"activation": "sigmoid",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"Bidirectional LSTM with Embedding Layer"
|
| 6 |
+
],
|
| 7 |
+
"dim": 128,
|
| 8 |
+
"id2label": {
|
| 9 |
+
"0": "negative",
|
| 10 |
+
"0.5": "neutral",
|
| 11 |
+
"1": "positive"
|
| 12 |
+
},
|
| 13 |
+
"label2id": {
|
| 14 |
+
"negative": 0,
|
| 15 |
+
"neutral": 0.5,
|
| 16 |
+
"positive": 1
|
| 17 |
+
},
|
| 18 |
+
"dropout": 0.5,
|
| 19 |
+
"hidden_dim": 64,
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"max_position_embeddings": 537000,
|
| 22 |
+
"model_type": "LSTM-based Sentiment Analysis Model",
|
| 23 |
+
"n_heads": 8,
|
| 24 |
+
"n_layers": 2,
|
| 25 |
+
"tie_weights_": true,
|
| 26 |
+
"vocab_size": 537000
|
| 27 |
+
}
|