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