Set up
Complete the Python setup. You need a Project API key and API credits.Choose settings
The complete script below includes these settings. Start withCOUNT = 10, then increase it to 500.
Settings
abliterated-model for general-purpose generation or Large V2 for more demanding text tasks. Both support temperature and reasoning_effort in the API request.
Write the prompt
EditPROMPT in the script to define your categories and policy criteria. This example requests:
Generate
Expand and copy the complete script intogenerate.py. It includes batching, validation, duplicate checks, and JSONL saving.
Complete generate.py script
Complete generate.py script
generate.py
Run generator
Output
A completed run saves 500 records todataset.jsonl. Each record occupies one line in the file:
dataset.jsonl