Add Vaani Multilingual langauge detection and gender classification task#2367
Closed
anime-sh wants to merge 16 commits intoembeddings-benchmark:maebfrom
Closed
Add Vaani Multilingual langauge detection and gender classification task#2367anime-sh wants to merge 16 commits intoembeddings-benchmark:maebfrom
anime-sh wants to merge 16 commits intoembeddings-benchmark:maebfrom
Conversation
Samoed
reviewed
Mar 15, 2025
| ) | ||
| self.dataset[subset] = self.dataset[subset].map( | ||
| lambda x: { | ||
| self.label_column_name: literal_eval(x[self.label_column_name]) |
Member
There was a problem hiding this comment.
Suggested change
| self.label_column_name: literal_eval(x[self.label_column_name]) | |
| self.label_column_name: json.loads(x[self.label_column_name]) |
Samoed
reviewed
Mar 15, 2025
| }, | ||
| type="AudioMultilabelClassification", | ||
| category="a2t", | ||
| eval_splits=["train"], |
Member
There was a problem hiding this comment.
Since this dataset have only train I think this should implement cross_validation for Multilabel datasets similarly as for classification
Contributor
Author
There was a problem hiding this comment.
the each subset has a train set which has 100k samples, crossfold with normal Ks (3,5,7) will be a quite expensive
One idea i had was to generate a test split from the train split in dataset transform and then proceed as a normal task
Contributor
|
@anime-sh will close this PR as it seems to have gotten stale |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Code Quality
make lintto maintain consistent style.Documentation
Testing
make test-with-coverage.make testormake test-with-coverageto ensure no existing functionality is broken.Adding datasets checklist
Reason for dataset addition: Add multilingual speech task
mteb -m {model_name} -t {task_name}command.sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2intfloat/multilingual-e5-smallself.stratified_subsampling() under dataset_transform()make test.make lint.Adding a model checklist
mteb.get_model(model_name, revision)andmteb.get_model_meta(model_name, revision)