Skip to content

Commit

Permalink
Update constants.py with Sign Lang Recognition (SEACrowd#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabilmakbar authored and Railey Montalan committed Feb 28, 2024
1 parent 2c21e4e commit 65ed5e0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions seacrowd/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class Tasks(Enum):
WORD_ANALOGY = "WA"
WORD_SENSE_DISAMBIGUATION = "WSD"
COREFERENCE_RESOLUTION = "COREF"
SPAN_BASED_ABSA = "SPAN_ABSA"

# Tree
CONSTITUENCY_PARSING = "CONST_PAR"
Expand Down Expand Up @@ -116,6 +115,7 @@ class Tasks(Enum):

# ImageText
IMAGE_CAPTIONING = "IC"
SIGN_LANGUAGE_RECOGNITION = "SLR"
STYLIZED_IMAGE_CAPTIONING = "SIC"
VISUALLY_GROUNDED_REASONING = "VGR"

Expand Down Expand Up @@ -211,21 +211,23 @@ class Licenses(Enum):


TASK_TO_SCHEMA = {
Tasks.COREFERENCE_RESOLUTION: "KB",
Tasks.DEPENDENCY_PARSING: "KB",
Tasks.CONSTITUENCY_PARSING: "TREE",
Tasks.E2E_TASK_ORIENTED_DIALOGUE: "TOD",
Tasks.WORD_SENSE_DISAMBIGUATION: "T2T",
Tasks.WORD_ANALOGY: "T2T",
Tasks.KEYWORD_EXTRACTION: "SEQ_LABEL",
Tasks.COREFERENCE_RESOLUTION: "KB",
Tasks.DIALOGUE_SYSTEM: "T2T",
Tasks.E2E_TASK_ORIENTED_DIALOGUE: "TOD",
Tasks.KEYWORD_TAGGING: "SEQ_LABEL",
Tasks.NAMED_ENTITY_RECOGNITION: "SEQ_LABEL",
Tasks.POS_TAGGING: "SEQ_LABEL",
Tasks.SENTENCE_ORDERING: "SEQ_LABEL",
Tasks.SPAN_BASED_ABSA: "SEQ_LABEL",
Tasks.TOKEN_LEVEL_LANGUAGE_IDENTIFICATION: "SEQ_LABEL",
Tasks.COMMONSENSE_REASONING: "QA",
Tasks.QUESTION_ANSWERING: "QA",
Tasks.CONCEPT_ALIGNMENT_CLASSIFICATION: "PAIRS",
Tasks.NEXT_SENTENCE_PREDICTION: "PAIRS",
Tasks.TEXT_RETRIEVAL: "PAIRS",
Tasks.TEXTUAL_ENTAILMENT: "PAIRS",
Expand All @@ -238,13 +240,14 @@ class Licenses(Enum):
Tasks.MULTILEXNORM: "T2T",
Tasks.SUMMARIZATION: "T2T",
Tasks.TRANSLITERATION: "T2T",
Tasks.DOMAIN_KNOWLEDGE_MULTICLASSIFICATION: "TEXT_MULTI",
Tasks.ASPECT_BASED_SENTIMENT_ANALYSIS: "TEXT_MULTI",
Tasks.DOMAIN_KNOWLEDGE_MULTICLASSIFICATION: "TEXT_MULTI",
Tasks.ABUSIVE_LANGUAGE_PREDICTION: "TEXT",
Tasks.DOMAIN_KNOWLEDGE_CLASSIFICATION: "TEXT",
Tasks.SENTIMENT_ANALYSIS: "TEXT",
Tasks.TAX_COURT_VERDICT: "TEXT",
Tasks.EMOTION_CLASSIFICATION: "TEXT",
Tasks.HOAX_NEWS_CLASSIFICATION: "TEXT",
Tasks.LANGUAGE_IDENTIFICATION: "TEXT",
Tasks.LEGAL_CLASSIFICATION: "TEXT",
Tasks.INTENT_CLASSIFICATION: "TEXT",
Expand All @@ -261,14 +264,11 @@ class Licenses(Enum):
Tasks.SPEECH_EMOTION_RECOGNITION: "SPEECH",
Tasks.SPEECH_EMOTION_RECOGNITION_MULTILABEL: "SPEECH_MULTI",
Tasks.IMAGE_CAPTIONING: "IMTEXT",
Tasks.SIGN_LANGUAGE_RECOGNITION: "IMTEXT",
Tasks.STYLIZED_IMAGE_CAPTIONING: "IMTEXT",
Tasks.VISUALLY_GROUNDED_REASONING: "IMTEXT",
Tasks.HOAX_NEWS_CLASSIFICATION: "TEXT",
Tasks.CONCEPT_ALIGNMENT_CLASSIFICATION: "PAIRS",
Tasks.SPAN_BASED_ABSA: "SEQ_LABEL",
Tasks.VIDEO_CAPTIONING: "VIDTEXT",
Tasks.VIDEO_TO_TEXT_RETRIEVAL: "VIDTEXT",
Tasks.CONCEPT_ALIGNMENT_CLASSIFICATION: "PAIRS",
Tasks.FACT_CHECKING: None,
}

Expand Down

0 comments on commit 65ed5e0

Please sign in to comment.