mirror of https://github.com/explosion/spaCy.git
45 lines
736 B
INI
45 lines
736 B
INI
[training]
|
|
use_gpu = -1
|
|
limit = 0
|
|
dropout = 0.2
|
|
patience = 10000
|
|
eval_frequency = 200
|
|
scores = ["ents_p", "ents_r", "ents_f"]
|
|
score_weights = {"ents_f": 1}
|
|
orth_variant_level = 0.0
|
|
gold_preproc = true
|
|
max_length = 0
|
|
|
|
[training.batch_size]
|
|
@schedules = "compounding.v1"
|
|
start = 3000
|
|
stop = 3000
|
|
compound = 1.001
|
|
|
|
|
|
[optimizer]
|
|
@optimizers = "Adam.v1"
|
|
learn_rate = 0.001
|
|
beta1 = 0.9
|
|
beta2 = 0.999
|
|
|
|
[nlp]
|
|
lang = "en"
|
|
vectors = null
|
|
|
|
[nlp.pipeline.ner]
|
|
factory = "simple_ner"
|
|
|
|
[nlp.pipeline.ner.model]
|
|
@architectures = "spacy.BiluoTagger.v1"
|
|
|
|
[nlp.pipeline.ner.model.tok2vec]
|
|
@architectures = "spacy.HashEmbedCNN.v1"
|
|
width = 128
|
|
depth = 4
|
|
embed_size = 7000
|
|
maxout_pieces = 3
|
|
window_size = 1
|
|
subword_features = true
|
|
pretrained_vectors = null
|