예제 #1
0
    class Config(DocModel.Config):
        class ModelInput(DocModel.Config.ModelInput):
            tokens: SeqTokenTensorizer.Config = SeqTokenTensorizer.Config(
                column="text_seq")

        inputs: ModelInput = ModelInput()
        representation: SeqRepresentation.Config = SeqRepresentation.Config()
예제 #2
0
 class Config(ConfigBase):
     representation: SeqRepresentation.Config = SeqRepresentation.Config()
     output_layer: ClassificationOutputLayer.Config = (
         ClassificationOutputLayer.Config())
     decoder: MLPDecoder.Config = MLPDecoder.Config()