mirror of https://github.com/explosion/spaCy.git
Update docs
This commit is contained in:
parent
8a67ddd6f1
commit
3f948b9c74
|
@ -151,11 +151,10 @@ not just define static settings, but also construct objects like architectures,
|
||||||
schedules, optimizers or any other custom components. The main top-level
|
schedules, optimizers or any other custom components. The main top-level
|
||||||
sections of a config file are:
|
sections of a config file are:
|
||||||
|
|
||||||
<!-- TODO: explain blocks and basic structure -->
|
|
||||||
|
|
||||||
| Section | Description |
|
| Section | Description |
|
||||||
| ---------- | ----------------------------------------------------------------------------------------------------- |
|
| ------------- | ----------------------------------------------------------------------------------------------------- |
|
||||||
| `training` | Settings and controls for the training and evaluation process. |
|
| `training` | Settings and controls for the training and evaluation process. |
|
||||||
|
| `pretraining` | Optional settings and controls for the [language model pretraining](#pretraining). |
|
||||||
| `nlp` | Definition of the [processing pipeline](/docs/processing-pipelines), its components and their models. |
|
| `nlp` | Definition of the [processing pipeline](/docs/processing-pipelines), its components and their models. |
|
||||||
|
|
||||||
<Infobox title="Config format and settings" emoji="📖">
|
<Infobox title="Config format and settings" emoji="📖">
|
||||||
|
|
|
@ -358,6 +358,14 @@ body [id]:target
|
||||||
&.italic
|
&.italic
|
||||||
font-style: italic
|
font-style: italic
|
||||||
|
|
||||||
|
// Settings for ini syntax (config files)
|
||||||
|
[class*="language-ini"]
|
||||||
|
color: var(--syntax-comment)
|
||||||
|
|
||||||
|
.token
|
||||||
|
color: var(--color-subtle)
|
||||||
|
|
||||||
|
|
||||||
.gatsby-highlight-code-line
|
.gatsby-highlight-code-line
|
||||||
background-color: var(--color-dark-secondary)
|
background-color: var(--color-dark-secondary)
|
||||||
border-left: 0.35em solid var(--color-theme)
|
border-left: 0.35em solid var(--color-theme)
|
||||||
|
@ -371,7 +379,6 @@ body [id]:target
|
||||||
// Fix issue where empty lines would disappear
|
// Fix issue where empty lines would disappear
|
||||||
content: " "
|
content: " "
|
||||||
|
|
||||||
|
|
||||||
// CodeMirror
|
// CodeMirror
|
||||||
|
|
||||||
.CodeMirror.cm-s-default
|
.CodeMirror.cm-s-default
|
||||||
|
|
Loading…
Reference in New Issue