LysandreJik
commited on
Commit
路
ce3e0db
1
Parent(s):
0abccbf
Actual model
Browse files- config.json +11 -1
- weights.th +2 -2
config.json
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
"dataset_reader": {
|
3 |
"type": "squad",
|
4 |
"token_indexers": {
|
|
|
|
|
|
|
5 |
"token_characters": {
|
6 |
"type": "characters",
|
7 |
"character_tokenizer": {
|
@@ -43,7 +46,7 @@
|
|
43 |
"type": "lstm",
|
44 |
"bidirectional": true,
|
45 |
"hidden_size": 100,
|
46 |
-
"input_size":
|
47 |
"num_layers": 1
|
48 |
},
|
49 |
"span_end_encoder": {
|
@@ -55,6 +58,13 @@
|
|
55 |
},
|
56 |
"text_field_embedder": {
|
57 |
"token_embedders": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
"token_characters": {
|
59 |
"type": "character_encoding",
|
60 |
"dropout": 0.2,
|
|
|
2 |
"dataset_reader": {
|
3 |
"type": "squad",
|
4 |
"token_indexers": {
|
5 |
+
"elmo": {
|
6 |
+
"type": "elmo_characters"
|
7 |
+
},
|
8 |
"token_characters": {
|
9 |
"type": "characters",
|
10 |
"character_tokenizer": {
|
|
|
46 |
"type": "lstm",
|
47 |
"bidirectional": true,
|
48 |
"hidden_size": 100,
|
49 |
+
"input_size": 1224,
|
50 |
"num_layers": 1
|
51 |
},
|
52 |
"span_end_encoder": {
|
|
|
58 |
},
|
59 |
"text_field_embedder": {
|
60 |
"token_embedders": {
|
61 |
+
"elmo": {
|
62 |
+
"type": "elmo_token_embedder",
|
63 |
+
"do_layer_norm": false,
|
64 |
+
"dropout": 0,
|
65 |
+
"options_file": "https://allennlp.s3.amazonaws.com/models/elmo/2x4096_512_2048cnn_2xhighway/elmo_2x4096_512_2048cnn_2xhighway_options.json",
|
66 |
+
"weight_file": "https://allennlp.s3.amazonaws.com/models/elmo/2x4096_512_2048cnn_2xhighway/elmo_2x4096_512_2048cnn_2xhighway_weights.hdf5"
|
67 |
+
},
|
68 |
"token_characters": {
|
69 |
"type": "character_encoding",
|
70 |
"dropout": 0.2,
|
weights.th
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:b9b0d7242e976ac0fc8f5c451ce60587dfd30a3f5af404f1ab102f1e16466e6d
|
3 |
+
size 450290500
|