Instructions to use lysandre/tiny-tapas-random-wtq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lysandre/tiny-tapas-random-wtq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("table-question-answering", model="lysandre/tiny-tapas-random-wtq")# Load model directly from transformers import AutoTokenizer, AutoModelForTableQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("lysandre/tiny-tapas-random-wtq") model = AutoModelForTableQuestionAnswering.from_pretrained("lysandre/tiny-tapas-random-wtq") - Notebooks
- Google Colab
- Kaggle
String to int
Browse files- config.json +4 -4
config.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"aggregation_labels": {
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
},
|
| 8 |
"aggregation_loss_weight": 1.0,
|
| 9 |
"aggregation_temperature": 1.0,
|
|
|
|
| 1 |
{
|
| 2 |
"aggregation_labels": {
|
| 3 |
+
0: "NONE",
|
| 4 |
+
1: "SUM",
|
| 5 |
+
2: "AVERAGE",
|
| 6 |
+
3: "COUNT"
|
| 7 |
},
|
| 8 |
"aggregation_loss_weight": 1.0,
|
| 9 |
"aggregation_temperature": 1.0,
|