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
when training with user_defined_symbols parameters I ran into this error RuntimeError: Internal: src/trainer_interface.cc(717) [insert_meta_symbol(w, ModelProto::SentencePiece::USER_DEFINED)]
which was not very informative. Fortunately I soon realized that this was caused by duplicate symbols in the user_defined_symbols list.
You may want to make this error message more explicit and/or add separate check for non-unique symbols.
To reproduce run similar code with duplicate symbols in user_defined_symbols param list:
when training with
user_defined_symbols
parameters I ran into this errorRuntimeError: Internal: src/trainer_interface.cc(717) [insert_meta_symbol(w, ModelProto::SentencePiece::USER_DEFINED)]
which was not very informative. Fortunately I soon realized that this was caused by duplicate symbols in the user_defined_symbols list.
You may want to make this error message more explicit and/or add separate check for non-unique symbols.
To reproduce run similar code with duplicate symbols in user_defined_symbols param list:
The text was updated successfully, but these errors were encountered: