Datasets:
mteb
/

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
License:
Dataset Viewer
Auto-converted to Parquet
id
stringlengths
9
9
text
stringlengths
24
211
title
stringclasses
1 value
000000000
SELECT Nationality FROM table WHERE Player = Terrence Ross
000000001
SELECT School/Club Team FROM table WHERE Years in Toronto = 1995-96
000000002
SELECT School/Club Team FROM table WHERE Years in Toronto = 2003-06
000000003
SELECT COUNT School/Club Team FROM table WHERE Player = Jalen Rose
000000004
SELECT Round FROM table WHERE Circuit = Assen
000000005
SELECT COUNT No FROM table WHERE Pole Position = Kevin Curtain
000000006
SELECT Date FROM table WHERE Circuit = Misano
000000007
SELECT COUNT Position FROM table WHERE College/junior/club team = Sherbrooke Faucons (QMJHL)
000000008
SELECT Nationality FROM table WHERE College/junior/club team = Thunder Bay Flyers (USHL)
000000009
SELECT COUNT College/junior/club team FROM table WHERE NHL team = Washington Capitals
000000010
SELECT COUNT Nationality FROM table WHERE NHL team = New Jersey Devils
000000011
SELECT Pick FROM table WHERE Player = Dorain Anneck
000000012
SELECT Nationality FROM table WHERE NHL team = Vancouver Canucks
000000013
SELECT Pick FROM table WHERE College/junior/club team = Springfield Olympics (NEJHL)
000000014
SELECT Commonwealth equivalent FROM table WHERE Rank in Spanish = Coronel
000000015
SELECT Rank in English FROM table WHERE Commonwealth equivalent = Group Captain
000000016
SELECT US Air Force equivalent FROM table WHERE Commonwealth equivalent = Pilot Officer
000000017
SELECT Commonwealth equivalent FROM table WHERE US Air Force equivalent = Major General
000000018
SELECT Rank in Spanish FROM table WHERE Rank in English = Major
000000019
SELECT Wrestler FROM table WHERE # of reigns = 2
000000020
SELECT MIN # of reigns FROM table
000000021
SELECT Rank Each wrestlers total number of days as champion are ranked highest to lowest; wrestlers with the same number mean that they are tied for that certain rank. FROM table WHERE Wrestler = Bryan Danielson
000000022
SELECT Combined days FROM table WHERE Wrestler = Go Shiozaki
000000023
SELECT MIN Rank Each wrestlers total number of days as champion are ranked highest to lowest; wrestlers with the same number mean that they are tied for that certain rank. FROM table WHERE Wrestler = Go Shiozaki
000000024
SELECT Province FROM table WHERE Electorate = Grey and Bell
000000025
SELECT Province FROM table WHERE Electorate = Bay of Islands
000000026
SELECT COUNT Total W–L FROM table WHERE Doubles W–L = 11–11
000000027
SELECT COUNT Singles W–L FROM table WHERE Doubles W–L = 11–14
000000028
SELECT Total W–L FROM table WHERE Player = Boro Jovanović Category:Articles with hCards
000000029
SELECT MAX Ties played FROM table WHERE Player = Josip Palada Category:Articles with hCards
000000030
SELECT COUNT Ties played FROM table WHERE Total W–L = 38–24
000000031
SELECT COUNT Frequency FROM table WHERE Market/Rank = Burlington - Plattsburgh , Vermont - New York /143
000000032
SELECT Branding FROM table WHERE Group owner = Qantam of Cape Cod, LLC
000000033
SELECT Branding FROM table WHERE Calls = WRKO
000000034
SELECT Format FROM table WHERE Branding = 1290 WKBK W281AU 104.1
000000035
SELECT Market/Rank FROM table WHERE Calls = WCRN
000000036
SELECT Frequency FROM table WHERE Calls = WEGP
000000037
SELECT BTs retail price (regulated) FROM table WHERE Tariff code = ff0 PRS
000000038
SELECT Approx premium FROM table WHERE Tariff code = g9
000000039
SELECT COUNT Tariff code FROM table WHERE BTs retail price (regulated) = 2p/min or inclusive
000000040
SELECT COUNT Tariff code FROM table WHERE BTs retail price (regulated) = 2.553p/min
000000041
SELECT Prefixes FROM table WHERE Scheme = Pence per minute, fixed at all times AND Approx premium = 3p/min
000000042
SELECT BTs retail price (regulated) FROM table WHERE Tariff code = g10
000000043
SELECT Tone (Latvian notation: /~/ - level, /^/ - broken) FROM table WHERE Translation = Gen.Sing. plague
000000044
SELECT MIN Radius (R ☉ ) FROM table
000000045
SELECT Spectral type FROM table WHERE Star (Pismis24-#) = 1SW
000000046
SELECT MIN Mass (M ☉ ) FROM table WHERE Radius (R ☉ ) = 10
000000047
SELECT Seat factor FROM table WHERE Year = 2006
000000048
SELECT Flying hours FROM table WHERE Aircraft kilometers > 64379058.0
000000049
SELECT MAX Aircraft kilometers FROM table WHERE Departures = 17096
000000050
SELECT Winning team FROM table WHERE Losing team = New York Yankees
000000051
SELECT Final score FROM table WHERE Date contested = February 1, 2009
000000052
SELECT Sport FROM table WHERE Final score = 3-2
000000053
SELECT Winning team FROM table WHERE Date contested = February 1, 2009
000000054
SELECT Losing team FROM table WHERE Date contested = February 1, 2004
000000055
SELECT MIN Total FROM table WHERE Crop (kilotonnes) = s Lupin
000000056
SELECT New South Wales FROM table WHERE Crop (kilotonnes) = Canola
000000057
SELECT COUNT South Australia FROM table WHERE Victoria = 2173
000000058
SELECT MIN Tasmania FROM table
000000059
SELECT COUNT Tasmania FROM table WHERE New South Wales = 190
000000060
SELECT COUNT Significant Relationship FROM table WHERE Virtues = Will
000000061
SELECT Examples FROM table WHERE Existential Question [ not in citation given ] = Can I Love?
000000062
SELECT COUNT Rank FROM table WHERE Points = 796.7
000000063
SELECT COUNT Group stage FROM table WHERE Points = 177.2
000000064
SELECT MIN Group stage FROM table WHERE Points = 886.6
000000065
SELECT COUNT Member Association FROM table WHERE Points = 177.2
000000066
SELECT City FROM table WHERE Capacity = 41903
000000067
SELECT MAX Capacity FROM table WHERE Stadium = Otkrytie Arena
000000068
SELECT MIN Opening FROM table WHERE Tenant = Bursaspor
000000069
SELECT COUNT Tenant FROM table WHERE City = Samsun
000000070
SELECT Original air date FROM table WHERE Title = "Hell"
000000071
SELECT Shivalik Zone FROM table WHERE Mid-Hill Zone = 10%
000000072
SELECT Mid-Hill Zone FROM table WHERE Particulars and Characteristics = Altitude
000000073
SELECT Trance- n Himalaya Zone FROM table WHERE Particulars and Characteristics = Climatic conditions
000000074
SELECT Trance- n Himalaya Zone FROM table WHERE High hill zone = 25%
000000075
SELECT State represented FROM table WHERE Name = Ted Stevens
000000076
SELECT MAX Standard FROM table WHERE First title = 1992
000000077
SELECT MIN Players FROM table
000000078
SELECT MAX Last title FROM table
000000079
SELECT Religious group FROM table WHERE Population % 2001 = 0.72%
000000080
SELECT Original air date FROM table WHERE No. in season = 15
000000081
SELECT COUNT No. in season FROM table WHERE Title = "Poppin' Tags"
000000082
SELECT Percent of Slovenes 1951 FROM table WHERE Village (German) = Bach
000000083
SELECT College FROM table WHERE CFL Team = Saskatchewan Roughriders
000000084
SELECT Position FROM table WHERE Player = Calvin McCarty
000000085
SELECT COUNT Position FROM table WHERE Pick # = 30
000000086
SELECT College FROM table WHERE Player = Calvin McCarty
000000087
SELECT College FROM table WHERE Position = LB
000000088
SELECT High assists FROM table WHERE Date = February 9
000000089
SELECT Name of lava dome FROM table WHERE Last eruption or growth episode = Holocene
000000090
SELECT Composition FROM table WHERE Name of lava dome = Valles lava dome
000000091
SELECT COUNT Country FROM table WHERE Name of lava dome = Tata Sabaya lava domes
000000092
SELECT Country FROM table WHERE Last eruption or growth episode = 1986
000000093
SELECT Lyricist FROM table WHERE Length = 3:05
000000094
SELECT Song FROM table WHERE Length = 3:05
000000095
SELECT Lyricist FROM table WHERE Length = 6:14
000000096
SELECT MAX Track # FROM table
000000097
SELECT Song FROM table WHERE Picturization = Vijay
000000098
SELECT Singers FROM table WHERE Lyricist = Alangudi Somu
000000099
SELECT Publisher FROM table WHERE Product No. = SCUS-97265
End of preview. Expand in Data Studio

WikiSQLRetrieval

An MTEB dataset
Massive Text Embedding Benchmark

A code retrieval task based on WikiSQL dataset with natural language questions and corresponding SQL queries. Each query is a natural language question (e.g., 'What is the name of the team that has scored the most goals?'), and the corpus contains SQL query implementations. The task is to retrieve the correct SQL query that answers the natural language question. Queries are natural language questions while the corpus contains SQL SELECT statements with proper syntax and logic for querying database tables.

Task category t2t
Domains Programming
Reference https://huggingface.co/datasets/embedding-benchmark/WikiSQL_mteb

Source datasets:

How to evaluate on this task

You can evaluate an embedding model on this dataset using the following code:

import mteb

task = mteb.get_task("WikiSQLRetrieval")
evaluator = mteb.MTEB([task])

model = mteb.get_model(YOUR_MODEL)
evaluator.run(model)

To learn more about how to run models on mteb task check out the GitHub repository.

Citation

If you use this dataset, please cite the dataset as well as mteb, as this dataset likely includes additional processing as a part of the MMTEB Contribution.


@article{zhong2017seq2sql,
  archiveprefix = {arXiv},
  author = {Zhong, Victor and Xiong, Caiming and Socher, Richard},
  eprint = {1709.00103},
  primaryclass = {cs.CL},
  title = {Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning},
  year = {2017},
}


@article{enevoldsen2025mmtebmassivemultilingualtext,
  title={MMTEB: Massive Multilingual Text Embedding Benchmark},
  author={Kenneth Enevoldsen and Isaac Chung and Imene Kerboua and Márton Kardos and Ashwin Mathur and David Stap and Jay Gala and Wissam Siblini and Dominik Krzemiński and Genta Indra Winata and Saba Sturua and Saiteja Utpala and Mathieu Ciancone and Marion Schaeffer and Gabriel Sequeira and Diganta Misra and Shreeya Dhakal and Jonathan Rystrøm and Roman Solomatin and Ömer Çağatan and Akash Kundu and Martin Bernstorff and Shitao Xiao and Akshita Sukhlecha and Bhavish Pahwa and Rafał Poświata and Kranthi Kiran GV and Shawon Ashraf and Daniel Auras and Björn Plüster and Jan Philipp Harries and Loïc Magne and Isabelle Mohr and Mariya Hendriksen and Dawei Zhu and Hippolyte Gisserot-Boukhlef and Tom Aarsen and Jan Kostkan and Konrad Wojtasik and Taemin Lee and Marek Šuppa and Crystina Zhang and Roberta Rocca and Mohammed Hamdy and Andrianos Michail and John Yang and Manuel Faysse and Aleksei Vatolin and Nandan Thakur and Manan Dey and Dipam Vasani and Pranjal Chitale and Simone Tedeschi and Nguyen Tai and Artem Snegirev and Michael Günther and Mengzhou Xia and Weijia Shi and Xing Han Lù and Jordan Clive and Gayatri Krishnakumar and Anna Maksimova and Silvan Wehrli and Maria Tikhonova and Henil Panchal and Aleksandr Abramov and Malte Ostendorff and Zheng Liu and Simon Clematide and Lester James Miranda and Alena Fenogenova and Guangyu Song and Ruqiya Bin Safi and Wen-Ding Li and Alessia Borghini and Federico Cassano and Hongjin Su and Jimmy Lin and Howard Yen and Lasse Hansen and Sara Hooker and Chenghao Xiao and Vaibhav Adlakha and Orion Weller and Siva Reddy and Niklas Muennighoff},
  publisher = {arXiv},
  journal={arXiv preprint arXiv:2502.13595},
  year={2025},
  url={https://arxiv.org/abs/2502.13595},
  doi = {10.48550/arXiv.2502.13595},
}

@article{muennighoff2022mteb,
  author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Loïc and Reimers, Nils},
  title = {MTEB: Massive Text Embedding Benchmark},
  publisher = {arXiv},
  journal={arXiv preprint arXiv:2210.07316},
  year = {2022}
  url = {https://arxiv.org/abs/2210.07316},
  doi = {10.48550/ARXIV.2210.07316},
}

Dataset Statistics

Dataset Statistics

The following code contains the descriptive statistics from the task. These can also be obtained using:

import mteb

task = mteb.get_task("WikiSQLRetrieval")

desc_stats = task.metadata.descriptive_stats
{
    "test": {
        "num_samples": 4096,
        "number_of_characters": 3416755,
        "documents_text_statistics": {
            "total_text_length": 127326,
            "min_text_length": 24,
            "average_text_length": 62.1708984375,
            "max_text_length": 211,
            "unique_texts": 2022
        },
        "documents_image_statistics": null,
        "queries_text_statistics": {
            "total_text_length": 3289429,
            "min_text_length": 540,
            "average_text_length": 1606.16650390625,
            "max_text_length": 5833,
            "unique_texts": 2043
        },
        "queries_image_statistics": null,
        "relevant_docs_statistics": {
            "num_relevant_docs": 2048,
            "min_relevant_docs_per_query": 1,
            "average_relevant_docs_per_query": 1.0,
            "max_relevant_docs_per_query": 1,
            "unique_relevant_docs": 2048
        },
        "top_ranked_statistics": null
    }
}

This dataset card was automatically generated using MTEB

Downloads last month
18