mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
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]
|
||||
@losses = "CosineDistance.v1"
|
||||
normalize = true
|
||||
|
||||
[nlp]
|
||||
lang = "en"
|
||||
|
|
Loading…
Reference in New Issue
Block a user