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
Currently, Alphabet's dictionary maps from String rather than Character to support tokens of length > 1 character. Using Character instead of String would work if we used special Unicode characters or enums instead of "</s>", "</w>", and "<pad>".
Since this is used in so many places in the WordSeg model, it is potentially worthwhile to make it more efficient.
The text was updated successfully, but these errors were encountered:
Currently,
Alphabet
'sdictionary
maps fromString
rather thanCharacter
to support tokens of length > 1 character. UsingCharacter
instead ofString
would work if we used special Unicode characters or enums instead of"</s>"
,"</w>"
, and"<pad>"
.Since this is used in so many places in the WordSeg model, it is potentially worthwhile to make it more efficient.
The text was updated successfully, but these errors were encountered: