The following components require a SpacyPreprocessorGraphComponent: run_SpacyTokenizer1.
See original GitHub issueI just tried to run rasa train
on the moodbot
example that I have here. It gave me this error:
> rasa train
┌────────────────────────────────────────────────────────────────────────────────┐
│ Rasa Open Source reports anonymous usage telemetry to help improve the product │
│ for all its users. │
│ │
│ If you'd like to opt-out, you can use `rasa telemetry disable`. │
│ To learn more, check out https://rasa.com/docs/rasa/telemetry/telemetry. │
└────────────────────────────────────────────────────────────────────────────────┘
/workspace/.pip-modules/lib/python3.7/site-packages/rasa/engine/recipes/recipe.py:35: FutureWarning: From Rasa Open Source 4.0.0 onwards it will be required to specify a recipe in your model configuration. Defaulting to recipe 'default.v1'. (will be removed in 3.0.0)
"From Rasa Open Source 4.0.0 onwards it will be required to specify "
Traceback (most recent call last):
File "/workspace/.pip-modules/bin/rasa", line 8, in <module>
sys.exit(main())
File "/workspace/.pip-modules/lib/python3.7/site-packages/rasa/__main__.py", line 117, in main
cmdline_arguments.func(cmdline_arguments)
File "/workspace/.pip-modules/lib/python3.7/site-packages/rasa/cli/train.py", line 59, in <lambda>
train_parser.set_defaults(func=lambda args: run_training(args, can_exit=True))
File "/workspace/.pip-modules/lib/python3.7/site-packages/rasa/cli/train.py", line 103, in run_training
finetuning_epoch_fraction=args.epoch_fraction,
File "/workspace/.pip-modules/lib/python3.7/site-packages/rasa/api.py", line 117, in train
finetuning_epoch_fraction=finetuning_epoch_fraction,
File "/workspace/.pip-modules/lib/python3.7/site-packages/rasa/model_training.py", line 179, in train
**(nlu_additional_arguments or {}),
File "/workspace/.pip-modules/lib/python3.7/site-packages/rasa/model_training.py", line 214, in _train_graph
rasa.engine.validation.validate(model_configuration)
File "/workspace/.pip-modules/lib/python3.7/site-packages/rasa/engine/validation.py", line 73, in validate
_validate(model_configuration.train_schema, True, model_configuration.language)
File "/workspace/.pip-modules/lib/python3.7/site-packages/rasa/engine/validation.py", line 109, in _validate
_validate_required_components(schema)
File "/workspace/.pip-modules/lib/python3.7/site-packages/rasa/engine/validation.py", line 499, in _validate_required_components
f"{num_nodes} nodes are missing required components:\n"
rasa.engine.exceptions.GraphSchemaValidationException: 1 nodes are missing required components:
The following components require a SpacyPreprocessorGraphComponent: run_SpacyTokenizer1. Please add the required components to the graph.
It seems like we may still have some <ComponentName>1
or <ComponentName>2
around.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Language Processing Pipelines · spaCy Usage Documentation
Assign the tokens and outputs of a transformer model. Disabling, excluding and modifying components. If you don't need a particular component of the...
Read more >Components - Hugging Face
A Normalizer is in charge of pre-processing the input string in order to normalize it as relevant for a given use case. Some...
Read more >Components - Rasa
The following components load pre-trained models that are needed if you want to use pre-trained ... Include a Tokenizer component before this component....
Read more >How can I add components before tokenizer in spaCy pipline?
1 Answer 1 ... It's not possible to add a component before the tokenizer in the pipeline because the tokenizer has a special...
Read more >tokenize — Tokenizer for Python source — Python 3.11.1 ...
The tokenize() generator requires one argument, readline, which must be a ... The iterable must return sequences with at least two elements, the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
the
1
or2
are not related to the component names but rather to the node names. So this is something different.Doesn’t matter 👍🏻 I’ll just refer to it in my PR right away 👍🏻