示例#1
0
 class Config(RepresentationBase.Config):
     cnn: CNNParams = CNNParams()
     dropout: float = 0.3
     activation: Activation = Activation.GLU
     separable: bool = False
     bottleneck: int = 0
     pooling_type: PoolingType = PoolingType.NONE
示例#2
0
 class Config(RepresentationBase.Config):
     cnn: CNNParams = CNNParams()
     dropout: float = 0
示例#3
0
 class Config(RepresentationBase.Config):
     cnn: CNNParams = CNNParams()
     dropout: float = 0.3
     activation: Activation = Activation.GLU
     separable: bool = False
示例#4
0
 class Config(RepresentationBase.Config):
     cnn: CNNParams = CNNParams()
     fwd_bwd_context_len: int = 5
     surrounding_context_len: int = 2
示例#5
0
 class Config(RepresentationBase.Config):
     dropout: float = 0.4
     cnn: CNNParams = CNNParams()
     pooling: PoolingType = PoolingType.MAX