Update from code review

This commit is contained in:
Paul O'Leary McCann 2023-02-13 12:06:33 +09:00
parent b9537ec03d
commit 4279c73b6d

View File

@ -253,8 +253,11 @@ $ python -m spacy init labels [config_path] [output_path] [--code] [--verbose] [
## configure {id="configure", version="TODO"} ## configure {id="configure", version="TODO"}
Modify or combine existing configs in high-level ways. Can be used to automate Modify or combine existing configs. Example uses include swapping feature
config changes made as part of the development cycle. sources or creating configs to resume training. This may simplify parts of the
development cycle. For example, it allows starting off with a config for a
faster, less accurate model (using the CNN tok2vec) and conveniently switching
to transformers later, without having to manually adjust the config.
### configure resume {id="configure-resume", tag="command"} ### configure resume {id="configure-resume", tag="command"}
@ -1283,7 +1286,6 @@ $ python -m spacy apply [model] [data-path] [output-file] [--code] [--text-key]
| `--help`, `-h` | Show help message and available arguments. ~~bool (flag)~~ | | `--help`, `-h` | Show help message and available arguments. ~~bool (flag)~~ |
| **CREATES** | A `DocBin` with the annotations from the `model` for all the files found in `data-path`. | | **CREATES** | A `DocBin` with the annotations from the `model` for all the files found in `data-path`. |
## find-threshold {id="find-threshold",version="3.5",tag="command"} ## find-threshold {id="find-threshold",version="3.5",tag="command"}
Runs prediction trials for a trained model with varying tresholds to maximize Runs prediction trials for a trained model with varying tresholds to maximize