language:th license:cc-by-sa-3.0 size_categories:100K<n<1M format:parquet modality:text library:datasets library:dask library:mlcroissant library:polars region:us
---
language:
- th
dataset_info:
  features:
  - name: context
    dtype: string
  - name: Question
    dtype: string
  - name: RAW Ground Truth
    sequence: string
  - name: Thinking
    dtype: string
  - name: Final Answer
    dtype: string
  splits:
  - name: train
    num_bytes: 1250511133
    num_examples: 176357
  download_size: 515933688
  dataset_size: 1250511133
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
license: cc-by-sa-3.0
---


```python
>>> from datasets import load_dataset

>>> ds = load_dataset("jaeyong2/thai-rag-cot", split="train")
>>> ds
Dataset({
    features: ['context', 'Question', 'RAW Ground Truth', 'Thinking', 'Final Answer'],
    num_rows: 176357
})
```


### Development Process

1. source dataset from [pythainlp/prd_news_30112023](https://huggingface.co/datasets/pythainlp/prd_news_30112023) and [pythainlp/thai-wiki-dataset-v3](https://huggingface.co/datasets/pythainlp/thai-wiki-dataset-v3)
2. We used [Qwen/Qwen2-72B-Instruct](https://huggingface.co/Qwen/Qwen2.5-72B-Instruct) model to generate answer with COT.




## License
- Qwen/Qwen2.5-72B-Instruct : https://huggingface.co/Qwen/Qwen2-72B-Instruct/blob/main/LICENSE
- pythainlp/prd_news_30112023 : https://choosealicense.com/licenses/cc0-1.0/
- pythainlp/thai-wiki-dataset-v3: https://spdx.org/licenses/CC-BY-SA-3.0


## Acknowledgement
This research is supported by **TPU Research Cloud program**.