/tapas_utils

A package containing utils for the PyTorch version of the Tapas algorithm.

Primary LanguagePython

TAPAS utility script

This repo contains a utility script that you can use for the PyTorch version of the Tapas algorithm, available in the HuggingFace Transformers library.

The script allows you to automatically create answer coordinates given a table, question and answer texts.

The script is a copy of the Interaction utils parser of the original repository, but adapted to work for Pandas dataframes instead of Protocol buffers.

There's also an accompanying notebook, showcasing what you can do with the script.