Beispiel #1
0
 class Config(Task.Config):
     model: SeqNNModel.Config = SeqNNModel.Config()
     trainer: Trainer.Config = Trainer.Config()
     labels: DocLabelConfig = DocLabelConfig()
     data_handler: SeqModelDataHandler.Config = SeqModelDataHandler.Config()
     metric_reporter: ClassificationMetricReporter.Config = (
         ClassificationMetricReporter.Config())
Beispiel #2
0
 class Config(NewTask.Config):
     model: SeqNNModel.Config = SeqNNModel.Config()
     metric_reporter: ClassificationMetricReporter.Config = (
         ClassificationMetricReporter.Config(
             text_column_names=["text_seq"]))