Update docs

This commit is contained in:
Ines Montani 2020-07-12 12:32:28 +02:00
parent 8a67ddd6f1
commit 3f948b9c74
2 changed files with 13 additions and 7 deletions

View File

@ -151,12 +151,11 @@ not just define static settings, but also construct objects like architectures,
schedules, optimizers or any other custom components. The main top-level
sections of a config file are:
<!-- TODO: explain blocks and basic structure -->
| Section | Description |
| ---------- | ----------------------------------------------------------------------------------------------------- |
| `training` | Settings and controls for the training and evaluation process. |
| `nlp` | Definition of the [processing pipeline](/docs/processing-pipelines), its components and their models. |
| Section | Description |
| ------------- | ----------------------------------------------------------------------------------------------------- |
| `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. |
<Infobox title="Config format and settings" emoji="📖">

View File

@ -358,6 +358,14 @@ body [id]:target
&.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
background-color: var(--color-dark-secondary)
border-left: 0.35em solid var(--color-theme)
@ -371,7 +379,6 @@ body [id]:target
// Fix issue where empty lines would disappear
content: " "
// CodeMirror
.CodeMirror.cm-s-default