--- license: mit task_categories: - translation language: - pt tags: - Text2SQL - Text-to-SQL pretty_name: AtlasSQL-BR size_categories: - 1K1 aggregation (COUNT, SUM, AVG); multiple spatial functions. | | **Very Hard** | 4+ JOINs; multiple aggregations; subqueries and/or CTEs; window functions (ROW_NUMBER, RANK, DENSE_RANK); CASE WHEN; possible UNION. | ## 📁 Files and Reproducibility The dataset is divided into standard `train.parquet` and `validation.parquet` splits. **⚠️ Important Note on Reproducibility:** The baseline experiments documented in the original paper were conducted **exclusively** on the original 980 question-SQL pairs. The dataset files available here also include additional data generated through data augmentation techniques. To exactly replicate the experiments and results from the original paper, you **must**: 1. Use the dataset version associated with the **`paper-released`** tag. 2. Filter the data to include **only** the records where the `source` column is exactly `base_dataset`. The other partitions (`delete`, `insert`, `swap`, `synonym`, `translate`) contain synthetic augmented data and should be excluded when reproducing the paper's base results. ### How to load the dataset for reproducibility (Python) You can easily download and filter the dataset using the Hugging Face `datasets` library to match the exact setup used in the paper: ```python from datasets import load_dataset # 1. Load the dataset using the specific tag for the paper's release dataset = load_dataset("datafromlopes/atlas-sql-br", revision="paper-released") # 2. Filter both train and validation splits to include only the original 980 questions base_train = dataset["train"].filter(lambda x: x["source"] == "base_dataset") base_validation = dataset["validation"].filter(lambda x: x["source"] == "base_dataset") print(f"Original Train size: {len(base_train)}") print(f"Original Validation size: {len(base_validation)}") ``` ## ✒️ Citation If you find this dataset useful for your research, please cite the original paper: