Instructions to use google/tapas-base-finetuned-wikisql-supervised with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/tapas-base-finetuned-wikisql-supervised with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("table-question-answering", model="google/tapas-base-finetuned-wikisql-supervised")# Load model directly from transformers import AutoTokenizer, AutoModelForTableQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("google/tapas-base-finetuned-wikisql-supervised") model = AutoModelForTableQuestionAnswering.from_pretrained("google/tapas-base-finetuned-wikisql-supervised") - Notebooks
- Google Colab
- Kaggle
nit
#3
by pgzmnk - opened
README.md
CHANGED
|
@@ -9,7 +9,7 @@ datasets:
|
|
| 9 |
|
| 10 |
# TAPAS base model fine-tuned on WikiSQL (in a supervised fashion)
|
| 11 |
|
| 12 |
-
|
| 13 |
This model was pre-trained on MLM and an additional step which the authors call intermediate pre-training, and then fine-tuned in a chain on [SQA](https://www.microsoft.com/en-us/download/details.aspx?id=54253), and [WikiSQL](https://github.com/salesforce/WikiSQL). It uses relative position embeddings (i.e. resetting the position index at every cell of the table).
|
| 14 |
|
| 15 |
The other (non-default) version which can be used is:
|
|
|
|
| 9 |
|
| 10 |
# TAPAS base model fine-tuned on WikiSQL (in a supervised fashion)
|
| 11 |
|
| 12 |
+
This model has 2 versions which can be used. The default version corresponds to the `tapas_wikisql_sqa_inter_masklm_base_reset` checkpoint of the [original Github repository](https://github.com/google-research/tapas).
|
| 13 |
This model was pre-trained on MLM and an additional step which the authors call intermediate pre-training, and then fine-tuned in a chain on [SQA](https://www.microsoft.com/en-us/download/details.aspx?id=54253), and [WikiSQL](https://github.com/salesforce/WikiSQL). It uses relative position embeddings (i.e. resetting the position index at every cell of the table).
|
| 14 |
|
| 15 |
The other (non-default) version which can be used is:
|