示例#1
0
文件: tasks.py 项目: LinHR000/pytext
 class Config(Task.Config):
     model: RNNGParser.Config = RNNGParser.Config()
     trainer: HogwildTrainer.Config = HogwildTrainer.Config()
     data_handler: CompositionalDataHandler.Config = CompositionalDataHandler.Config(
     )
     labels: Optional[WordLabelConfig] = None
     metric_reporter: CompositionalMetricReporter.Config = CompositionalMetricReporter.Config(
     )
示例#2
0
 class Config(NewTask.Config):
     model: RNNGParser.Config = RNNGParser.Config()
     trainer: HogwildTrainer.Config = HogwildTrainer.Config()
     metric_reporter: CompositionalMetricReporter.Config = (
         CompositionalMetricReporter.Config())