-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
feat / cliFeature: Command-line interfaceFeature: Command-line interface
Description
How to reproduce the behaviour
- Executed
spacy project run create-configfor ner_demo_update project - Run
spacy debug model configs/config.cfg ner -P0 -P1 --gpu-id 0
========================== STEP 0 - before training ==========================
...
ℹ Layer 66: model ID 175: 'maxout'
ℹ Layer 67: model ID 176: 'layernorm'
✘ Could not initialize the model: you'll have to provide a valid
'train_corpus' argument in the config file.
- Executed
spacy project run train- successfully - Edited config.cfg file by adding params like in command line
--paths.train corpus/train.spacy --paths.dev corpus/dev.spacy --training.eval_frequency 10 --training.max_steps 500 --training.patience 50andrun spacy debug model- error remains the same.
I tried to edit this config.cfg with my data and by deleting some components from pipeline, but i can not know exactly if these error mine or from original config.
Your Environment
- spaCy version: 3.4.1
- Platform: Linux-5.15.0-48-generic-x86_64-with-glibc2.35
- Python version: 3.9.13
- Pipelines: en_core_web_sm (3.4.1), en_core_web_lg (3.4.1), en_core_web_trf (3.4.1)
- ** Environment Information:** conda env
Metadata
Metadata
Assignees
Labels
feat / cliFeature: Command-line interfaceFeature: Command-line interface