This commit is contained in:
Adriane Boyd 2023-01-18 10:19:22 +01:00
parent 8f0d3b2988
commit 6f87f46bbc
3 changed files with 6 additions and 8 deletions

4
.gitignore vendored
View File

@ -11,8 +11,8 @@ spacy/tests/package/pyproject.toml
spacy/tests/package/requirements.txt spacy/tests/package/requirements.txt
# Website # Website
website/.cache/ website/.cache
website/public/ website/public
website/node_modules website/node_modules
website/.npm website/.npm
website/logs website/logs

View File

@ -29,11 +29,9 @@ $ spacy apply en_core_web_sm my_texts/ output.spacy
The [`benchmark` CLI](/api/cli#benchmark) has been added to extend the existing The [`benchmark` CLI](/api/cli#benchmark) has been added to extend the existing
`evaluate` functionality with a wider range of profiling subcommands. `evaluate` functionality with a wider range of profiling subcommands.
The `benchmark accuracy` CLI is introduced as an alias for `evaluate`. The `benchmark accuracy` CLI is introduced as an alias for `evaluate`. The new
`benchmark speed` CLI performs warmup rounds before measuring the speed in words
The new `benchmark speed` CLI performs warmup rounds before measuing the speed per second on batches of randomly shuffled documents from the provided data.
in words per second on batches of randomly shuffled documents from the provided
data.
```bash ```bash
$ spacy benchmark speed my_pipeline data.spacy $ spacy benchmark speed my_pipeline data.spacy