license:mit size_categories:10K<n<100K format:parquet modality:text library:datasets library:pandas library:mlcroissant library:polars region:us
---
license: mit
dataset_info:
  features:
  - name: query
    dtype: string
  - name: answer
    dtype: string
  splits:
  - name: train
    num_bytes: 257199760
    num_examples: 51132
  - name: val
    num_bytes: 64034207
    num_examples: 12722
  download_size: 71848939
  dataset_size: 321233967
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: val
    path: data/val-*
---

This is a dataset of synthetically generated question and answer pairs on UK government policy papers.

It comes in 2 parts:
1. Plain text UK government policy papers, scraped from the [Gov.uk Policy papers and consultations page](https://www.gov.uk/search/policy-papers-and-consultations?content_store_document_type%5B%5D=policy_papers&order=updated-newest). These are in results.json
2. A series of question and answer pairs on chunk of the above documents, generated using [llama_index.finetuning.generate_qa_embedding_pairs](https://docs.llamaindex.ai/en/stable/api_reference/) and OpenAI GPT3.5 Turbo.