Skip to content

Initialize DecoderBase when fetching Default Decoders#47

Open
ahhcash wants to merge 1 commit into
sugarme:masterfrom
ahhcash:master
Open

Initialize DecoderBase when fetching Default Decoders#47
ahhcash wants to merge 1 commit into
sugarme:masterfrom
ahhcash:master

Conversation

@ahhcash

@ahhcash ahhcash commented Sep 22, 2024

Copy link
Copy Markdown
  1. DefaultWordpieceDecoder seemed to cause NPEs when trying to use pretrained BertBaseUncased
  2. Reused the constructor for WordPieceEncoder with appropriate prefix and cleanup

@ahhcash ahhcash changed the title Initialize DecoderBase when fetching DefaultWordpieceDecoder Initialize DecoderBase when fetching Default Decoders Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant