--- dataset_info: - config_name: corpus features: - name: _id dtype: string - name: partition dtype: string - name: text dtype: string - name: language dtype: string - name: meta_information struct: - name: framework dtype: string - name: title dtype: string splits: - name: corpus num_bytes: 1243852 num_examples: 816 download_size: 135332 dataset_size: 1243852 - config_name: default features: - name: query-id dtype: string - name: corpus-id dtype: string - name: score dtype: int64 splits: - name: train num_bytes: 12756 num_examples: 564 - name: test num_bytes: 4140 num_examples: 180 - name: valid num_bytes: 1656 num_examples: 72 download_size: 13625 dataset_size: 18552 - config_name: queries features: - name: _id dtype: string - name: partition dtype: string - name: text dtype: string - name: language dtype: string - name: meta_information struct: - name: framework dtype: string - name: title dtype: string splits: - name: queries num_bytes: 1331932 num_examples: 816 download_size: 132419 dataset_size: 1331932 configs: - config_name: corpus data_files: - split: corpus path: corpus/corpus-* - config_name: default data_files: - split: train path: data/train-* - split: test path: data/test-* - split: valid path: data/valid-* - config_name: queries data_files: - split: queries path: queries/queries-* --- Employing the MTEB evaluation framework's dataset version, utilize the code below for assessment: ```python import mteb import logging from sentence_transformers import SentenceTransformer from mteb import MTEB logger = logging.getLogger(__name__) model_name = 'intfloat/e5-base-v2' model = SentenceTransformer(model_name) tasks = mteb.get_tasks( tasks=[ "AppsRetrieval", "CodeFeedbackMT", "CodeFeedbackST", "CodeTransOceanContest", "CodeTransOceanDL", "CosQA", "SyntheticText2SQL", "StackOverflowQA", "COIRCodeSearchNetRetrieval", "CodeSearchNetCCRetrieval", ] ) evaluation = MTEB(tasks=tasks) results = evaluation.run( model=model, overwrite_results=True ) print(result) ```