← Datasets

Compare

LMSYS-Chat-1M (lmsys/lmsys-chat-1m)
#905 · remove
KStack
#280 · remove
Kinddatasetdataset
Published20232024
LicenseLMSYS-Chat-1M Dataset License Agreement (extra_gated; not a standard SPDX on card)other (permissively licensed Kotlin code, varies per file; Apache 2.0 common)
License familyRestricted termsOther
Accessgated (auto / form agreement required)free
Language codesmultilingualcode
Modalitiestexttext
Size1M to 10M rows1M to 10M rows
Downloads (last month)5,7241,686
Likes1,04114
Last updated2024-07-272025-04-22
Tasks—text-generation
Formatsparquetparquet
ScaleCard ~1M conversations; size_categories 1M<n<10M; usedStorage ~142.7 GB; 6 parquet shards; downloads≈6214; likes=1000Card 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.
FormatParquet (data/train-*-of-00006-*.parquet); OpenAI API JSON conversation fieldparquet (33 shards). Fields: path, owner, repo_id, is_fork, languages_distribution, content, issues, main_language, forks, stars, commit_sha, size, name, license.
TypeConversational corpusPretraining corpus / permissively licensed Kotlin files
CostFree after agreeing to license / gateFree
LanguagesDetected language tags per sample; English-heavy but multilingual wild trafficKotlin 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.
ModalitytextText (Kotlin source)
DomainReal-world LLM chat; chatbot arena; multilingual dialogue; moderation tagsKotlin source-code pretraining; permissively licensed GitHub
Time periodWild conversations Apr–Aug 2023 (Vicuna demo / Chatbot Arena); HF created 2023-09-20; modified 2024-07-27GitHub 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.
PurposeLarge-scale real-world user–LLM conversations for research on dialogue, preferences, and safetyLargest public permissively licensed Kotlin file collection for code LM pretrain/finetune, denser than The Stack v2 Kotlin slice
Used forDialogue / preference research; toxicity analysis; chatbot evaluation (per paper/card)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.
AuthorsLMSYS / UC Berkeley et al. (Zheng, Chiang, Sheng, … Stoica, Hao Zhang); end users across ~210K IPsGitHub 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.
BiasArena/Vicuna-demo self-selected users; model mix of 25 LLMs; OpenAI moderation tags availableOpen 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 qualityReal user chat; varies widely; includes toxic/unsafe turns tagged by OpenAI moderation APIExact 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 size~1M conversations; 25 modelsSingle 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 contextVariable (multi-turn chats)Mixed (per-file; mean ~3.0 KB / file from dataset_size/n). Not repo-level packing.
Intermediate stepsCollected from Vicuna demo + Chatbot Arena; language detection + OpenAI moderation taggingYes (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 (foundational wild-chat corpus)High
NoveltyHigh for 2023 release; still a standard reference chat dumpHigh (public Kotlin dump ~2× Stack v2 Kotlin files/tokens, fully permissive)
Text conversionHub datasets library after accepting gate; parquet readyReady parquet. load_dataset('JetBrains/KStack'). Full dump is small vs web corpora (~5.9 GB download).
Collection methodHF gated download / streaming after formDownload
StaticYes (lastModified 2024-07-27)Unknown (HF lastModified 2025-04-22; Feb 2024 GitHub snapshot)
ProcessedYes (language + moderation tags)Unknown
SummaryHub dataset lmsys/lmsys-chat-1m: ~1M conversations collected Apr–Aug 2023 from ~210K unique IPs on Vicuna demo and Chatbot Arena. Each row has conversation_id, model, OpenAI-style conversation JSON, language tag, and OpenAI moderation tag. Paper LMSYS-Chat-1M (arXiv 2309.11998). Card size_categories 1M<n<10M; format parquet (6 shards); gated=auto (LMSYS-Chat-1M Dataset License Agreement form). Hub downloads≈6214, likes=1000, usedStorage≈142.7 GB (142671529700). Discord mid describes the same corpus.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.