From 9cf8ac87be923e267a7d59b46966f1d105661f0d Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Fri, 14 Jul 2023 21:44:13 +0200 Subject: [PATCH] Remove incorrect argument shorthands for LLM properties. --- spacy/cli/init_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/cli/init_config.py b/spacy/cli/init_config.py index 0ff431f6c..7c6464b60 100644 --- a/spacy/cli/init_config.py +++ b/spacy/cli/init_config.py @@ -55,8 +55,8 @@ def init_config_cli( output_file: Path = Arg(..., help="File to save the config to or - for stdout (will only output config and no additional logging info)", allow_dash=True), lang: str = Opt(InitValues.lang, "--lang", "-l", help="Two-letter code of the language to use"), pipeline: str = Opt(",".join(InitValues.pipeline), "--pipeline", "-p", help="Comma-separated names of trainable pipeline components to include (without 'tok2vec' or 'transformer')"), - llm_task: str = Opt(InitValues.llm_task, "--llm.task", "-p", help="Name of task for LLM pipeline components"), - llm_model: str = Opt(InitValues.llm_model, "--llm.model", "-p", help="Name of model for LLM pipeline components"), + llm_task: str = Opt(InitValues.llm_task, "--llm.task", help="Name of task for LLM pipeline components"), + llm_model: str = Opt(InitValues.llm_model, "--llm.model", help="Name of model for LLM pipeline components"), optimize: Optimizations = Opt(InitValues.optimize, "--optimize", "-o", help="Whether to optimize for efficiency (faster inference, smaller model, lower memory consumption) or higher accuracy (potentially larger and slower model). This will impact the choice of architecture, pretrained weights and related hyperparameters."), gpu: bool = Opt(InitValues.gpu, "--gpu", "-G", help="Whether the model can run on GPU. This will impact the choice of architecture, pretrained weights and related hyperparameters."), pretraining: bool = Opt(InitValues.pretraining, "--pretraining", "-pt", help="Include config for pretraining (with 'spacy pretrain')"),