Update README.md
Browse files
README.md
CHANGED
|
@@ -36,7 +36,31 @@ dataset_info:
|
|
| 36 |
num_examples: 86
|
| 37 |
download_size: 711704
|
| 38 |
dataset_size: 8416826
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
---
|
| 40 |
# Dataset Card for "atis-tableQA"
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
|
|
|
| 36 |
num_examples: 86
|
| 37 |
download_size: 711704
|
| 38 |
dataset_size: 8416826
|
| 39 |
+
license: apache-2.0
|
| 40 |
+
task_categories:
|
| 41 |
+
- table-question-answering
|
| 42 |
+
language:
|
| 43 |
+
- en
|
| 44 |
+
size_categories:
|
| 45 |
+
- 1K<n<10K
|
| 46 |
---
|
| 47 |
# Dataset Card for "atis-tableQA"
|
| 48 |
|
| 49 |
+
# Usage
|
| 50 |
+
```
|
| 51 |
+
import pandas as pd
|
| 52 |
+
from datasets import load_dataset
|
| 53 |
+
|
| 54 |
+
atis_tableQA = load_dataset("vaishali/atis-tableQA")
|
| 55 |
+
|
| 56 |
+
for sample in atis_tableQA['train']:
|
| 57 |
+
question = sample['question']
|
| 58 |
+
sql_query = sample['query'],
|
| 59 |
+
answer = pd.read_json(sample['answer'], orient='split')
|
| 60 |
+
|
| 61 |
+
# flattened input
|
| 62 |
+
input_to_llm = sample["source"]
|
| 63 |
+
target = sample["target"]
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|