You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whitespace Tokenizer works fine with conveRTFeaturizer whereas if I change it to SpacyTokenizer, it pops up the following error
2022-03-29 09:20:28 INFO rasa.shared.nlu.training_data.training_data - Training data stats:
2022-03-29 09:20:28 INFO rasa.shared.nlu.training_data.training_data - Number of intent examples: 69 (7 distinct intents)
2022-03-29 09:20:28 INFO rasa.shared.nlu.training_data.training_data - Found intents: 'goodbye', 'bot_challenge', 'greet', 'affirm', 'mood_great', 'mood_unhappy', 'deny'
2022-03-29 09:20:28 INFO rasa.shared.nlu.training_data.training_data - Number of response examples: 0 (0 distinct responses)
2022-03-29 09:20:28 INFO rasa.shared.nlu.training_data.training_data - Number of entity examples: 0 (0 distinct entities)
2022-03-29 09:20:28 INFO rasa.nlu.model - Starting to train component SpacyNLP
2022-03-29 09:20:28 INFO rasa.nlu.model - Finished training component.
2022-03-29 09:20:28 INFO rasa.nlu.model - Starting to train component SpacyTokenizer
2022-03-29 09:20:28 INFO rasa.nlu.model - Finished training component.
2022-03-29 09:20:28 INFO rasa.nlu.model - Starting to train component ConveRTFeaturizer
Text batches: 0%| | 0/2 [00:01<?, ?it/s]
Traceback (most recent call last):
File "/home/gnmishra/.conda/envs/fresh/bin/rasa", line 8, in <module>
sys.exit(main())
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/__main__.py", line 117, in main
cmdline_arguments.func(cmdline_arguments)
File "/home/gnmishra/.conda/envs/fresh/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 "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/cli/train.py", line 103, in run_training
finetuning_epoch_fraction=args.epoch_fraction,
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/api.py", line 124, in train
loop,
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/utils/common.py", line 296, in run_in_loop
result = loop.run_until_complete(f)
File "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/model_training.py", line 119, in train_async
finetuning_epoch_fraction=finetuning_epoch_fraction,
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/model_training.py", line 300, in _train_async_internal
finetuning_epoch_fraction=finetuning_epoch_fraction,
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/model_training.py", line 343, in _do_training
finetuning_epoch_fraction=finetuning_epoch_fraction,
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/model_training.py", line 766, in _train_nlu_with_validated_data
**additional_arguments,
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/nlu/train.py", line 116, in train
interpreter = trainer.train(training_data, **kwargs)
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/nlu/model.py", line 219, in train
component.train(working_data, self.config, **context)
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/nlu/featurizers/dense_featurizer/convert_featurizer.py", line 343, in train
) = self._compute_features(batch_examples, attribute)
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/nlu/featurizers/dense_featurizer/convert_featurizer.py", line 204, in _compute_features
) = self._compute_sequence_encodings(batch_examples, attribute)
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/nlu/featurizers/dense_featurizer/convert_featurizer.py", line 240, in _compute_sequence_encodings
list_of_tokens, token_features
File "/home/gnmishra/.conda/envs/fresh/lib/python3.7/site-packages/rasa/utils/train_utils.py", line 175, in align_token_features
][token_idx + offset]
IndexError: index 7 is out of bounds for axis 0 with size 7
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Rasa Version - 2.6.0
Spacy Version - 3.0.5
conveRTFeaturizer model url : "https://github.com/connorbrinton/polyai-models/releases/download/v1.0/model.tar.gz"
config:
Whitespace Tokenizer works fine with conveRTFeaturizer whereas if I change it to SpacyTokenizer, it pops up the following error
Beta Was this translation helpful? Give feedback.
All reactions