Skip to content

Commit

Permalink
Rename Tasks to better represent what they are
Browse files Browse the repository at this point in the history
  • Loading branch information
timofurrer committed Dec 19, 2019
1 parent 47ab921 commit af7d7dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def f1_metric(y_true, y_pred):
class OffenseDetectionTask(Task): # type: ignore
"""Represents an Offense detection Task"""

NAME = "offense-detection"
NAME = "de-offense-detection"

DATASET_PATH = Path(__file__).parent / "data" / "germeval-2018"
TRAIN_DATASET_PATH = DATASET_PATH / "train.txt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class OddOneOutTask(Task): # type: ignore
"""Represents an Odd One Out Task"""

NAME = "odd-one-out"
NAME = "en-got-odd-one-out"

def evaluate(self, embedding) -> TaskReport:
# define the inputs for the Task
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class WordAnalogyTask(Task): # type: ignore
"""Represents a Word Analogy Task"""

NAME = "word-analogy"
NAME = "en-got-word-analogy"

def evaluate(self, embedding) -> TaskReport:
# define the inputs for the Task
Expand Down

0 comments on commit af7d7dd

Please sign in to comment.