Fix pretraining objectives fragment (#8005)

* Fix pretraining objectives fragment

The fragment here is reused from a heading higher up, so you couldn't
link to this section.

* Fix section link to new fragment
This commit is contained in:
Paul O'Leary McCann 2021-05-06 15:27:36 +09:00 committed by GitHub
parent a71194362f
commit 66bfabd839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -678,7 +678,7 @@ The following defaults are used for the `[pretraining]` block and merged into
your existing config when you run [`init config`](/api/cli#init-config) or your existing config when you run [`init config`](/api/cli#init-config) or
[`init fill-config`](/api/cli#init-fill-config) with `--pretraining`. If needed, [`init fill-config`](/api/cli#init-fill-config) with `--pretraining`. If needed,
you can [configure](#pretraining-configure) the settings and hyperparameters or you can [configure](#pretraining-configure) the settings and hyperparameters or
change the [objective](#pretraining-details). change the [objective](#pretraining-objectives).
```ini ```ini
%%GITHUB_SPACY/spacy/default_config_pretraining.cfg %%GITHUB_SPACY/spacy/default_config_pretraining.cfg
@ -732,7 +732,7 @@ component = "textcat"
layer = "tok2vec" layer = "tok2vec"
``` ```
#### Pretraining objectives {#pretraining-details} #### Pretraining objectives {#pretraining-objectives}
> ```ini > ```ini
> ### Characters objective > ### Characters objective