Skip to content

Commit

Permalink
Fix incorrect naming
Browse files Browse the repository at this point in the history
  • Loading branch information
sabilmakbar committed Nov 16, 2023
1 parent 48fe01d commit 4805995
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions seacrowd/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ class Licenses(Enum):
Tasks.SPEECH_TO_TEXT_TRANSLATION: "SPTEXT",
Tasks.TEXT_TO_SPEECH: "SPTEXT",
Tasks.SPEECH_TO_SPEECH_TRANSLATION: "S2S",
Tasks.SPEECH_LANGUAGE_IDENTIFICATION: "SP_CLS",
Tasks.SPEECH_EMOTION_RECOGNITION: "SP_CLS",
Tasks.SPEECH_EMOTION_RECOGNITION_MULTILABEL: "SP_CLS_MULTI",
Tasks.SPEECH_LANGUAGE_IDENTIFICATION: "SPEECH",
Tasks.SPEECH_EMOTION_RECOGNITION: "SPEECH",
Tasks.SPEECH_EMOTION_RECOGNITION_MULTILABEL: "SPEECH_MULTI",
Tasks.IMAGE_CAPTIONING: "IMTEXT",
Tasks.STYLIZED_IMAGE_CAPTIONING: "IMTEXT",
Tasks.VISUALLY_GROUNDED_REASONING: "IMTEXT",
Expand Down Expand Up @@ -244,8 +244,8 @@ class Licenses(Enum):
"SSP": ssp_features,
"SPTEXT": speech_text_features,
"S2S": speech2speech_features,
"SP_CLS": speech_features(),
"SP_CLS_MULTI": speech_multi_features(),
"SPEECH": speech_features(),
"SPEECH_MULTI": speech_multi_features(),
"IMTEXT": image_text_features(),
}

Expand Down
2 changes: 1 addition & 1 deletion seacrowd/utils/schemas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .self_supervised_pretraining import features as ssp_features
from .speech_text import features as speech_text_features
from .speech_to_speech import features as speech2speech_features
from .speech_classification import features as speech_features
from .speech import features as speech_features
from .speech_multilabel import features as speech_multi_features
from .image_text import features as image_text_features

Expand Down
File renamed without changes.

0 comments on commit 4805995

Please sign in to comment.