khtsly/luau-stack-hq
[!Note] Last collected: 2026-09-05 23:33 Luau Stack HQ 🦭 Luau Stack HQ is a highly curated & deduplicated Luau source code with Type-script included from github repository with linter (stylua), it contains ~18.11M tokens (17903 unique files, 16313 luau files & 1590 ts files). It is built strictly for the training stages, providing a pristine density of type-safe, functional architecture without the noise of standard web scrapes. # Filtering Pipeline To ensure… See the full description on the dataset page: https://huggingface.co/datasets/khtsly/luau-stack-hq.
[!Note] Last collected: 2026-09-05 23:33
Luau Stack HQ 🦭
Luau Stack HQ is a highly curated & deduplicated Luau source code with Type-script included from github repository with linter (stylua), it contains ~18.11M tokens (17903 unique files, 16313 luau files & 1590 ts files). It is built strictly for the training stages, providing a pristine density of type-safe, functional architecture without the noise of standard web scrapes.
# Filtering Pipeline
To ensure the highest quality data for pretraining, the dataset was built using a rigorous, multi-step extraction and filtering pipeline:
- Repository Selection:
- Target Terms: Searches focus on
rbx,rbxl,rblx,roblox,luau,roblox-ts,rbxts,robloxtsandroblox typescript. - Quality: Minimum of 5 stars.
- Relevance: Because Luau is updated frequently, only repositories active or pushed within the last 2.5 years are included.
- Repo Deduplication: Forks are strictly excluded.
- Auto-Formatting (`StyLua`): Every raw
.luauand.luafile is piped throughStyLuato ensure consistent syntax. Unparseable files are dropped. - Cheat & Exploit Removal:
- Repositories with cheat-related keywords in their name, description, or topics (e.g.,
aimbot,executor,synapse,krnl) are blacklisted. - Code containing Roblox exploit globals (e.g.,
getfenv,setfenv,hookfunction,loadstring,getrawmetatable) is entirely discarded. - Noise Reduction: Test files, mocks,
.spec.files, and compiled/dist/directories are ignored. Files smaller than 100 bytes or larger than 1MB are also excluded.
# Repo Docs
Please visit khtsly/luau-repo-docs-text for the repo docs
# Licensing
The source code contained within this dataset belongs to their respective original authors. All data was sourced from public GitHub repositories under open-source licenses, with forks explicitly excluded. Please respect the original repository licenses when utilizing this dataset for commercial model training.
