Unable to train model using custom tokenizer #12869
-
How to reproduce the behaviour Am trying to train a model using a custom tokenizer following the steps in the spacy documentation:
Then updated config.cfg as the following:
When I try to run training command I get the following error:
Not sure if I am missing something here. Environment Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Could you post the complete config and the training command that you're using? Incidentally, you can directly set the |
Beta Was this translation helpful? Give feedback.
Could you post the complete config and the training command that you're using? Incidentally, you can directly set the
prefix_search
,suffix_search
andinfix_finditer
properties on the existingTokenizer
instead of reinitializing it (as shown here).