我正在尝试从头开始为自定义NLP管道创建一个新的Spacy 3.0项目。似乎没有办法做到这一点。我在文档中找到的唯一机制是克隆现有的项目存储库,然后对其进行编辑。还有别的方法吗
>>> python -m spacy project --help
Usage: python -m spacy project [OPTIONS] COMMAND [ARGS]...
Command-line interface for spaCy projects and templates. You'd typically
start by cloning a project template to a local directory and fetching its
assets like datasets etc. See the project's project.yml for the available
commands.
Options:
--help Show this message and exit.
Commands:
assets Fetch project assets like datasets and pretrained weights.
clone Clone a project template from a repository.
document Auto-generate a README.md for a project.
dvc Auto-generate Data Version Control (DVC) config.
pull Retrieve available precomputed outputs from a remote storage.
push Persist outputs to a remote storage.
run Run a named command or workflow defined in the project.yml.
您只需要一个包含
project.yml
的目录。最小的一个命令project.yml
:几乎所有事情都是可选的。不需要资产:
运行一个已定义的命令:
见:https://spacy.io/usage/projects#project-yml
相关问题 更多 >
编程相关推荐