Skip to content

Adding a new character to the vocab throws error #1670

Answered by felixdittrich92
ep0p asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ep0p 👋,

Best would be create your own vocab for example:

VOCABS["frenchplus"] = VOCABS["french"] + "»«m²"

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

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ep0p
Comment options

@felixdittrich92
Comment options

@ep0p
Comment options

Answer selected by ep0p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants