Set up
You need Python, a Project API key, and API credits.Install SDK
Choose settings
Replace the values in your chosen Python example:
Temperature changes sampling, not factual accuracy. Even low-temperature runs can produce different results.
Choose
model="abliterated-model" (Base) or model="abliterated-model-large-v2" (Large V2) in the examples below.
Use reasoning_effort="low" to start. Try "high" for more reasoning; it can take longer and use more tokens.
Choose an example
Expand one example and copy the complete script intogenerate.py. Edit PROMPT to describe your dataset.
- Support
- Q&A pairs
- Web search
generate.py
Run it
Run generator
dataset.jsonl in a text editor. Each line is one record. Choose a new filename for another run to keep the previous dataset. Use python3 if that is your computer’s Python command.
Review the records before using them. The web-search example saves response_sources for the whole response; check that the sources support each answer.
Output
A support-message record looks like this. Each JSONL record occupies one line in the file:dataset.jsonl