Skip to content

Commit

Permalink
moving KDDocClassificationTask to pytext/fb (facebookresearch#426)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebookresearch#426

checked-in by mistake, this does not work.

Reviewed By: m3rlin45

Differential Revision: D14634664

fbshipit-source-id: 4af0bd5b328a0cbda6ac176d3fcd63e14a178b66
  • Loading branch information
Titousensei authored and facebook-github-bot committed Mar 29, 2019
1 parent 5ffd19d commit 4632b6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions pytext/builtin_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
DocClassificationTask,
EnsembleTask,
JointTextTask,
KDDocClassificationTask,
LMTask,
PairClassification,
SemanticParsingTask,
Expand Down Expand Up @@ -68,6 +67,5 @@ def register_builtin_tasks():
ContextualIntentSlotTask,
SemanticParsingTask,
DisjointMultitask,
KDDocClassificationTask,
)
)
5 changes: 0 additions & 5 deletions pytext/task/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4632b6a

Please sign in to comment.