Add model
Browse files- classes.dict +3 -0
- config.json +20 -0
- model.h5 +3 -0
- model_opt.json +39 -0
- pytorch_model.bin +3 -0
- vocab.txt +0 -0
classes.dict
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
1 90717
|
2 |
+
2 49736
|
3 |
+
0 49438
|
config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"attention_probs_dropout_prob": 0.1,
|
3 |
+
"directionality": "bidi",
|
4 |
+
"hidden_act": "gelu",
|
5 |
+
"hidden_dropout_prob": 0.1,
|
6 |
+
"hidden_size": 768,
|
7 |
+
"initializer_range": 0.02,
|
8 |
+
"intermediate_size": 3072,
|
9 |
+
"max_position_embeddings": 512,
|
10 |
+
"num_attention_heads": 12,
|
11 |
+
"num_hidden_layers": 12,
|
12 |
+
"pooler_fc_size": 768,
|
13 |
+
"pooler_num_attention_heads": 12,
|
14 |
+
"pooler_num_fc_layers": 3,
|
15 |
+
"pooler_size_per_head": 128,
|
16 |
+
"pooler_type": "first_token_transform",
|
17 |
+
"type_vocab_size": 2,
|
18 |
+
"vocab_size": 119547,
|
19 |
+
"model_type": "bert"
|
20 |
+
}
|
model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:090d84f77a44aedfa98dcb227b7e9e46e313bd446afa2c2c9f747bb20ee481df
|
3 |
+
size 24290872
|
model_opt.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"embedding_size": 768,
|
3 |
+
"n_classes": 3,
|
4 |
+
"model_name": "cnn_model",
|
5 |
+
"optimizer": "Adam",
|
6 |
+
"loss": "categorical_crossentropy",
|
7 |
+
"learning_rate": 0.01,
|
8 |
+
"learning_rate_decay": 0.1,
|
9 |
+
"last_layer_activation": "softmax",
|
10 |
+
"restore_lr": false,
|
11 |
+
"classes": null,
|
12 |
+
"text_size": null,
|
13 |
+
"padding": "pre",
|
14 |
+
"in": [
|
15 |
+
"word_emb"
|
16 |
+
],
|
17 |
+
"in_y": [
|
18 |
+
"y_onehot"
|
19 |
+
],
|
20 |
+
"out": [
|
21 |
+
"y_pred_probas"
|
22 |
+
],
|
23 |
+
"main": true,
|
24 |
+
"save_path": "/content/drive/MyDrive/BERT/custom_bert/model",
|
25 |
+
"load_path": "/content/drive/MyDrive/BERT/custom_bert/model",
|
26 |
+
"kernel_sizes_cnn": [
|
27 |
+
3,
|
28 |
+
5,
|
29 |
+
7
|
30 |
+
],
|
31 |
+
"filters_cnn": 512,
|
32 |
+
"coef_reg_cnn": 0.001,
|
33 |
+
"coef_reg_den": 0.01,
|
34 |
+
"dropout_rate": 0.5,
|
35 |
+
"dense_size": 100,
|
36 |
+
"mode": "infer",
|
37 |
+
"final_learning_rate": 0.009999999776482582,
|
38 |
+
"epochs_done": 0
|
39 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fc968f65e8a0e481033c2f1dced07d29da62365161e4eb7f6f4e755d74d9c260
|
3 |
+
size 714312947
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|