| Kind | dataset | dataset |
|---|
| Published | 2024 | — |
|---|
| License | other (permissively licensed Kotlin code, varies per file; Apache 2.0 common) | Free open data (open platform for computing on the entire world) |
|---|
| License family | Other | Other |
|---|
| Access | free | free |
|---|
| Language codes | code | multilingual |
|---|
| Modalities | text | image, text |
|---|
| Size | 1M to 10M rows | — |
|---|
| Downloads (last month) | 1,686 | — |
|---|
| Likes | 14 | — |
|---|
| Last updated | 2025-04-22 | — |
|---|
| Tasks | text-generation | — |
|---|
| Formats | parquet | — |
|---|
| Scale | 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. | Realtime continuous stream; historical files available (TB-scale varies — exact size blank) |
|---|
| Format | parquet (33 shards). Fields: path, owner, repo_id, is_fork, languages_distribution, content, issues, main_language, forks, stars, commit_sha, size, name, license. | Multiple GDELT filesets (events, GKG, etc. — see data page) |
|---|
| Type | Pretraining corpus / permissively licensed Kotlin files | Living global events database / firehose |
|---|
| Cost | Free | Free |
|---|
| Languages | 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. | News monitored in 100+ languages (project claim) |
|---|
| Modality | Text (Kotlin source) | Structured event/graph data derived from text/broadcast/web news (+ images in some products) |
|---|
| Domain | Kotlin source-code pretraining; permissively licensed GitHub | Global news events / entities / themes / emotion; open social science firehose |
|---|
| Time period | 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. | Realtime continuous + historical backfiles. Discord mid 1481767912606793890 (papers_local 1097). |
|---|
| Purpose | Largest public permissively licensed Kotlin file collection for code LM pretrain/finetune, denser than The Stack v2 Kotlin slice | Realtime open database of global human society as seen through world news media |
|---|
| Used for | 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. | None |
|---|
| Authors | 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. | GDELT Project; supported by Google Jigsaw (homepage) |
|---|
| Bias | 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. | News-media selection and framing bias; English and major-outlet skew possible despite multilingual monitoring |
|---|
| Text quality | 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. | Machine-coded events/themes from news; not raw article dump alone |
|---|
| Sample size | Single 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. | Continuous |
|---|
| Long context | Mixed (per-file; mean ~3.0 KB / file from dataset_size/n). Not repo-level packing. | N/A (event records); analyses may aggregate long ranges |
|---|
| Intermediate steps | 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. | Yes — continuous media ingest + coding |
|---|
| Idea quality | High | — |
|---|
| Novelty | High (public Kotlin dump ~2× Stack v2 Kotlin files/tokens, fully permissive) | — |
|---|
| Text conversion | Ready parquet. load_dataset('JetBrains/KStack'). Full dump is small vs web corpora (~5.9 GB download). | CSV/tabular firehose; documentation on gdeltproject.org/data.html |
|---|
| Collection method | Download | GDELT download / BigQuery / project APIs |
|---|
| Static | Unknown (HF lastModified 2025-04-22; Feb 2024 GitHub snapshot) | No (living) |
|---|
| Processed | Unknown | Yes |
|---|
| Summary | 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. | The GDELT (Global Database of Events, Language, and Tone) Project is a realtime open data platform that monitors the world's broadcast, print, and web news from nearly every country in over 100 languages, identifying people, locations, organizations, themes, emotions, and events driving global society. It maintains three primary data streams—the Event Database (300+ event categories dating back to 1979), the Global Knowledge Graph (entities, themes, emotions), and the Visual GKG (news imagery)—all updating every 15 minutes, totaling trillions of datapoints. |
|---|