Please use this identifier to cite or link to this item: http://hdl.handle.net/10362/175086
Title: Zero-Shot Prompting Strategies for Table Question Answering with a Low-Resource Language
Author: Jannuzzi, Marcelo
Perezhohin, Yuriy
Peres, Fernando Augusto Junqueira
Castelli, Mauro
Popovic, Ales
Keywords: Text to SQL
Natural Language Processing
Computational Linguistics
Zero-shot Prompting
General
SDG 9 - Industry, Innovation, and Infrastructure
Issue Date: Oct-2024
Abstract: This work explores the application of zero-shot prompting strategies for table question answering (TQA) in Portuguese, focusing specifically on the Text2SQL task. This task involves translating questions posed in natural language into Structured Query Language (SQL) queries, which can be executed against a database to answer the original question. Given the popularity of relational databases across various domains, advancements in this field can substantially impact the accessibility and democratization of data as simpler and more intuitive interfaces for database interaction are developed. Despite this significant potential, progress in developing Portuguese TQA solutions remains limited. The proposed approach leverages Large Language Models (LLMs)—specifically the GPT-3.5 and GPT-4 models—through zero-shot prompting. The primary objectives are to assess the effectiveness of such LLMs in this task and to identify the most suitable prompt styles. These are evaluated using a Portuguese translation of the popular Spider Text2SQL benchmark. Results reveal that the proposed approach can generate adequate SQL queries to answer Portuguese language questions about various databases, mainly when using GPT-4. The findings suggest that including schema information and database content in the prompts is critical for satisfactory outcomes.
Description: Jannuzzi, M., Perezhohin, Y., Peres, F. A. J., Castelli, M., & Popovic, A. (2024). Zero-Shot Prompting Strategies for Table Question Answering with a Low-Resource Language. Emerging Science Journal, 8(5), 2003-2022. https://doi.org/10.28991/ESJ-2024-08-05-020
Peer review: yes
URI: http://hdl.handle.net/10362/175086
DOI: https://doi.org/10.28991/ESJ-2024-08-05-020
ISSN: 2610-9182
Appears in Collections:NIMS: MagIC - Artigos em revista internacional com arbitragem científica (Peer-Review articles in international journals)



FacebookTwitterDeliciousLinkedInDiggGoogle BookmarksMySpace
Formato BibTex MendeleyEndnote 

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.