TableQuery: Querying tabular data with natural language

Abhijith Neil Abraham, Fariz Rahman, Damanpreet Kaur
1/27/2022
cs.CLcs.AIcs.DB

Official code: abhijithneilabraham/tableQA (320 stars, Python, GPL-3.0, last commit 2023-11-29).

Abstract

This paper presents TableQuery, a novel tool for querying tabular data using deep learning models pre-trained to answer questions on free text. Existing deep learning methods for question answering on tabular data have various limitations, such as having to feed the entire table as input into a neural network model, making them unsuitable for most real-world applications.

Show full abstract

Since real-world data might contain millions of rows, it may not entirely fit into the memory. Moreover, data could be stored in live databases, which are updated in real-time, and it is impractical to serialize an entire database to a neural network-friendly format each time it is updated. In TableQuery, we use deep learning models pre-trained for question answering on free text to convert natural language queries to structured queries, which can be run against a database or a spreadsheet. This method eliminates the need for fitting the entire data into memory as well as serializing databases. Furthermore, deep learning models pre-trained for question answering on free text are readily available on platforms such as HuggingFace Model Hub (7). TableQuery does not require re-training; when a newly trained model for question answering with better performance is available, it can replace the existing model in TableQuery.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

AI Tool for querying natural language on tabular data.

32045PythonJul 31, 20203 years agoGPL-3.0
aicsvdatabasemachine-learningnl2sql+10 more

Similar Papers

Cite this paper

@article{abraham2022tablequery,
  title  = {TableQuery: Querying tabular data with natural language},
  author = {Abhijith Neil Abraham and Fariz Rahman and Damanpreet Kaur},
  year   = {2022},
  eprint = {2202.00454},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.00454}
}

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/2202.00454.svg)](https://codeofpaper.com/paper/2202.00454)

Discussion