STEP 3: Convert your data into PyTorch/TensorFlow tensors using TapasTokenizer
Third, given that you've prepared your data in this TSV/CSV format (and corresponding CSV files containing the tabular data), you can then use [TapasTokenizer] to convert table-question pairs into input_ids, attention_mask, token_type_ids and so on. Again, based on which of the three cases you picked above, [TapasForQuestionAnswering]/[TFTapasForQuestionAnswering] requires different
inputs to be fine-tuned:
| Task                           | Required inputs                                                                                                 |
|------------------------------------|---------------------------------------------------------------------------------------------------------------------|
| Conversational                     | input_ids, attention_mask, token_type_ids, labels                                                           |
