Update docs [ci skip]

This commit is contained in:
Ines Montani 2020-09-09 11:20:07 +02:00
parent d98ae9d918
commit 406aed78ee
2 changed files with 3 additions and 1 deletions

View File

@ -831,6 +831,8 @@ so you can compare their results. The following script starts an
argument you can pass in from your `config.yml`: a comma-separated list of paths
to load the pipelines from and an example text to use as the default text.
<!-- TODO: replace with embed -->
```python
### scripts/visualize.py
import spacy_streamlit

View File

@ -683,7 +683,7 @@ You can also implement your own batch size schedule to use during training. The
import spacy
@spacy.registry.schedules("my_custom_schedule.v1")
def my_custom_schedule(start: int = 1, factor: int = 1.001):
def my_custom_schedule(start: int = 1, factor: float = 1.001):
while True:
yield start
start = start * factor