Skip to content

Commit

Permalink
modify training_configs related issue allenai#1954 (allenai#1997)
Browse files Browse the repository at this point in the history
  • Loading branch information
WrRan authored and matt-gardner committed Nov 7, 2018
1 parent 481c181 commit 68cbfb8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
3 changes: 2 additions & 1 deletion training_config/bidaf.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"byte_encoding": "utf-8",
"start_tokens": [259],
"end_tokens": [260]
}
},
"min_padding_length": 5
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion training_config/bidaf_elmo.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"byte_encoding": "utf-8",
"start_tokens": [259],
"end_tokens": [260]
}
},
"min_padding_length": 5
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion training_config/coref.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"lowercase_tokens": false
},
"token_characters": {
"type": "characters"
"type": "characters",
"min_padding_length": 5
}
},
"max_span_width": 10
Expand Down
3 changes: 2 additions & 1 deletion training_config/dialog_qa.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"start_tokens": [
259
]
}
},
"min_padding_length": 5
}
}
},
Expand Down
5 changes: 3 additions & 2 deletions training_config/ner.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"lowercase_tokens": true
},
"token_characters": {
"type": "characters"
},
"type": "characters",
"min_padding_length": 3
}
}
},
"train_data_path": std.extVar("NER_TRAIN_DATA_PATH"),
Expand Down
3 changes: 2 additions & 1 deletion training_config/ner_elmo.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"lowercase_tokens": true
},
"token_characters": {
"type": "characters"
"type": "characters",
"min_padding_length": 3
},
"elmo": {
"type": "elmo_characters"
Expand Down

0 comments on commit 68cbfb8

Please sign in to comment.