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 GitHub
parent 33d9c64977
commit a26f864ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

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