mirror of https://github.com/explosion/spaCy.git
add normalize option to distance metric
This commit is contained in:
parent
ffe0451d09
commit
ddf8244df9
|
@ -76,6 +76,7 @@ learn_rate = 0.001
|
||||||
|
|
||||||
[pretraining.loss_func]
|
[pretraining.loss_func]
|
||||||
@losses = "CosineDistance.v1"
|
@losses = "CosineDistance.v1"
|
||||||
|
normalize = true
|
||||||
|
|
||||||
[nlp]
|
[nlp]
|
||||||
lang = "en"
|
lang = "en"
|
||||||
|
|
Loading…
Reference in New Issue