AraSpider: Democratizing Arabic-to-SQL

Ahmed Heakl, Youssef Mohamed, Ahmed B. Zaky
2/12/2024
cs.CLcs.AIcs.DB

No official code found. Best implementation: ahmedheakl/AraSpider (3 stars, MIT, last commit 2024-04-19).

Abstract

This study presents AraSpider, the first Arabic version of the Spider dataset, aimed at improving natural language processing (NLP) in the Arabic-speaking community. Four multilingual translation models were tested for their effectiveness in translating English to Arabic. Additionally, two models were assessed for their ability to generate SQL queries from Arabic text. The results showed that using back translation significantly improved the performance of both ChatGPT 3.5 and SQLCoder models, which are considered top performers on the Spider dataset. Notably, ChatGPT 3.5 demonstrated high-quality translation, while SQLCoder excelled in text-to-SQL tasks. The study underscores the importance of incorporating contextual schema and employing back translation strategies to enhance model performance in Arabic NLP tasks. Moreover, the provision of detailed methodologies for reproducibility and translation of the dataset into other languages highlights the research's commitment to promoting transparency and collaborative knowledge sharing in the field. Overall, these contributions advance NLP research, empower Arabic-speaking researchers, and enrich the global discourse on language comprehension and database interrogation.

View on arXivView PDF

Code Implementations(1)

MIT

Arabic translation of Spider dataset

30Python, Jupyter NotebookFeb 10, 20242 years agoMIT

Cite this paper

@article{heakl2024araspider,
  title  = {AraSpider: Democratizing Arabic-to-SQL},
  author = {Ahmed Heakl and Youssef Mohamed and Ahmed B. Zaky},
  year   = {2024},
  eprint = {2402.07448},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.07448v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.07448.svg)](https://codeofpaper.com/paper/2402.07448)

Discussion