← Datasets

Compare

ML Intern Session Traces
#364 · remove
KStack
#280 · remove
Kinddatasetdataset
Published20262024
Licenseotherother (permissively licensed Kotlin code, varies per file; Apache 2.0 common)
License familyOtherOther
Accessfreefree
Language codesencode
Modalitiesimage, texttext
Sizeunder 1K rows1M to 10M rows
Downloads (last month)7931,686
Likes1614
Last updated2026-06-112025-04-22
Taskstext-generationtext-generation
Formatsjson, agent-tracesparquet
Scale92 sessions / viewer 92 rows × 11 cols; jsonl ~19.5 MB; parquet ~37.8 MB. Downloads ~495 / likes 16.Card comparison table: 4M files / 168,902 repos / 292M lines / 3.1B tokens vs Stack v2 Kotlin 2M / 109,457 / 162M / 1.7B. dataset_info train: 5,517,601 examples; 16,332,255,331 bytes (~16.33 GB) uncompressed / download_size 5,891,399,337 (~5.89 GB parquet). usedStorage 14,463,919,198 bytes (~14.46 GB). 33 parquet shards (~176–182 MB). YAML size_categories 100M<n<1B conflicts with Hub tags 1M<n<10M and the 5.52M-row split — tags/split used here. gated=false. HF 326 downloads / 14 likes at check.
FormatJSONL sessions/**/*.jsonl; viewer columns harness, session_id, prompt, messages, tools, metadata, sent_at, num_user_messages, num_tool_calls, trace, file_pathparquet (33 shards). Fields: path, owner, repo_id, is_fork, languages_distribution, content, issues, main_language, forks, stars, commit_sha, size, name, license.
TypeAgent session traces (event stream)Pretraining corpus / permissively licensed Kotlin files
CostFreeFree
LanguagesEnglish (code + natural language in traces).Kotlin source (card language:code). Files .kt / .kts / .gradle.kts via go-enry. Comments mixed-language; repos may list other languages in languages_distribution. Not natural-language English text.
ModalityText (+ tool schemas/outputs); no images requiredText (Kotlin source)
Domaincoding agent traces; ML Intern; tool-useKotlin source-code pretraining; permissively licensed GitHub
Time periodHF created 2026-05-01 / updated 2026-06-11. Sessions dated 2026-05-01 to 2026-06-11. Discord 2026-05-05.GitHub Kotlin snapshot as of February 2024 plus The Stack v1.2 Kotlin files. HF createdAt 2024-05-13; lastModified 2025-04-22. Paper Kotlin ML Pack arXiv 2405.19250 (2024-05-29). Discord posted 2026-03-23.
PurposeShare ML Intern coding-agent runs as Claude-Code-style event streams for viewing and agent research.Largest public permissively licensed Kotlin file collection for code LM pretrain/finetune, denser than The Stack v2 Kotlin slice
Used forCoding-agent SFT/eval; trace analysis; ML Intern tooling demos.Kotlin ML Pack (arXiv 2405.19250): CodeLlama/DeepSeek Kotlin finetunes; KStack-clean (25k) and KExercises are the high-quality/synth siblings (paper: up to +16 HumanEval-Kotlin pass). Hub 326 downloads / 14 likes at check. JetBrains Kotlin ML collection.
AuthorsUploader: clem. Models in sample: bedrock Claude Opus 4.6. Local users of ML Intern CLI.GitHub Kotlin repo owners (main-language Kotlin, or any Kotlin file with ≥10 stars as of Feb 2024, plus Stack v1.2). JetBrains Research (Sergey Titov, Mikhail Evtikhiev, Anton Shapkin et al.). PII stripped with star-pii.
BiasML Intern / HF-ecosystem tasks (e.g. HF buckets, coding agents). Not a balanced general corpus. Possible private-task leakage per card.Open GitHub only (paper: private Kotlin unseen). Permissive-license filter (MIT/Apache-2.0/BSD/CC-BY/Unlicense/…; full list licenses.json). Star≥10 auxiliary crawl plus main-language-Kotlin repos; popularity skew. Near-dedup keeps the highest-star file per cluster. Forks flagged via is_fork. YAML pretty_name is wrongly KExercises (copy-paste); this repo is the large file dump, not the 25k clean set.
Text qualityStructured event stream with tool calls. Variable session quality; includes failures. No human review per card.Exact hash dedup + Stack v1.2-style near-dedup; star-pii PII rewrite. Permissive-license detector (GitHub then go-license-detector). Residual noisy/generated Kotlin, build scripts (.kts/.gradle.kts), and incomplete files remain. Paper treats KStack as the broad corpus and KStack-clean as the algorithmic-quality subset.
Sample sizetrain 92 sessionsSingle train split (5,517,601 rows / 33 parquet parts). No val/test. Sister JetBrains/KStack-clean is 25,000 rows (~23M CodeLlama-7B tokens), not a config here.
Long contextYes (full session traces; parquet ~38 MB)Mixed (per-file; mean ~3.0 KB / file from dataset_size/n). Not repo-level packing.
Intermediate stepsYes (tool_use / tool_result / multi-turn)Yes (GitHub + Stack v1.2 Kotlin harvest → exact/near dedup → permissive license filter → star-pii). Paper also builds KStack-clean (Mistral pairwise edu rank → CodeT5p classifier) and KExercises; those are separate repos.
Idea qualityHigh (official-adjacent ML Intern traces; rare public coding-agent sessions)High
NoveltyMedium-High (small but scarce agent-session format)High (public Kotlin dump ~2× Stack v2 Kotlin files/tokens, fully permissive)
Text conversionHigh (ungated) but treat as sensitiveReady parquet. load_dataset('JetBrains/KStack'). Full dump is small vs web corpora (~5.9 GB download).
Collection methodDownload / git cloneDownload
StaticMostly (lastModified 2026-06-11; may grow if more uploads)Unknown (HF lastModified 2025-04-22; Feb 2024 GitHub snapshot)
ProcessedPartial (auto secret scrub; no comprehensive redaction)Unknown
SummaryA dataset of ML Intern coding agent session traces uploaded from local runs, stored as JSON Lines files with one file per session. Each trace is converted to a Claude-Code-style event stream containing user messages, assistant messages, tool calls, tool results, model metadata, and timestamps, viewable in the Hugging Face Agent Trace Viewer. It is intended for research and analysis of coding agent behavior, though traces may contain sensitive information from local development environments.KStack is the largest collection of permissively licensed Kotlin source code, containing 5.52 million files scraped from GitHub repositories with metadata like owner, repo ID, language distribution, license, and commit SHA. It is part of JetBrains' Kotlin ML Pack (alongside the curated KStack-clean and KExercises datasets) and is intended for pretraining and fine-tuning code generation models for Kotlin, demonstrating that even small high-quality subsets can yield up to a 16-point increase in HumanEval pass rate.