示例#1
0
 class ByteModelInput(Model.Config.ModelInput):
     # We should support characters as well, but CharacterTokenTensorizer
     # does not support adding characters to vocab yet.
     token_bytes: ByteTokenTensorizer.Config = ByteTokenTensorizer.Config(
     )
     labels: SlotLabelTensorizer.Config = SlotLabelTensorizer.Config()
示例#2
0
 class ByteModelInput(DocModel.Config.ModelInput):
     token_bytes: ByteTokenTensorizer.Config = ByteTokenTensorizer.Config(
     )
示例#3
0
 class ByteModelInput(WordTaggingModel.Config.ModelInput):
     # We should support characters as well, but CharacterTokenTensorizer
     # does not support adding characters to vocab yet.
     tokens: ByteTokenTensorizer.Config = ByteTokenTensorizer.Config()