Example #1
0
 class Config(Task.Config):
     labels: ContextualIntentSlot.TargetConfig
     features: ContextualIntentSlot.ModelInputConfig = (
         ContextualIntentSlot.ModelInputConfig()
     )
     model: ContextualIntentSlotModel.Config = ContextualIntentSlotModel.Config()
     trainer: Trainer.Config = Trainer.Config()
     data_handler: ContextualIntentSlotModelDataHandler.Config = (
         ContextualIntentSlotModelDataHandler.Config()
     )
     metric_reporter: IntentSlotMetricReporter.Config = (
         IntentSlotMetricReporter.Config()
     )
Example #2
0
 class Config(Task_Deprecated.Config):
     labels: ContextualIntentSlot.TargetConfig
     features: ContextualIntentSlot.ModelInputConfig = (
         ContextualIntentSlot.ModelInputConfig()
     )
     model: ContextualIntentSlotModel.Config = ContextualIntentSlotModel.Config()
     trainer: Trainer.Config = Trainer.Config()
     data_handler: ContextualIntentSlotModelDataHandler.Config = (
         ContextualIntentSlotModelDataHandler.Config()
     )
     metric_reporter: IntentSlotMetricReporter.Config = (
         IntentSlotMetricReporter.Config()
     )
     exporter: Optional[DenseFeatureExporter.Config] = None