add normalize option to distance metric

This commit is contained in:
svlandeg 2020-06-03 14:52:54 +02:00
parent ffe0451d09
commit ddf8244df9

View File

@ -76,6 +76,7 @@ learn_rate = 0.001
[pretraining.loss_func]
@losses = "CosineDistance.v1"
normalize = true
[nlp]
lang = "en"