AReaL-boba-2
Collection
AReaL-boba-2 • 6 items • Updated • 7
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
This dataset contains the training and testing data used for reinforcement learning in the AReaL-boba-2 model on coding tasks.
train/: Contains the training data for RL fine-tuning.code_benchmark/: Contains the evaluation benchmark, organized into multiple subfolders, each corresponding to a specific coding benchmark suite, Codeforces, Code Contests and LiveCodeBench (v5) are supported now.To train and evaluate models using this dataset with AReaL:
code_benchmark/ to the evaluation/data/ directory in the AReaL repository.import json
with open("/path/to/raw.jsonl") as f, \
open("/path/to/qwen3_data.jsonl", "w") as fout:
for line in f:
data = json.loads(line)
prompt = data['prompt']
prompt = prompt.replace(
"<|User|>", "<|im_start|>user\n"
).replace(
"<|Assistant|>", "\n/think<|im_end|>\n<|im_start|>assistant\n"
)
data['prompt'] = prompt
print(json.dumps(data), file=fout)
Please refer to the LICENSE file associated with this dataset or contact the maintainers for more details.