File size: 3,629 Bytes
2274eca 08bf85f 4dc0476 08bf85f 4dc0476 58e98e2 2274eca 08bf85f 2274eca 08bf85f 2274eca 08bf85f 2274eca 08bf85f 2274eca 2c6aaf6 4dc0476 58e98e2 08bf85f 2274eca 08bf85f 4dc0476 58e98e2 08bf85f 4dc0476 08bf85f 4dc0476 08bf85f 4dc0476 08bf85f 4dc0476 08bf85f 2c6aaf6 08bf85f 4dc0476 08bf85f 4dc0476 08bf85f f305eef 08bf85f 4dc0476 08bf85f 4dc0476 58e98e2 4dc0476 08bf85f 4dc0476 08bf85f 4dc0476 08bf85f 4dc0476 08bf85f 58e98e2 08bf85f 58e98e2 f305eef 58e98e2 ef9f474 08bf85f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | ---
pretty_name: EPDK Corpus (v2)
tags:
- turkish
- energy-market
- legislation
- regulations
- epdk
- ocr
- qwen-vl
- text-extraction
- domain-specific
- language-modeling
- legal
dataset_info:
features:
- name: id
dtype: string
- name: text
dtype: string
- name: kind
dtype: string
- name: method
dtype: string
splits:
- name: train
num_examples: 3577
download_size: 72000000
dataset_size: 145000000
configs:
- config_name: v2
data_files:
- split: train
path: epdk_corpus_dataset.jsonl
language:
- tr
license: apache-2.0
task_categories:
- text-generation
size_categories:
- 1K<n<10K
version: 2.0.0
---
# Dataset Card for **EPDK Electricity Market Corpus (v2)**
## Dataset Summary
This corpus contains high-quality Turkish text extracted from **documents published by the Turkish Energy Market Regulatory Authority (EPDK – Enerji Piyasası Düzenleme Kurumu)**.
The source materials include regulations, board decisions, and official communiqués related to the **electricity market legislation**.
Version 2.0.0 introduces a **complete re-extraction of the text using the Qwen-2.5-VL vision-language model**, which achieves dramatically better OCR accuracy than Tesseract—particularly on scanned and complex multi-column PDFs.
The result is a significantly cleaner and more semantically faithful representation of the original legal texts.
---
## Version History
| Version | Description | Date | Notes |
|----------|--------------|------|-------|
| **v1.0.0** | Initial release using Tesseract OCR (≈ 3.4 K docs) | 2025-04 | Baseline version. Stored under `/v1.0.0/` branch. |
| **v2.0.0** | Re-extracted with Qwen-2.5-VL OCR (≈ 3.6 K docs), normalized fields (`id`, `text`, `kind`, `method`) | 2025-10 | Recommended for downstream use. |
To load a specific version:
```python
from datasets import load_dataset
ds = load_dataset("ogulcanakca/epdk_corpus", revision="v2.0.0")
```
---
## Intended Uses
Designed primarily for **language-model domain adaptation** and **continued pre-training** on Turkish regulatory language.
Potential downstream tasks include:
* Legal Question Answering over EPDK documents
* Summarization of laws and regulations
* Document classification or clustering (e.g., tebliğ / karar / yönetmelik)
* Information retrieval and RAG training for energy-sector LLMs
---
## Languages
All text is in **Turkish (`tr`)**.
---
## Data Fields
| Field | Type | Description |
| -------- | ------ | ---------------------------------------------------------------- |
| `id` | string | Unique SHA-1-based identifier for the document |
| `text` | string | Cleaned text extracted from the source file |
| `kind` | string | File type (`docx`, `pdf`, `xls`, etc.) |
| `method` | string | Extraction method (`python-docx`, `pandas`, `qwen-vl-ocr`, etc.) |
---
## Example Instance
```json
{
"id": "b3f7a6d9c49e",
"text": "Enerji Piyasası Düzenleme Kurumundan:\nKURUL KARARI\nKarar No: 9284 Karar Tarihi: 02/04/2020\n...",
"kind": "docx",
"method": "python-docx"
}
```
---
## Data Structure & Access
* Format: `JSONL` (one document per line)
* Total examples: ≈ 3 577
* Dataset path: `v2/final_corpus_dataset.jsonl`
---
```bibtex
@dataset{ogulcanakca_epdk_corpus_v2,
author = {Oğulcan Akca},
title = {EPDK Corpus (v2)},
year = {2025},
url = {https://huggingface.co/datasets/ogulcanakca/epdk_corpus}
}
```
---
[akca_ogulcan@hotmail.com](mailto:akca_ogulcan@hotmail.com) |