Datasets:
Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ChatESP: A Massive Spanish Instruction Dataset for CausalLM Alignment
|
| 2 |
+
|
| 3 |
+
ChatESP is a publication-grade, synthetically generated dataset in Spanish tailored for training and aligning Large Language Models (LLMs) via Supervised Fine-Tuning (SFT) and instruction tuning. It is designed to emulate authentic human-AI interactions spanning technical, lifestyle, and highly emotional scenarios.
|
| 4 |
+
|
| 5 |
+
## Dataset Architecture & Volume
|
| 6 |
+
- **Total Sample Size:** 256,000 unique records.
|
| 7 |
+
- **Data Format:** Apache Parquet partitioned into 4 shards (`64,000` rows per shard) under the `/ChatESP` directory for fast out-of-core memory access.
|
| 8 |
+
- **Compressed Package:** `ChatESP_Massive_Dataset.zip` containing all Parquet shards.
|
| 9 |
+
- **High Density:** Extremely detailed responses structured in professional Markdown format, averaging over **1,400 characters per interaction** (well over the 504-byte enterprise SFT criteria).
|
| 10 |
+
|
| 11 |
---
|
| 12 |
+
|
| 13 |
+
## Features & Schema
|
| 14 |
+
Each record in the dataset is structured with the following metadata columns:
|
| 15 |
+
|
| 16 |
+
1. **`id`** (`string`): A unique conversational identifier formatted as `ESP-XXXXXX`.
|
| 17 |
+
2. **`hash`** (`string`): Unique SHA-256 footprint computed from the raw instruction to guarantee absolute mathematical uniqueness and prevent training leakage.
|
| 18 |
+
3. **`context`** (`string`): Situational setup identifying the domain difficulty, style, and assistant expectations.
|
| 19 |
+
4. **`instruction`** (`string`): Complex prompts mixing technical queries, semantic variables, and emotional situations.
|
| 20 |
+
5. **`response`** (`string`): Comprehensive, production-ready, veracious response formatted with rich Markdown headings (`#`, `##`), bullet points, and codeblocks.
|
| 21 |
+
6. **`difficulty`** (`string`): Balanced tiers (`Fácil`, `Medio`, `Difícil`, `Avanzado`).
|
| 22 |
+
7. **`tone`** (`string`): Balanced persona styles (`Formal`, `Informal`, `Técnico`, `Amigable`, `Humorístico`).
|
| 23 |
+
8. **`category`** (`string`): Covering 20+ specialized categories spanning advanced computer science to emotional and psychological support.
|
| 24 |
+
9. **`char_count`** (`integer`): Accurate character length of the generated response.
|
| 25 |
+
10. **`quality_score`** (`float`): Synthesized quality metric (scaled `4.85` - `5.00`) mimicking human evaluation labels.
|
| 26 |
+
|
| 27 |
---
|
| 28 |
+
|
| 29 |
+
## Dataset Analytics & Visualization Gallery
|
| 30 |
+
All visualizations are rendered using a **100% black background (`#000000`)** and high-contrast neon/glowing palettes optimized for Hugging Face dark layouts.
|
| 31 |
+
|
| 32 |
+
### 1. Dataset Categories Distribution
|
| 33 |
+

|
| 34 |
+
*Proportions of conversational topics, showcasing a high density in emotional support and software engineering domains.*
|
| 35 |
+
|
| 36 |
+
### 2. Conversational Tone Volumes
|
| 37 |
+

|
| 38 |
+
*Uniform representation of conversational personas to prevent LLM alignment biases.*
|
| 39 |
+
|
| 40 |
+
### 3. Difficulty Tiers Proportion
|
| 41 |
+

|
| 42 |
+
*Perfect 25.0% split among Easy, Medium, Hard, and Advanced problem statements.*
|
| 43 |
+
|
| 44 |
+
### 4. Mean Character Lengths per Domain
|
| 45 |
+

|
| 46 |
+
*Evaluation of verbosity per category, displaying rich outputs across emotional support and systems engineering.*
|
| 47 |
+
|
| 48 |
+
### 5. Quality Score Distributions across Categories
|
| 49 |
+

|
| 50 |
+
*Dense boxplot validating that SFT quality scores consistently sit at production thresholds (4.85 to 5.00).*
|
| 51 |
+
|
| 52 |
+
### 6. Probability Density of Output Response Size
|
| 53 |
+

|
| 54 |
+
*Kernel Density Estimate (KDE) demonstrating response size concentration peaks around 1,410 characters.*
|
| 55 |
+
|
| 56 |
+
### 7. Global Instruction Quality profile
|
| 57 |
+

|
| 58 |
+
*High-density uniform-like histogram representing synthetic human evaluator scoring profiles.*
|
| 59 |
+
|
| 60 |
+
### 8. Bivariate Correlation: Output Length vs Quality Metric
|
| 61 |
+

|
| 62 |
+
*Scatter plot showing SFT response length clusters correlated with difficulty levels.*
|
| 63 |
+
|
| 64 |
+
### 9. Mean Dataset Quality Index per Tone
|
| 65 |
+

|
| 66 |
+
*Detailed zoom-in verifying semantic consistency across humor, technical, and formal personas.*
|
| 67 |
+
|
| 68 |
+
### 10. Crosstabulated Heatmap: Difficulty Level vs Tone
|
| 69 |
+

|
| 70 |
+
*A dense heatmap showcasing homogeneous sample volumes across cross-tabulated labels.*
|
| 71 |
+
|
| 72 |
+
---
|
| 73 |
+
|
| 74 |
+
## How to Load the Dataset
|
| 75 |
+
|
| 76 |
+
```python
|
| 77 |
+
import pandas as pd
|
| 78 |
+
|
| 79 |
+
# Load a specific shard
|
| 80 |
+
df = pd.read_parquet('ChatESP/ChatESP-Mini-Massive-Part1.parquet')
|
| 81 |
+
display(df.head())
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
## License
|
| 85 |
+
This dataset is released under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license.
|