metadata
license: cc-by-4.0
task_categories:
- text2text-generation
- translation
language:
- en
tags:
- code
pretty_name: spiderology
size_categories:
- 1K<n<10K
What is it?
- Dataset for evaluation text-to-sql models based on Spider dataset.
- It is divided into 32 groups (testsets) of samples. Each group checks some models ability.
- For each group there is control group (simplyset) - the same samples, but without considering features.
- This is very similar to A/B-testing technic.
- All the simplified samples (from control group) are new.
- Test samples contains:
- Examples extracted from Spider (not only from "dev", but also from "train" and "train_other") Be careful, if you use it for training!
- Examples extracted from Spider, but corrected from ambiguity and errors
- Manually created (new) examples
Structure
Folders and files
- [all] - the hole dataset in one place
all/testset_all.json
- the samples with features from all testsetsall/simplyset_all.json
- the samples without features from all testsetsall/spiderology.json
- the samples with features from all testsets and simplysetsall/tables_all.json
- the schemes of all tables required for requestsall/databases
- the SQLite-databases for all requests in testsets and simplysets
- [testsets] - folder with testsets calledby their name
testsets/X/testset_X.json
- the samples with feature X. Structure of samples is belowtestsets/X/simplyset_X.json
- the samples from testset without feature X. Structure of samples is the sametestsets/X/tables_X.json
- the schemes of all tables for testset and simplysettestsets/X/databases_X.json
- the SQLite-databases for all requests in testsets and simplysets Xtestsets/X/markup_X.json
- the simplysets and testsets in one table (in the form convenient for comparing)
- [experiments/predictions] - folder with testsets calledby their name
/experiments/predictions/spiderology_with_predictions.json
- all samples with predictions of two considering models
Structure of testsets and simplysets
{
"id": Unique ID of sample
"db_id": Name od database, corresponds to folder with DB in the databases_X
"query": SQL-query
"query_toks": Tokens of SQL-query
"query_toks_no_value": Tokens of SQL-query, filter value replaced by token 'value'
"question": Natural language question
"question_toks": Tokens of natural language question
"sql": Structured SQL-query (in Spider format
"tags": List of tags (features an sub-characteristics)
"source": Variant of sources (see below)
"parents_id": None for samples in testset or ID of simplified sample for simplification
"is_simplification": 'true' for simplifications, 'false' for other samples
"simplifications_tags": None for samples from testset, list of named simplified features for simplyset,
"predictions": Dictionary with SQL-queries predicted by models (exists only in the folder "experiments"),
"evaluation": Results of exact_matching, execution and human evaluation (exists only in the folder "experiments")
}
Sources
SIMPLIFIED
= Simplification of samplesSPIDER_DEV
= Samples from Spider test set ('dev')SPIDER_TRAIN
= Samples from Spider train set ('train')SPIDER_TRAIN_OTHERS
= Samples from Spider train set ('train_other')ADDED
= Created samples with features (not from Spider)
Test-set description
Here: https://github.com/rology/spiderology?tab=readme-ov-file#test-set-description