Clarify how to choose pretrained weights files (closes #6027) [ci skip] (#6039)

This commit is contained in:
Marek Grzenkowicz 2020-09-08 21:13:50 +02:00 committed by Matthew Honnibal
parent 1a9897467d
commit f5d230ba00

View File

@ -445,7 +445,8 @@ an approximate language-modeling objective. Specifically, we load pretrained
vectors, and train a component like a CNN, BiLSTM, etc to predict vectors which vectors, and train a component like a CNN, BiLSTM, etc to predict vectors which
match the pretrained ones. The weights are saved to a directory after each match the pretrained ones. The weights are saved to a directory after each
epoch. You can then pass a path to one of these pretrained weights files to the epoch. You can then pass a path to one of these pretrained weights files to the
`spacy train` command. `spacy train` command. You can try to use a few with low `Loss` values reported
in the output.
This technique may be especially helpful if you have little labelled data. This technique may be especially helpful if you have little labelled data.
However, it's still quite experimental, so your mileage may vary. To load the However, it's still quite experimental, so your mileage may vary. To load the