# UIT-ViQuAD v2

- Source:
- Num examples: 
  - 19,238 (train)
  - 9,714 (validation)
- Language: Vietnamese

```python
from datasets import load_dataset

load_dataset("tdtunlp/uit_viquad_vi")
```

- Format for QA task

```python
def preprocess(sample):
    question = sample['question']
    answer = sample['answer']
    return {'text': f'<|startoftext|><|question|>{question}<|answer|>{answer}<|endoftext|>'}

"""
<|startoftext|><|question|>Tên gọi nào được Phạm Văn Đồng sử dụng khi làm Phó chủ nhiệm cơ quan Biện sự xứ tại Quế Lâm?<|answer|>Tên gọi mà Phạm Văn Đồng sử dụng khi làm Phó chủ nhiệm cơ quan Biện sự xứ tại Quế Lâm là Lâm Bá Kiệt.<|endoftext|>
"""
```
task_categories:question-answering size_categories:10K<n<100K language:vi LM region:us
{"language": ["vi"], "size_categories": ["10K<n<100K"], "task_categories": ["question-answering"], "dataset_info": {"features": [{"name": "question", "dtype": "string"}, {"name": "short_answer", "dtype": "string"}, {"name": "answer", "dtype": "string"}], "splits": [{"name": "train", "num_bytes": 11582141.90997921, "num_examples": 19238}, {"name": "validation", "num_bytes": 5762392, "num_examples": 9714}], "download_size": 5378187, "dataset_size": 17344533.90997921}, "tags": ["LM"]}
TAGS
#task_categories-question-answering #size_categories-10K<n<100K #language-Vietnamese #LM #region-us 

# UIT-ViQuAD v2

- Source:
- Num examples: 
  - 19,238 (train)
  - 9,714 (validation)
- Language: Vietnamese



- Format for QA task


# UIT-ViQuAD v2

- Source:
- Num examples: 
  - 19,238 (train)
  - 9,714 (validation)
- Language: Vietnamese



- Format for QA task
TAGS
#task_categories-question-answering #size_categories-10K<n<100K #language-Vietnamese #LM #region-us 
 # UIT-ViQuAD v2

- Source:
- Num examples: 
  - 19,238 (train)
  - 9,714 (validation)
- Language: Vietnamese



- Format for QA task
passage: TAGS
#task_categories-question-answering #size_categories-10K<n<100K #language-Vietnamese #LM #region-us 
# UIT-ViQuAD v2

- Source:
- Num examples: 
  - 19,238 (train)
  - 9,714 (validation)
- Language: Vietnamese



- Format for QA task