Skip to content

Commit

Permalink
Merge pull request SEACrowd#131 from SEACrowd/add_task_span_absa
Browse files Browse the repository at this point in the history
Closes SEACrowd#130 | Add new task: SPAN_ABSA
  • Loading branch information
SamuelCahyawijaya authored Nov 30, 2023
2 parents 488f2be + d2fb702 commit d9e221a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions seacrowd/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@


class Tasks(Enum):
# Knowledge Base
DEPENDENCY_PARSING = "DEP"
WORD_SENSE_DISAMBIGUATION = "WSD"
WORD_ANALOGY = "WA"
KEYWORD_EXTRACTION = "KE"
COREFERENCE_RESOLUTION = "COREF"
SPAN_BASED_ABSA = "SPAN_ABSA"

# Single Text Classification
SENTIMENT_ANALYSIS = "SA"
Expand Down Expand Up @@ -226,6 +228,7 @@ class Licenses(Enum):
Tasks.VISUALLY_GROUNDED_REASONING: "IMTEXT",
Tasks.HOAX_NEWS_CLASSIFICATION: "TEXT",
Tasks.CONCEPT_ALIGNMENT_CLASSIFICATION: "PAIRS",
Tasks.SPAN_BASED_ABSA: "KB",
Tasks.FACT_CHECKING: None,
Tasks.VIDEO_CAPTIONING: "VIDTEXT",
Tasks.VIDEO_TO_TEXT_RETRIEVAL: "VIDTEXT",
Expand Down Expand Up @@ -262,6 +265,7 @@ class Licenses(Enum):
Tasks.NAMED_ENTITY_RECOGNITION: {"entities"},
Tasks.DEPENDENCY_PARSING: {"relations", "entities"},
Tasks.COREFERENCE_RESOLUTION: {"entities", "coreferences"},
Tasks.SPAN_BASED_ABSA: {"entities", "coreferences"},
# Tasks.NAMED_ENTITY_DISAMBIGUATION: {"entities", "normalized"},
# Tasks.EVENT_EXTRACTION: {"events"}
}

0 comments on commit d9e221a

Please sign in to comment.