forked from GEM-benchmark/NL-Augmenter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskTypes.py
More file actions
26 lines (23 loc) Β· 695 Bytes
/
Copy pathTaskTypes.py
File metadata and controls
26 lines (23 loc) Β· 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import enum
class TaskType(enum.Enum):
TEXT_CLASSIFICATION = (
1,
) # This would include all - sentiment, emotion, etc.
TEXT_TO_TEXT_GENERATION = (2,)
TEXT_TAGGING = (
3,
) # This would require the inputs to be in ConnLL like format
DIALOGUE_ACT_TO_TEXT = (4,)
TABLE_TO_TEXT = (5,)
RDF_TO_TEXT = (6,)
RDF_TO_RDF = (7,)
QUESTION_ANSWERING = (8,)
QUESTION_GENERATION = (9,)
AMR_TO_TEXT = (10,)
E2E_TASK = (11,)
SENTIMENT_ANALYSIS = (
12,
) # This is a specific type of text classification with unique properties
PARAPHRASE_DETECTION = (13,)
TEXTUAL_ENTAILMENT = (14,)
QUALITY_ESTIMATION = (15,)