HubCloneHubClone
Tasks

Table Question Answering

Table question answering answers questions using the rows and columns of a table.

Inputs

Input
Sales by region — Which region sold the most?

Table Question Answering Model

Output

Output

North

About Table Question Answering

Table question answering answers questions using the rows and columns of a table. Browse table question answering models on HubClone to compare checkpoints, or open a Space to try one in the browser.

Use Cases

Spreadsheet assistants

Ask which region had the highest sales.

Data exploration

Query CSV files in plain language.

Inference

The Transformers pipeline API runs table question answering models in a few lines. Replace <model-id> with any model listed on this page.

from transformers import pipeline

pipe = pipeline("table-question-answering", model="<model-id>")
pipe(table)

Useful Resources

Want to dig deeper into the topic? Great! Here is a hand-picked list of resources we found helpful.

Documentation

  • Table Question Answering task guide
  • Pipelines reference

Notebooks

  • Fine-tuning a table question answering model