diff --git a/spacy/cli/benchmark_speed.py b/spacy/cli/benchmark_speed.py index 8cff0c353..c3456d8c8 100644 --- a/spacy/cli/benchmark_speed.py +++ b/spacy/cli/benchmark_speed.py @@ -153,7 +153,7 @@ def print_mean_with_ci(sample: numpy.ndarray): low = bootstrap_means[int(len(bootstrap_means) * 0.025)] high = bootstrap_means[int(len(bootstrap_means) * 0.975)] - print(f"Mean: {mean:.1f} WPS (95% CI: {low-mean:.1f} +{high-mean:.1f})") + print(f"Mean: {mean:.1f} words/s (95% CI: {low-mean:.1f} +{high-mean:.1f})") def print_outliers(sample: numpy.ndarray): diff --git a/website/docs/api/cli.mdx b/website/docs/api/cli.mdx index f82359a09..5c691fee1 100644 --- a/website/docs/api/cli.mdx +++ b/website/docs/api/cli.mdx @@ -1194,7 +1194,7 @@ $ python -m spacy benchmark speed [model] [data_path] [--batch_size] [--no-shuff | `--batches` | Number of batches to benchmark on. Defaults to `50`. ~~Optional[int] \(option)~~ | | `--warmup`, `-w` | Iterations over the benchmark data for warmup. Defaults to `3` ~~Optional[int] \(option)~~ | | `--help`, `-h` | Show help message and available arguments. ~~bool (flag)~~ | -| **PRINTS** | Pipeline speed with 95% confidence interval. | +| **PRINTS** | Pipeline speed in words per second with a 95% confidence interval. | ## apply {id="apply", version="3.5", tag="command"}