Skip to content

Issue with debug model for ner_demo_update project #12134

@lzmodel

Description

@lzmodel

How to reproduce the behaviour

  1. Executed spacy project run create-config for ner_demo_update project
  2. 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.

  1. Executed spacy project run train - successfully
  2. 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 50 and run 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

No one assigned

    Labels

    feat / cliFeature: Command-line interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions