AraSpider: Democratizing Arabic-to-SQL

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Heakl, Ahmed, Mohamed, Youssef, Zaky, Ahmed B.
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914674796134400
author Heakl, Ahmed
Mohamed, Youssef
Zaky, Ahmed B.
author_facet Heakl, Ahmed
Mohamed, Youssef
Zaky, Ahmed B.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_07448
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AraSpider: Democratizing Arabic-to-SQL
Heakl, Ahmed
Mohamed, Youssef
Zaky, Ahmed B.
Computation and Language
Artificial Intelligence
Databases
Information Retrieval
Machine Learning
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.
title AraSpider: Democratizing Arabic-to-SQL
topic Computation and Language
Artificial Intelligence
Databases
Information Retrieval
Machine Learning
url https://arxiv.org/abs/2402.07448