Datasets:
messages listlengths 1 1 |
|---|
[
{
"role": "assistant",
"content": "--!native\nlocal Int = {}\nInt.__index = Int\n\nexport type Int = typeof(setmetatable({\n\tsign = 0 :: number, -- -1, 0, +1\n\tlimbs = {} :: { number }, -- little-endian uint32 limbs (base 2^32)\n}, Int))\n\nlocal function trimLimbs(limbs: { number })\n\twhile #limbs > 0 a... |
[
{
"role": "assistant",
"content": "return {'Thousand','Million','Billion','Trillion','Quadrillion','Quintillion','Sextillion','Septillion','Octillion','Nonillion','Decillion','Undecillion','Duodecillion','Tredecillion','Quattuordecillion','Quindecillion','Sedecillion','Septendecillion','Octodecillion','Nove... |
[
{
"role": "assistant",
"content": "return {'K','M','B','T','Q','QN','S','SP','O','N','D','UD','DD','TD','QD','QND','SD','SPD','OD','ND','V','UV','DV','TV','QV','QNV','SV','SPV','OV','NV','TG','UTG','DTG','TTG','QTG','QNTG','STG','SPTG','OTG','NTG','QG','UQG','DQG','TQG','QQG','QNQG','SQG','SPQG','OQG','NQG'... |
[
{
"role": "assistant",
"content": "--!native\n-- forked by @EternityDev\n-- originally created by @KdudeDev\n\n--[=[\n\t@class InfiniteMath\n\n\tInfiniteMath is module that allows you to surpass the limit of -10^308 to 10^308, with a new limit of -10^^308 to 10^^308 (1 with 10^308 zeros)\n\n\tInfiniteMath h... |
[
{
"role": "assistant",
"content": "--!native\n--!optimize 2\nlocal RunService = game:GetService(\"RunService\")\n\nlocal JPSPlus = require(\"./JPSPlus\")\n\nlocal WIDTH, HEIGHT = 384, 384\nlocal OBSTACLE_DENSITY = 0.25\nlocal SEED = 12345\n\nlocal NUM_QUERIES = 5000\nlocal WARMUP = 200\n\nlocal DIAG_POLICY ... |
[{"role":"assistant","content":"local WorldGrid = {}\nWorldGrid.__index = WorldGrid\n\nfunction Worl(...TRUNCATED) |
[{"role":"assistant","content":"--!optimize 2\nlocal Dirs = {}\n\n@native\nlocal function bit(d) ret(...TRUNCATED) |
[{"role":"assistant","content":"--!optimize 2\nlocal Grid = {}\nGrid.__index = Grid\n\nGrid.Diagonal(...TRUNCATED) |
[{"role":"assistant","content":"--@EternityDev\n-- Jump Point Search Plus (JPS+)\nlocal JPSPlus = {}(...TRUNCATED) |
[{"role":"assistant","content":"--!native\n--!optimize 2\nlocal Dirs = require(\"./dirs\")\nlocal PQ(...TRUNCATED) |
Dataset Card for YCWTG/luau-stack-hq-ChatML
Summary
This dataset is a pretraining-oriented repackaging of khtsly/luau-stack-hq.
It keeps only the source code content and stores it in a ChatML-style messages field.
- Rows: 21,704
- File format: JSONL
- Split:
train - Main file:
train.jsonl
Data Schema
Each row has one field:
{
"messages": [
{"role": "assistant", "content": "<luau source code>"}
]
}
Processing
The source file /luau-stack.jsonl was transformed with the following rule:
- Read each JSON line.
- Extract the original
codefield astext. - Wrap
textintomessagesas:{"messages": [{"role": "assistant", "content": text}]}. - Drop all other fields.
No filtering, deduplication, or normalization was applied beyond field selection/renaming/wrapping.
Intended Use
This dataset is intended for code language model pretraining or continued pretraining where a ChatML-style assistant message format is required.
Load with datasets
from datasets import load_dataset
ds = load_dataset("YCWTG/luau-stack-hq-ChatML", split="train")
print(ds[0]["messages"][0]["content"][:200])
Source and Attribution
- Original source repository:
khtsly/luau-stack-hq - This dataset is a format-converted repackaging by
YCWTG.
Please cite or acknowledge the original source repository when using this data.
License
This repackaging does not change the licensing terms of the upstream data. Please review and comply with the original source license and any file-level license obligations.
- Downloads last month
- 26