Adding a new character to the vocab throws error #1670
-
While training the recognition with my dataset i encounter issues while i am trying to add new characters that are not in the french vocab like '«»' (this one is already in the arabic vocab) or 'm²'. This is how i am adding the chars: The error shown is: As far as i understand it comes from a pretrained model which was trained on size 126 and now me adding those characters increases the size. What to do in this case? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @ep0p 👋, Best would be create your own vocab for example:
Then start the training with your new vocab: Don't miss later on to pass the same vocab if you load your trained model. Best regards, |
Beta Was this translation helpful? Give feedback.
Hi @ep0p 👋,
Best would be create your own vocab for example:
Then start the training with your new vocab:
--pretrained --vocab="frenchplus"
Don't miss later on to pass the same vocab if you load your trained model.
Best regards,
Felix