2020-03-08 12:23:18 +00:00
|
|
|
[training]
|
|
|
|
use_gpu = -1
|
|
|
|
limit = 0
|
|
|
|
dropout = 0.2
|
|
|
|
patience = 10000
|
|
|
|
eval_frequency = 200
|
2020-05-18 20:23:33 +00:00
|
|
|
scores = ["ents_p", "ents_r", "ents_f"]
|
2020-03-08 12:23:18 +00:00
|
|
|
score_weights = {"ents_f": 1}
|
|
|
|
orth_variant_level = 0.0
|
|
|
|
gold_preproc = true
|
|
|
|
max_length = 0
|
2020-05-20 09:41:12 +00:00
|
|
|
seed = 0
|
|
|
|
accumulate_gradient = 2
|
2020-06-03 08:04:16 +00:00
|
|
|
discard_oversize = false
|
2020-05-18 20:23:33 +00:00
|
|
|
|
|
|
|
[training.batch_size]
|
|
|
|
@schedules = "compounding.v1"
|
|
|
|
start = 3000
|
|
|
|
stop = 3000
|
|
|
|
compound = 1.001
|
|
|
|
|
2020-03-08 12:23:18 +00:00
|
|
|
|
2020-06-03 08:04:16 +00:00
|
|
|
[training.optimizer]
|
2020-03-08 12:23:18 +00:00
|
|
|
@optimizers = "Adam.v1"
|
|
|
|
learn_rate = 0.001
|
|
|
|
beta1 = 0.9
|
|
|
|
beta2 = 0.999
|
|
|
|
|
|
|
|
[nlp]
|
|
|
|
lang = "en"
|
|
|
|
vectors = null
|
|
|
|
|
|
|
|
[nlp.pipeline.ner]
|
2020-09-09 14:11:27 +00:00
|
|
|
factory = "ner"
|
2020-03-08 12:23:18 +00:00
|
|
|
|
|
|
|
[nlp.pipeline.ner.model]
|
2020-09-09 14:11:27 +00:00
|
|
|
@architectures = "spacy.TransitionBasedParser.v1"
|
|
|
|
nr_feature_tokens = 6
|
|
|
|
hidden_width = 64
|
|
|
|
maxout_pieces = 2
|
2020-03-08 12:23:18 +00:00
|
|
|
|
|
|
|
[nlp.pipeline.ner.model.tok2vec]
|
2020-05-18 20:23:33 +00:00
|
|
|
@architectures = "spacy.HashEmbedCNN.v1"
|
|
|
|
width = 128
|
|
|
|
depth = 4
|
|
|
|
embed_size = 7000
|
|
|
|
maxout_pieces = 3
|
|
|
|
window_size = 1
|
|
|
|
subword_features = true
|
|
|
|
pretrained_vectors = null
|
2020-06-03 09:53:59 +00:00
|
|
|
dropout = null
|