From 4632b6a24b1f5b698191616541344f76007d66f4 Mon Sep 17 00:00:00 2001 From: Eric Gaudet Date: Fri, 29 Mar 2019 13:53:21 -0700 Subject: [PATCH] moving KDDocClassificationTask to pytext/fb (#426) Summary: Pull Request resolved: https://github.com/facebookresearch/pytext/pull/426 checked-in by mistake, this does not work. Reviewed By: m3rlin45 Differential Revision: D14634664 fbshipit-source-id: 4af0bd5b328a0cbda6ac176d3fcd63e14a178b66 --- pytext/builtin_task.py | 2 -- pytext/task/tasks.py | 5 ----- 2 files changed, 7 deletions(-) diff --git a/pytext/builtin_task.py b/pytext/builtin_task.py index f821d91ae..44c6594d3 100644 --- a/pytext/builtin_task.py +++ b/pytext/builtin_task.py @@ -15,7 +15,6 @@ DocClassificationTask, EnsembleTask, JointTextTask, - KDDocClassificationTask, LMTask, PairClassification, SemanticParsingTask, @@ -68,6 +67,5 @@ def register_builtin_tasks(): ContextualIntentSlotTask, SemanticParsingTask, DisjointMultitask, - KDDocClassificationTask, ) ) diff --git a/pytext/task/tasks.py b/pytext/task/tasks.py index 15f0cd35f..9d01a235c 100644 --- a/pytext/task/tasks.py +++ b/pytext/task/tasks.py @@ -255,8 +255,3 @@ class Config(Task.Config): data_handler: CompositionalDataHandler.Config = CompositionalDataHandler.Config() labels: Optional[WordLabelConfig] = None metric_reporter: CompositionalMetricReporter.Config = CompositionalMetricReporter.Config() - - -class KDDocClassificationTask(DocClassificationTask): - class Config(DocClassificationTask.Config): - pass