Datasets:
Publish the complete dataset and Dataset Viewer configs on main
Browse filesKeep v1.0.0 as an unchanged release snapshot. Expose the current data from main and update the download guide, dataset configurations and manifests.
- .gitattributes +60 -0
- ANONYMIZATION.json +44 -0
- CHANGELOG.md +47 -0
- DATASET-MANIFEST.json +82 -0
- LICENSE +202 -0
- NOTICE +7 -0
- README.md +50 -15
- data/openmix/train.jsonl +0 -0
- data/openmix/validation.jsonl +0 -0
- data/pilot/train.jsonl +8 -0
- data/pilot/validation.jsonl +4 -0
- data/project/train.jsonl +0 -0
- data/project/validation.jsonl +0 -0
- openmix.jsonl +0 -0
- pilot.jsonl +12 -0
- project.jsonl +0 -0
.gitattributes
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
ANONYMIZATION.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"method": "deterministic post-training text redaction, metadata allowlist and new anonymous IDs",
|
| 3 |
+
"rows_by_stage": {
|
| 4 |
+
"pilot": 12,
|
| 5 |
+
"project": 576,
|
| 6 |
+
"openmix": 1408
|
| 7 |
+
},
|
| 8 |
+
"rows_with_text_changes_by_stage": {
|
| 9 |
+
"pilot": 0,
|
| 10 |
+
"project": 576,
|
| 11 |
+
"openmix": 311
|
| 12 |
+
},
|
| 13 |
+
"replacement_counts": {
|
| 14 |
+
"private_label": 1467,
|
| 15 |
+
"private_key": 0,
|
| 16 |
+
"provider_token": 0,
|
| 17 |
+
"jwt": 0,
|
| 18 |
+
"secret_literal": 0,
|
| 19 |
+
"personal_field": 0,
|
| 20 |
+
"author_comment": 4,
|
| 21 |
+
"filesystem_path": 32,
|
| 22 |
+
"windows_user_path": 0,
|
| 23 |
+
"url": 26,
|
| 24 |
+
"email": 0,
|
| 25 |
+
"ipv4": 9,
|
| 26 |
+
"local_hostname": 0,
|
| 27 |
+
"bare_domain": 22,
|
| 28 |
+
"phone": 0,
|
| 29 |
+
"uuid": 0,
|
| 30 |
+
"source_path_label": 920,
|
| 31 |
+
"high_entropy_literal": 20
|
| 32 |
+
},
|
| 33 |
+
"original_token_ids_exported": false,
|
| 34 |
+
"hidden_features_exported": false,
|
| 35 |
+
"private_replacement_map_exported": false,
|
| 36 |
+
"notice": "These texts differ from the original training corpus. The shipped weights were not retrained or unlearned.",
|
| 37 |
+
"trace_rows": 1996,
|
| 38 |
+
"new_tokenizations": 5988,
|
| 39 |
+
"tokenizer": "actual Whittle Q5_K_M target, llama.cpp vocab-only mode",
|
| 40 |
+
"invalid_tokenizations": 0,
|
| 41 |
+
"combined_prefix_checks": {
|
| 42 |
+
"True": 1996
|
| 43 |
+
}
|
| 44 |
+
}
|
CHANGELOG.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<div align="center">
|
| 2 |
+
|
| 3 |
+
# Changelog
|
| 4 |
+
|
| 5 |
+
**DFlash TraceMix Lite**
|
| 6 |
+
|
| 7 |
+
[Dataset overview](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite) · [Manifest](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/v1.0.0/DATASET-MANIFEST.json) · [Processing report](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/v1.0.0/ANONYMIZATION.json)
|
| 8 |
+
|
| 9 |
+
</div>
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
## v1.0.0 — 2026-11-08
|
| 14 |
+
|
| 15 |
+
> **Initial public release** · `1,996 records` · `JSONL`
|
| 16 |
+
|
| 17 |
+
### Added
|
| 18 |
+
|
| 19 |
+
- A lightweight collection of prompts and generated response traces for **DFlash draft-model experiments**.
|
| 20 |
+
- Project-code, programming, math, knowledge and writing tasks across three stages.
|
| 21 |
+
- Per-record split, task and source metadata, file counts and SHA-256 checksums.
|
| 22 |
+
|
| 23 |
+
| Stage | File | Train | Validation |
|
| 24 |
+
|:---|:---|---:|---:|
|
| 25 |
+
| Pilot | [pilot.jsonl](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/v1.0.0/pilot.jsonl) | 8 | 4 |
|
| 26 |
+
| Project Code | [project.jsonl](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/v1.0.0/project.jsonl) | 512 | 64 |
|
| 27 |
+
| OpenMix | [openmix.jsonl](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/v1.0.0/openmix.jsonl) | 1,280 | 128 |
|
| 28 |
+
| **Total** | | **1,800** | **196** |
|
| 29 |
+
|
| 30 |
+
### Licensing
|
| 31 |
+
|
| 32 |
+
- Added the [Apache-2.0 license](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/v1.0.0/LICENSE) for original contributions and release packaging. Third-party source terms remain applicable.
|
| 33 |
+
|
| 34 |
+
### Publication processing
|
| 35 |
+
|
| 36 |
+
- Anonymized text and source labels after training; replaced original record IDs and source hashes.
|
| 37 |
+
- Included an aggregate processing report and a file manifest.
|
| 38 |
+
|
| 39 |
+
<details>
|
| 40 |
+
<summary><strong>Release notes</strong></summary>
|
| 41 |
+
|
| 42 |
+
- OpenMix includes **256 replayed Project Code training records**, already counted in the total.
|
| 43 |
+
- Four short OpenMix training traces are marked `eligible_for_original_loader: false`.
|
| 44 |
+
- Traces were generated by Whittle Q5. The published text differs from the original training corpus; model weights were not retrained or unlearned after cleanup.
|
| 45 |
+
- Generated traces are not verified reference answers. See the [dataset overview](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite) for usage and source-specific data terms.
|
| 46 |
+
|
| 47 |
+
</details>
|
DATASET-MANIFEST.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_name": "DFlash TraceMix Lite",
|
| 3 |
+
"dataset_version": "1.0.0",
|
| 4 |
+
"description": "A lightweight collection of prompts and model-generated response traces for DFlash draft-model training experiments.",
|
| 5 |
+
"publication_date": "2026-11-08",
|
| 6 |
+
"publication_transform": "post-training anonymization",
|
| 7 |
+
"files": [
|
| 8 |
+
{
|
| 9 |
+
"file": "openmix.jsonl",
|
| 10 |
+
"rows": 1408,
|
| 11 |
+
"train_rows": 1280,
|
| 12 |
+
"validation_rows": 128,
|
| 13 |
+
"sha256": "71b41e159c31b158d6cad581a371d090d02e8c7c0e6dd3b41022d3b51b124677"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"file": "pilot.jsonl",
|
| 17 |
+
"rows": 12,
|
| 18 |
+
"train_rows": 8,
|
| 19 |
+
"validation_rows": 4,
|
| 20 |
+
"sha256": "8af473d5e31d855b9d96a3fa77cb6b55292ea48ee46070c483686b6f8caaa764"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"file": "project.jsonl",
|
| 24 |
+
"rows": 576,
|
| 25 |
+
"train_rows": 512,
|
| 26 |
+
"validation_rows": 64,
|
| 27 |
+
"sha256": "3c03345b00b7f25c244bb55edef004b19eade73e45ed889fb9f976ce57ded4fc"
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"author_dataset": {
|
| 31 |
+
"name": "Project Code",
|
| 32 |
+
"author": "Egor Prokhorov",
|
| 33 |
+
"curator": "Egor Prokhorov",
|
| 34 |
+
"source_file_count": 288,
|
| 35 |
+
"total_records": 576,
|
| 36 |
+
"train_records": 512,
|
| 37 |
+
"validation_records": 64,
|
| 38 |
+
"replayed_train_records": 256,
|
| 39 |
+
"replay_records_are_reused": true,
|
| 40 |
+
"published_anonymized_file": "project.jsonl",
|
| 41 |
+
"publication_anonymization": "post-training",
|
| 42 |
+
"license": "apache-2.0"
|
| 43 |
+
},
|
| 44 |
+
"license": "apache-2.0",
|
| 45 |
+
"license_file": "LICENSE",
|
| 46 |
+
"license_scope": "Original contributions and release packaging; third-party source terms remain applicable.",
|
| 47 |
+
"current_revision": "main",
|
| 48 |
+
"archived_revision": "v1.0.0",
|
| 49 |
+
"archived_commit": "b008e2317d8e15816ec0a654237ca0663e60db15",
|
| 50 |
+
"viewer_exports": [
|
| 51 |
+
{
|
| 52 |
+
"file": "data/openmix/train.jsonl",
|
| 53 |
+
"rows": 1280,
|
| 54 |
+
"sha256": "e4898417006f7faade2b93f524fffe98b7b191f93e50ac4b43f85dfbbef85604"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"file": "data/openmix/validation.jsonl",
|
| 58 |
+
"rows": 128,
|
| 59 |
+
"sha256": "3764cfe2d123ab52588fc1ffd6ead047af4c4777cc7ff057ee4208764abe942d"
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"file": "data/project/train.jsonl",
|
| 63 |
+
"rows": 512,
|
| 64 |
+
"sha256": "a93b5e60e310745f0be2ac50bdb6cbb6dad2e0599565be09b1255c8c9d536cc9"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"file": "data/project/validation.jsonl",
|
| 68 |
+
"rows": 64,
|
| 69 |
+
"sha256": "e1cdb53327e7cb5f2c4e8c6a93d07edff567e6917fd5297e194b54e02ed68405"
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"file": "data/pilot/train.jsonl",
|
| 73 |
+
"rows": 8,
|
| 74 |
+
"sha256": "28a446a7ff2263d3819743d6bae0a4ffa6b3b35abdd21fe699d964324ac82d40"
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"file": "data/pilot/validation.jsonl",
|
| 78 |
+
"rows": 4,
|
| 79 |
+
"sha256": "03b6e36077eacf4429d9a9b7e4747b2f5eeb36c3d9e28540ef6ba899f478d045"
|
| 80 |
+
}
|
| 81 |
+
]
|
| 82 |
+
}
|
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
NOTICE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
DFlash TraceMix Lite v1.0.0
|
| 2 |
+
Copyright 2026 Egor Prokhorov.
|
| 3 |
+
|
| 4 |
+
Original contributions and release packaging are provided under Apache License 2.0.
|
| 5 |
+
Third-party source material remains subject to its applicable terms. Source dataset, subset and revision identifiers are retained on the relevant records.
|
| 6 |
+
|
| 7 |
+
Project Code was authored and curated by Egor Prokhorov. Generated completions were produced by Whittle Q5.
|
README.md
CHANGED
|
@@ -1,15 +1,35 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
language:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
pretty_name: DFlash TraceMix Lite
|
| 7 |
task_categories:
|
| 8 |
-
|
| 9 |
tags:
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
<div align="center">
|
|
@@ -20,7 +40,7 @@ tags:
|
|
| 20 |
|
| 21 |
`1,996 records` · `3 stages` · `JSONL`
|
| 22 |
|
| 23 |
-
[Explore the files](#the-mix) · [Manifest](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/
|
| 24 |
|
| 25 |
</div>
|
| 26 |
|
|
@@ -35,35 +55,50 @@ Project code, programming, math, knowledge and writing — a compact mix for you
|
|
| 35 |
|
| 36 |
| Branch | Contents |
|
| 37 |
|:---|:---|
|
| 38 |
-
| `main` |
|
| 39 |
-
| [`v1.0.0`](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/tree/v1.0.0) |
|
| 40 |
|
| 41 |
-
|
| 42 |
|
| 43 |
## The mix
|
| 44 |
|
| 45 |
| File | Focus | Train | Validation |
|
| 46 |
|:---|:---|---:|---:|
|
| 47 |
-
| [pilot.jsonl](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/
|
| 48 |
-
| [project.jsonl](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/
|
| 49 |
-
| [openmix.jsonl](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/
|
| 50 |
| **Total** | | **1,800** | **196** |
|
| 51 |
|
| 52 |
Each record pairs a `prompt` with a generated `completion`, alongside split, task and source metadata.
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
<details>
|
| 55 |
<summary><strong>Before your training run</strong></summary>
|
| 56 |
|
| 57 |
- **Target model:** existing traces come from Whittle Q5. For another DFlash target, adapt the chat template, regenerate responses and prepare tokenization and target features for your pipeline. Original token IDs and hidden features are not included. See the [training guidance](https://docs.nvidia.com/nemo/automodel/recipes-e2e-examples/dflash-speculative-decoding#data).
|
| 58 |
- **Splits and replay:** `eval` denotes validation. OpenMix reuses 256 Project Code training records; they are not additional unique examples. Four short OpenMix training traces have `eligible_for_original_loader: false`.
|
| 59 |
-
- **Publication copy:** text was anonymized after training; the original weights were not retrained or unlearned. The edited traces are not verified reference answers, and complete removal of identifying details is not guaranteed. See the [processing report](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/
|
| 60 |
|
| 61 |
</details>
|
| 62 |
|
| 63 |
<details>
|
| 64 |
<summary><strong>Attribution & terms</strong></summary>
|
| 65 |
|
| 66 |
-
**Release license: [Apache-2.0](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/
|
| 67 |
|
| 68 |
Project Code was authored and curated by Egor Prokhorov.
|
| 69 |
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
language:
|
| 4 |
+
- ru
|
| 5 |
+
- en
|
| 6 |
pretty_name: DFlash TraceMix Lite
|
| 7 |
task_categories:
|
| 8 |
+
- text-generation
|
| 9 |
tags:
|
| 10 |
+
- dflash
|
| 11 |
+
- speculative-decoding
|
| 12 |
+
- generated-traces
|
| 13 |
+
configs:
|
| 14 |
+
- config_name: openmix
|
| 15 |
+
data_files:
|
| 16 |
+
- split: train
|
| 17 |
+
path: data/openmix/train.jsonl
|
| 18 |
+
- split: validation
|
| 19 |
+
path: data/openmix/validation.jsonl
|
| 20 |
+
default: true
|
| 21 |
+
- config_name: project
|
| 22 |
+
data_files:
|
| 23 |
+
- split: train
|
| 24 |
+
path: data/project/train.jsonl
|
| 25 |
+
- split: validation
|
| 26 |
+
path: data/project/validation.jsonl
|
| 27 |
+
- config_name: pilot
|
| 28 |
+
data_files:
|
| 29 |
+
- split: train
|
| 30 |
+
path: data/pilot/train.jsonl
|
| 31 |
+
- split: validation
|
| 32 |
+
path: data/pilot/validation.jsonl
|
| 33 |
---
|
| 34 |
|
| 35 |
<div align="center">
|
|
|
|
| 40 |
|
| 41 |
`1,996 records` · `3 stages` · `JSONL`
|
| 42 |
|
| 43 |
+
[Explore the files](#the-mix) · [Manifest](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/main/DATASET-MANIFEST.json) · [Processing report](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/main/ANONYMIZATION.json)
|
| 44 |
|
| 45 |
</div>
|
| 46 |
|
|
|
|
| 55 |
|
| 56 |
| Branch | Contents |
|
| 57 |
|:---|:---|
|
| 58 |
+
| `main` | Latest complete release: JSONL data, Dataset Viewer splits, manifest, processing report and changelog. |
|
| 59 |
+
| [`v1.0.0`](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/tree/v1.0.0) | Archived v1.0.0 release snapshot. |
|
| 60 |
|
| 61 |
+
The complete dataset is available from the default `main` branch and in the Dataset Viewer. Version branches preserve release snapshots; use `revision="v1.0.0"` for the archived release.
|
| 62 |
|
| 63 |
## The mix
|
| 64 |
|
| 65 |
| File | Focus | Train | Validation |
|
| 66 |
|:---|:---|---:|---:|
|
| 67 |
+
| [pilot.jsonl](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/main/pilot.jsonl) | A small starting batch | 8 | 4 |
|
| 68 |
+
| [project.jsonl](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/main/project.jsonl) | Source-code understanding | 512 | 64 |
|
| 69 |
+
| [openmix.jsonl](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/main/openmix.jsonl) | Mixed tasks + project replay | 1,280 | 128 |
|
| 70 |
| **Total** | | **1,800** | **196** |
|
| 71 |
|
| 72 |
Each record pairs a `prompt` with a generated `completion`, alongside split, task and source metadata.
|
| 73 |
|
| 74 |
+
## Load the dataset
|
| 75 |
+
|
| 76 |
+
```python
|
| 77 |
+
from datasets import load_dataset
|
| 78 |
+
|
| 79 |
+
openmix = load_dataset("biscet/DFlash-TraceMix-Lite", "openmix")
|
| 80 |
+
project = load_dataset("biscet/DFlash-TraceMix-Lite", "project")
|
| 81 |
+
pilot = load_dataset("biscet/DFlash-TraceMix-Lite", "pilot")
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
Each configuration exposes `train` and `validation` splits. Viewer files in
|
| 85 |
+
`data/` contain the same records partitioned by their original `split` field;
|
| 86 |
+
the original `pilot.jsonl`, `project.jsonl` and `openmix.jsonl` files are retained.
|
| 87 |
+
These exports are additional views, not additional independent training examples.
|
| 88 |
+
|
| 89 |
<details>
|
| 90 |
<summary><strong>Before your training run</strong></summary>
|
| 91 |
|
| 92 |
- **Target model:** existing traces come from Whittle Q5. For another DFlash target, adapt the chat template, regenerate responses and prepare tokenization and target features for your pipeline. Original token IDs and hidden features are not included. See the [training guidance](https://docs.nvidia.com/nemo/automodel/recipes-e2e-examples/dflash-speculative-decoding#data).
|
| 93 |
- **Splits and replay:** `eval` denotes validation. OpenMix reuses 256 Project Code training records; they are not additional unique examples. Four short OpenMix training traces have `eligible_for_original_loader: false`.
|
| 94 |
+
- **Publication copy:** text was anonymized after training; the original weights were not retrained or unlearned. The edited traces are not verified reference answers, and complete removal of identifying details is not guaranteed. See the [processing report](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/main/ANONYMIZATION.json).
|
| 95 |
|
| 96 |
</details>
|
| 97 |
|
| 98 |
<details>
|
| 99 |
<summary><strong>Attribution & terms</strong></summary>
|
| 100 |
|
| 101 |
+
**Release license: [Apache-2.0](https://huggingface.co/datasets/biscet/DFlash-TraceMix-Lite/blob/main/LICENSE).** Original contributions and release packaging are provided under this license. Third-party source terms remain applicable; attribution is recorded in `source_dataset`, `source_subset` and `source_revision`.
|
| 102 |
|
| 103 |
Project Code was authored and curated by Egor Prokhorov.
|
| 104 |
|
data/openmix/train.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/openmix/validation.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/pilot/train.jsonl
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id": "pilot-000005", "stage": "pilot", "split": "train", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000293.txt", "source_sha256": "b3036777012a652bc00047145c57d46164f8d758110781621110550015d8b7ea", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nWrite a Python function that merges two sorted lists. Explain how it handles empty lists and duplicate elements.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user: \"Write a Python function that merges two sorted lists. Explain how it handles empty lists and duplicate elements.\" Need provide code and explanation. Need final. Need likely include function, maybe test. Need be careful: merge two sorted lists, handles empty lists and duplicate elements. Could use heapq.merge? Or simple two-pointer. Need explain. Maybe mention if lists are sorted ascending. For empty lists: if one empty return other. For duplicates: preserves duplicates because when equal, take from first then second (or either). If want unique, use set. But function merges sorted lists, duplicates preserved. Could include example. Need maybe Pythonic: def merge_sorted_lists(list1, list2): if not list1: return list2; if not list2: return list1", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 2 |
+
{"id": "pilot-000006", "stage": "pilot", "split": "train", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000294.txt", "source_sha256": "64f2f4f93433ed63fd6120f7ee7578125a1c1799fab59c6bca2d6b6910df23d1", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nExplain how a database transaction prevents a partial update. Give a short example involving two account balances.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user: \"Explain how a database transaction prevents a partial update. Give a short example involving two account balances.\" Need provide concise but thorough. Need final only. Need explain transaction atomicity, isolation, ACID. Partial update prevented by transaction not committing until all operations succeed; if any fails, rollback. Example: two accounts A and B, transfer $100 from A to B. Transaction: debit A 100, credit B 100. If crash after debit A but before credit B, rollback: A unchanged, B unchanged. If crash after credit B but before commit, rollback: A unchanged, B unchanged. If both succeed, commit: A -100, B +100. Also mention isolation prevents other transactions from see", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 3 |
+
{"id": "pilot-000007", "stage": "pilot", "split": "train", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000295.txt", "source_sha256": "789b9ec2d15b13a8c69041389d1337da93a9089d6334bbde192b5daef5b4d22d", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nImplement an asynchronous task queue with a concurrency limit in Python. Explain exception handling and cancellation.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user: \"Implement an asynchronous task queue with a concurrency limit in Python. Explain exception handling and cancellation.\" Need provide code and explanation. Need likely include Python async queue with concurrency limit, maybe using asyncio, semaphore, maybe a TaskQueue class. Need explain exception handling and cancellation. Need be careful: async task queue with concurrency limit. Could implement using asyncio.Queue, asyncio.Semaphore, maybe a Task class. Need handle exceptions: tasks that raise exceptions should be caught, maybe propagate to queue? Need cancellation: use asyncio.Event or asyncio.Task.cancel(), maybe a stop event. Need maybe mention Python 3.7+? Could use asyncio.gather? But concurrency limit: semaphore. Need maybe include example. Need explain exception handling: tasks can raise exceptions; if using gather,", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 4 |
+
{"id": "pilot-000008", "stage": "pilot", "split": "train", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000296.txt", "source_sha256": "15728fe44ebb7dd8eeafd67a26bca4c18d14962b81c345e0fe30e356b2e1acda", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nReview this function and fix its bug: def add_item(x, items=[]): items.append(x); return items. Explain the shared default argument.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user's request: Review function and fix bug: def add_item(x, items=[]): items.append(x); return items. Explain shared default argument. Need provide final answer. Need likely explain mutable default argument bug: default list is created once at function definition, shared across calls, so items accumulates. Fix: use None as default and create new list inside: def add_item(x, items=None): if items is None: items = []; items.append(x); return items. Or use default argument as list? Need explain. Could also mention if want to add to existing list, pass list. Need maybe code. Ensure concise but thorough.\n</think>\n\nThe bug is the **mutable default argument** `items=[]`.\n\nIn Python, default arguments are evaluated **once** when", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 5 |
+
{"id": "pilot-000009", "stage": "pilot", "split": "train", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000297.txt", "source_sha256": "aebc0a85571aae412b2c0ade30d88d6f8cdc4e531de8e6250332af3abe1159f1", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nОбъясни, как работает кэш LRU. Приведи короткий пример на Python и разберись со случаем повторяющихся ключей.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: Explain how LRU cache works. Provide short Python example and handle case of repeated keys. Need final. Need be careful: \"разберись со случаем повторяющихся ключей\" means handle repeated keys. Provide Python example. Could show OrderedDict or collections.OrderedDict, or custom. Need explain LRU: least recently used, on access move to most recent, evict oldest when full. Python example: from collections import OrderedDict; class LRUCache: def __init__(self, maxsize): self.cache = OrderedDict(); self.maxsize = maxsize; def __getitem__(self, key): if key in self.cache: self.cache.move_to_end(key); return self.cache[key]; raise KeyError; def __setitem__(self, key", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 6 |
+
{"id": "pilot-000010", "stage": "pilot", "split": "train", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000298.txt", "source_sha256": "acd1d3ad40b5a9107484ad07173621429f7932f54fc5849cb504b3185edb7eb1", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nНапиши функцию Python, которая удаляет дубликаты событий по id, сохраняя порядок. Затем объясни сложность и обработку отсутствующего id.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: \"Напиши функцию Python, которая удаляет дубликаты событий по id, сохраняя порядок. Затем объясни сложность и обработку отсутствующего id.\" Need provide Python function, complexity, handling missing id. Need likely code. Need be careful: \"событа\" typo events. Need maybe function remove_duplicates_by_id(events) preserving order. Could use dict.fromkeys? But by id, preserving order of first occurrence. If events list of dicts or objects with id. Need handle missing id: maybe skip or raise? Explain. Could provide robust: def remove_duplicates_by_id(events): seen = set(); result = []; for e in events: eid = e.get('id') if isinstance(e, dict) else e.id; if", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 7 |
+
{"id": "pilot-000011", "stage": "pilot", "split": "train", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000299.txt", "source_sha256": "7f3223720fceac5761280826b3ae28ec3fcf7205bf94a51ac840f0b1f71c5bcb", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nВ HTTP-клиенте иногда возникает тайм-аут. Опиши понятный алгоритм повторов с экспоненциальной задержкой и объясни, какие запросы повторять безопасно.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: \"В HTTP-клиенте иногда возникает тайм-аут. Опиши понятный алгоритм повторов с экспоненциальной задержкой и объясни, какие запросы повторять безопасно.\" Need provide clear algorithm for retries with exponential backoff and explain which requests are safe to retry. Need likely discuss HTTP status codes, idempotent vs non-idempotent, timeouts, 4xx vs 5xx, 200, 3xx, 404, 408, 422, 429, 500, 502, 503, 504, 505, 507, 50", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 8 |
+
{"id": "pilot-000012", "stage": "pilot", "split": "train", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000300.txt", "source_sha256": "08f814761f2d8aaf8f22a304b9a9eb458ef20dc40b60f55a0a36a56ce46cb199", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nОбъясни разницу между процессом и потоком на примере веб-сервера. Пиши по-русски, конкретно и без длинного вступления.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: \"Объясни разницу между процессом и потоком на примере веб-сервера. Пиши по-русски, конкретно и без длинного вступления.\" Need explain difference between process and thread on example of web server. Concrete, no long intro. Need likely concise but detailed enough. Need final only.\n\nNeed think in Russian. Process: separate memory space, OS-level, heavy, independent. Thread: lighter, shares memory, within process, context switch cheap. Web server example: each connection handled by thread (or process). Process per connection: each client gets separate process, each has own memory, separate CPU time, isolation, crash doesn't kill others. Thread per connection: all share memory, can share connection pool,", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
data/pilot/validation.jsonl
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id": "pilot-000001", "stage": "pilot", "split": "eval", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000289.txt", "source_sha256": "8b071ca13a070b03a0386073335f19c9fb67183e8e33255f9cfdb76a0e92a305", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nImplement a Python function that groups strings by their first character and explain the empty-string case.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user: \"Implement a Python function that groups strings by their first character and explain the empty-string case.\" Need produce final with code and explanation. Need likely include function, maybe dict grouping, empty string case: first character undefined, so cannot group by first char; handle by skipping empty strings or using default key? Need explain. Could provide robust implementation: def group_by_first_char(strings): d = {}; for s in strings: if s: d.setdefault(s[0], []).append(s); return d. Empty string: no first char, so excluded. If want include empty string as key? Could use if s: else key ''. But first char of empty string doesn't exist. Explain. Maybe mention if want include empty strings, use key '' but note it's not a", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 2 |
+
{"id": "pilot-000002", "stage": "pilot", "split": "eval", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000290.txt", "source_sha256": "830d42db399a4e3644d98391620276e080af2a4e0eb09a9145bb8feb52893fc1", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nExplain the difference between optimistic and pessimistic locking with a small practical example.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user: \"Explain the difference between optimistic and pessimistic locking with a small practical example.\" Need provide clear explanation, small practical example. Need final only. Need maybe define locking, optimistic vs pessimistic. Pessimistic: acquire lock before operation, block if unavailable, then perform. Optimistic: perform operation without lock, then validate at commit/transaction end; if conflict, retry. Practical example: bank transfer, inventory, ticket booking, database row. Need maybe include code-like pseudocode. Need mention tradeoffs: optimistic better under low contention, less blocking, but may waste work and retries; pessimistic better under high contention, immediate mutual exclusion, but can cause deadlock, latency. Need small example: two users updating same bank account balance. Pessimistic: both", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 3 |
+
{"id": "pilot-000003", "stage": "pilot", "split": "eval", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000291.txt", "source_sha256": "010abb91e00a3aaed52027f5917b9f3da7e7e0ea3853779f113390acfebdb464", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nНапиши на Python двоичный поиск в отсортированном массиве и объясни граничные случаи.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: \"Напиши на Python двоичный поиск в отсортированном массиве и объясни граничные случаи.\" Need provide code and explanation of edge cases. Need final only. Need be careful: binary search in sorted array. Could include iterative and recursive? Maybe one. Explain edge cases: empty array, single element, target at boundaries, duplicates? \"отсортированном массиве\" sorted array. Binary search finds index or -1. Edge cases: empty array, target not present, target equals first/last, duplicates (any occurrence? binary search finds one of possibly many; if need first/last occurrence explain). Also integer overflow? In Python no overflow. Could mention if array is not sorted, undefined. Need maybe", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 4 |
+
{"id": "pilot-000004", "stage": "pilot", "split": "eval", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000292.txt", "source_sha256": "be2f799b27019cf49c5d4ea678dd93d8e857dd50e011abca19393b7b80994ff0", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nОбъясни, зачем нужен индекс базы данных, и в каких случаях он замедляет запись.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: \"Объясни, зачем нужен индекс базы данных, и в каких случаях он замедляет запись.\" Need explain purpose of DB index, when it slows down writes. Need likely include examples, trade-offs, types maybe B-tree, hash, covering, etc. Need be clear. Let's craft thorough but concise. Need maybe mention index is data structure for fast lookup, not just speed, also query planner, join, range, foreign keys, constraints. Write slowdown: index maintenance overhead, lock contention, fragmentation, write amplification, space, update cost, partitioning, replication, caching, etc. Also cases: single column, low cardinality, high write frequency, many indexes, wide indexes, large values, sparse indexes, etc.", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
data/project/train.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/project/validation.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
openmix.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
pilot.jsonl
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id": "pilot-000001", "stage": "pilot", "split": "eval", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000289.txt", "source_sha256": "8b071ca13a070b03a0386073335f19c9fb67183e8e33255f9cfdb76a0e92a305", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nImplement a Python function that groups strings by their first character and explain the empty-string case.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user: \"Implement a Python function that groups strings by their first character and explain the empty-string case.\" Need produce final with code and explanation. Need likely include function, maybe dict grouping, empty string case: first character undefined, so cannot group by first char; handle by skipping empty strings or using default key? Need explain. Could provide robust implementation: def group_by_first_char(strings): d = {}; for s in strings: if s: d.setdefault(s[0], []).append(s); return d. Empty string: no first char, so excluded. If want include empty string as key? Could use if s: else key ''. But first char of empty string doesn't exist. Explain. Maybe mention if want include empty strings, use key '' but note it's not a", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 2 |
+
{"id": "pilot-000002", "stage": "pilot", "split": "eval", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000290.txt", "source_sha256": "830d42db399a4e3644d98391620276e080af2a4e0eb09a9145bb8feb52893fc1", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nExplain the difference between optimistic and pessimistic locking with a small practical example.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user: \"Explain the difference between optimistic and pessimistic locking with a small practical example.\" Need provide clear explanation, small practical example. Need final only. Need maybe define locking, optimistic vs pessimistic. Pessimistic: acquire lock before operation, block if unavailable, then perform. Optimistic: perform operation without lock, then validate at commit/transaction end; if conflict, retry. Practical example: bank transfer, inventory, ticket booking, database row. Need maybe include code-like pseudocode. Need mention tradeoffs: optimistic better under low contention, less blocking, but may waste work and retries; pessimistic better under high contention, immediate mutual exclusion, but can cause deadlock, latency. Need small example: two users updating same bank account balance. Pessimistic: both", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 3 |
+
{"id": "pilot-000003", "stage": "pilot", "split": "eval", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000291.txt", "source_sha256": "010abb91e00a3aaed52027f5917b9f3da7e7e0ea3853779f113390acfebdb464", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nНапиши на Python двоичный поиск в отсортированном массиве и объясни граничные случаи.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: \"Напиши на Python двоичный поиск в отсортированном массиве и объясни граничные случаи.\" Need provide code and explanation of edge cases. Need final only. Need be careful: binary search in sorted array. Could include iterative and recursive? Maybe one. Explain edge cases: empty array, single element, target at boundaries, duplicates? \"отсортированном массиве\" sorted array. Binary search finds index or -1. Edge cases: empty array, target not present, target equals first/last, duplicates (any occurrence? binary search finds one of possibly many; if need first/last occurrence explain). Also integer overflow? In Python no overflow. Could mention if array is not sorted, undefined. Need maybe", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 4 |
+
{"id": "pilot-000004", "stage": "pilot", "split": "eval", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000292.txt", "source_sha256": "be2f799b27019cf49c5d4ea678dd93d8e857dd50e011abca19393b7b80994ff0", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nОбъясни, зачем нужен индекс базы данных, и в каких случаях он замедляет запись.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: \"Объясни, зачем нужен индекс базы данных, и в каких случаях он замедляет запись.\" Need explain purpose of DB index, when it slows down writes. Need likely include examples, trade-offs, types maybe B-tree, hash, covering, etc. Need be clear. Let's craft thorough but concise. Need maybe mention index is data structure for fast lookup, not just speed, also query planner, join, range, foreign keys, constraints. Write slowdown: index maintenance overhead, lock contention, fragmentation, write amplification, space, update cost, partitioning, replication, caching, etc. Also cases: single column, low cardinality, high write frequency, many indexes, wide indexes, large values, sparse indexes, etc.", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 5 |
+
{"id": "pilot-000005", "stage": "pilot", "split": "train", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000293.txt", "source_sha256": "b3036777012a652bc00047145c57d46164f8d758110781621110550015d8b7ea", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nWrite a Python function that merges two sorted lists. Explain how it handles empty lists and duplicate elements.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user: \"Write a Python function that merges two sorted lists. Explain how it handles empty lists and duplicate elements.\" Need provide code and explanation. Need final. Need likely include function, maybe test. Need be careful: merge two sorted lists, handles empty lists and duplicate elements. Could use heapq.merge? Or simple two-pointer. Need explain. Maybe mention if lists are sorted ascending. For empty lists: if one empty return other. For duplicates: preserves duplicates because when equal, take from first then second (or either). If want unique, use set. But function merges sorted lists, duplicates preserved. Could include example. Need maybe Pythonic: def merge_sorted_lists(list1, list2): if not list1: return list2; if not list2: return list1", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 6 |
+
{"id": "pilot-000006", "stage": "pilot", "split": "train", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000294.txt", "source_sha256": "64f2f4f93433ed63fd6120f7ee7578125a1c1799fab59c6bca2d6b6910df23d1", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nExplain how a database transaction prevents a partial update. Give a short example involving two account balances.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user: \"Explain how a database transaction prevents a partial update. Give a short example involving two account balances.\" Need provide concise but thorough. Need final only. Need explain transaction atomicity, isolation, ACID. Partial update prevented by transaction not committing until all operations succeed; if any fails, rollback. Example: two accounts A and B, transfer $100 from A to B. Transaction: debit A 100, credit B 100. If crash after debit A but before credit B, rollback: A unchanged, B unchanged. If crash after credit B but before commit, rollback: A unchanged, B unchanged. If both succeed, commit: A -100, B +100. Also mention isolation prevents other transactions from see", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 7 |
+
{"id": "pilot-000007", "stage": "pilot", "split": "train", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000295.txt", "source_sha256": "789b9ec2d15b13a8c69041389d1337da93a9089d6334bbde192b5daef5b4d22d", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nImplement an asynchronous task queue with a concurrency limit in Python. Explain exception handling and cancellation.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user: \"Implement an asynchronous task queue with a concurrency limit in Python. Explain exception handling and cancellation.\" Need provide code and explanation. Need likely include Python async queue with concurrency limit, maybe using asyncio, semaphore, maybe a TaskQueue class. Need explain exception handling and cancellation. Need be careful: async task queue with concurrency limit. Could implement using asyncio.Queue, asyncio.Semaphore, maybe a Task class. Need handle exceptions: tasks that raise exceptions should be caught, maybe propagate to queue? Need cancellation: use asyncio.Event or asyncio.Task.cancel(), maybe a stop event. Need maybe mention Python 3.7+? Could use asyncio.gather? But concurrency limit: semaphore. Need maybe include example. Need explain exception handling: tasks can raise exceptions; if using gather,", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 8 |
+
{"id": "pilot-000008", "stage": "pilot", "split": "train", "language": "en", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000296.txt", "source_sha256": "15728fe44ebb7dd8eeafd67a26bca4c18d14962b81c345e0fe30e356b2e1acda", "sampling_group": "project_replay/en", "prompt": "<|im_start|>user\nReview this function and fix its bug: def add_item(x, items=[]): items.append(x); return items. Explain the shared default argument.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer user's request: Review function and fix bug: def add_item(x, items=[]): items.append(x); return items. Explain shared default argument. Need provide final answer. Need likely explain mutable default argument bug: default list is created once at function definition, shared across calls, so items accumulates. Fix: use None as default and create new list inside: def add_item(x, items=None): if items is None: items = []; items.append(x); return items. Or use default argument as list? Need explain. Could also mention if want to add to existing list, pass list. Need maybe code. Ensure concise but thorough.\n</think>\n\nThe bug is the **mutable default argument** `items=[]`.\n\nIn Python, default arguments are evaluated **once** when", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 9 |
+
{"id": "pilot-000009", "stage": "pilot", "split": "train", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000297.txt", "source_sha256": "aebc0a85571aae412b2c0ade30d88d6f8cdc4e531de8e6250332af3abe1159f1", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nОбъясни, как работает кэш LRU. Приведи короткий пример на Python и разберись со случаем повторяющихся ключей.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: Explain how LRU cache works. Provide short Python example and handle case of repeated keys. Need final. Need be careful: \"разберись со случаем повторяющихся ключей\" means handle repeated keys. Provide Python example. Could show OrderedDict or collections.OrderedDict, or custom. Need explain LRU: least recently used, on access move to most recent, evict oldest when full. Python example: from collections import OrderedDict; class LRUCache: def __init__(self, maxsize): self.cache = OrderedDict(); self.maxsize = maxsize; def __getitem__(self, key): if key in self.cache: self.cache.move_to_end(key); return self.cache[key]; raise KeyError; def __setitem__(self, key", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 10 |
+
{"id": "pilot-000010", "stage": "pilot", "split": "train", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000298.txt", "source_sha256": "acd1d3ad40b5a9107484ad07173621429f7932f54fc5849cb504b3185edb7eb1", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nНапиши функцию Python, которая удаляет дубликаты событий по id, сохраняя порядок. Затем объясни сложность и обработку отсутствующего id.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: \"Напиши функцию Python, которая удаляет дубликаты событий по id, сохраняя порядок. Затем объясни сложность и обработку отсутствующего id.\" Need provide Python function, complexity, handling missing id. Need likely code. Need be careful: \"событа\" typo events. Need maybe function remove_duplicates_by_id(events) preserving order. Could use dict.fromkeys? But by id, preserving order of first occurrence. If events list of dicts or objects with id. Need handle missing id: maybe skip or raise? Explain. Could provide robust: def remove_duplicates_by_id(events): seen = set(); result = []; for e in events: eid = e.get('id') if isinstance(e, dict) else e.id; if", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 11 |
+
{"id": "pilot-000011", "stage": "pilot", "split": "train", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000299.txt", "source_sha256": "7f3223720fceac5761280826b3ae28ec3fcf7205bf94a51ac840f0b1f71c5bcb", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nВ HTTP-клиенте иногда возникает тайм-аут. Опиши понятный алгоритм повторов с экспоненциальной задержкой и объясни, какие запросы повторять безопасно.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: \"В HTTP-клиенте иногда возникает тайм-аут. Опиши понятный алгоритм повторов с экспоненциальной задержкой и объясни, какие запросы повторять безопасно.\" Need provide clear algorithm for retries with exponential backoff and explain which requests are safe to retry. Need likely discuss HTTP status codes, idempotent vs non-idempotent, timeouts, 4xx vs 5xx, 200, 3xx, 404, 408, 422, 429, 500, 502, 503, 504, 505, 507, 50", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
| 12 |
+
{"id": "pilot-000012", "stage": "pilot", "split": "train", "language": "ru", "domain": "project_replay", "project": "public_prompt_mixture", "source_path": "source_000300.txt", "source_sha256": "08f814761f2d8aaf8f22a304b9a9eb458ef20dc40b60f55a0a36a56ce46cb199", "sampling_group": "project_replay/ru", "prompt": "<|im_start|>user\nОбъясни разницу между процессом и потоком на примере веб-сервера. Пиши по-русски, конкретно и без длинного вступления.<|im_end|>\n<|im_start|>assistant\n<think>\n", "completion": "We need answer in Russian. User asks: \"Объясни разницу между процессом и потоком на примере веб-сервера. Пиши по-русски, конкретно и без длинного вступления.\" Need explain difference between process and thread on example of web server. Concrete, no long intro. Need likely concise but detailed enough. Need final only.\n\nNeed think in Russian. Process: separate memory space, OS-level, heavy, independent. Thread: lighter, shares memory, within process, context switch cheap. Web server example: each connection handled by thread (or process). Process per connection: each client gets separate process, each has own memory, separate CPU time, isolation, crash doesn't kill others. Thread per connection: all share memory, can share connection pool,", "post_training_anonymized": true, "eligible_for_original_loader": true, "source_kind": "private_project"}
|
project.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|