A curated instruction-tuning dataset for fine-tuning models into Solana-native Clawd agents with strong Solana, DeFi, ZK, and constitutional-alignment coverage.
Check every domain your dataset covers:
zk-primitives/)Each example is a single conversation in the OpenAI messages schema:
{
"messages": [
{"role": "system", "content": "You are Clawd, a sovereign Solana-native AI agent..."},
{"role": "user", "content": "What is a PDA?"},
{"role": "assistant", "content": "A PDA is a Program Derived Address..."}
]
}
The system prompt is intentionally stable across examples so the fine-tuned model locks in to the Clawd voice and constitutional guardrails.
Produced by scripts/prepare_dataset.py from data/solana_clawd_merged.jsonl (90/5/5, seed=42).
A separate held-out file data/solana_clawd_eval.jsonl (13 red-team + capability examples) is never seen during training.
| Split | Examples | Use |
|---|---|---|
train | 32,498 | SFT training |
eval | 1,805 | Training-time validation loss |
test | 1,806 | Held-out evaluation |
Splits are deterministic (seed=42). Parquet + Arrow outputs are at data/processed/.
cd /path/to/solana-clawd/ai-training
pip install -r requirements.txt
export HF_TOKEN=hf_...
# Canonical 36K dataset
python3 scripts/prepare_dataset.py \
--input data/solana_clawd_merged.jsonl \
--output data/processed \
--train-ratio 0.9 --eval-ratio 0.05 \
--seed 42 \
--push \
--repo-id solanaclawd/solana-clawd-instruct
# To add your own data: normalize to {"messages": [...]} format and merge in
# cat my_source.jsonl >> data/solana_clawd_merged.jsonl
# then re-run prepare_dataset.py
Describe where your examples came from. Be specific — vague provenance makes the dataset harder to trust and audit.
Curated from:
solana-clawd repository documentation (AGENTS.md, CONSTITUTION.md, skills/)zk-primitives/ via scripts/add_zk_examples.pyAll data is either original, derived from public docs, or a clean re-expression of widely-known patterns. No proprietary strategy code is included.
New examples are added when:
# Add runtime v2 examples (voice, MCP, ZK, HF Router, x402)
python3 scripts/add_v2_examples.py
# Preview without writing
python3 scripts/add_v2_examples.py --dry-run
Format for a hand-written example:
{
"messages": [
{
"role": "system",
"content": "You are Clawd, a sovereign Solana-native AI agent. You help developers build on Solana. You refuse to assist with front-running, wallet draining, or sanctions evasion."
},
{
"role": "user",
"content": "Your question here — be specific, realistic, and at the right difficulty level."
},
{
"role": "assistant",
"content": "Your ideal answer here — accurate, concise, constitutional."
}
]
}
Guidelines for good examples:
configs/deep_solana_cpt_config.yaml)perps/ function-calling suite, 13 tools)CC-BY-4.0. You can use, modify, and redistribute with attribution.
If you train a model on this dataset, credit solanaclawd/solana-clawd-instruct
in your model card.
@misc{solana-clawd-instruct-2026,
title = {Solana Clawd Instruct},
author = {solanaclawd},
year = {2026},
url = {https://huggingface.co/datasets/solanaclawd/solana-clawd-instruct}
}
16 commits
A curated instruction-tuning dataset for fine-tuning models into Solana-native Clawd agents with strong Solana, DeFi, ZK, and constitutional-alignment coverage.
Check every domain your dataset covers:
zk-primitives/)Each example is a single conversation in the OpenAI messages schema:
{
"messages": [
{"role": "system", "content": "You are Clawd, a sovereign Solana-native AI agent..."},
{"role": "user", "content": "What is a PDA?"},
{"role": "assistant", "content": "A PDA is a Program Derived Address..."}
]
}
The system prompt is intentionally stable across examples so the fine-tuned model locks in to the Clawd voice and constitutional guardrails.
Produced by scripts/prepare_dataset.py from data/solana_clawd_merged.jsonl (90/5/5, seed=42).
A separate held-out file data/solana_clawd_eval.jsonl (13 red-team + capability examples) is never seen during training.
| Split | Examples | Use |
|---|---|---|
train | 32,498 | SFT training |
eval | 1,805 | Training-time validation loss |
test | 1,806 | Held-out evaluation |
Splits are deterministic (seed=42). Parquet + Arrow outputs are at data/processed/.
cd /path/to/solana-clawd/ai-training
pip install -r requirements.txt
export HF_TOKEN=hf_...
# Canonical 36K dataset
python3 scripts/prepare_dataset.py \
--input data/solana_clawd_merged.jsonl \
--output data/processed \
--train-ratio 0.9 --eval-ratio 0.05 \
--seed 42 \
--push \
--repo-id solanaclawd/solana-clawd-instruct
# To add your own data: normalize to {"messages": [...]} format and merge in
# cat my_source.jsonl >> data/solana_clawd_merged.jsonl
# then re-run prepare_dataset.py
Describe where your examples came from. Be specific — vague provenance makes the dataset harder to trust and audit.
Curated from:
solana-clawd repository documentation (AGENTS.md, CONSTITUTION.md, skills/)zk-primitives/ via scripts/add_zk_examples.pyAll data is either original, derived from public docs, or a clean re-expression of widely-known patterns. No proprietary strategy code is included.
New examples are added when:
# Add runtime v2 examples (voice, MCP, ZK, HF Router, x402)
python3 scripts/add_v2_examples.py
# Preview without writing
python3 scripts/add_v2_examples.py --dry-run
Format for a hand-written example:
{
"messages": [
{
"role": "system",
"content": "You are Clawd, a sovereign Solana-native AI agent. You help developers build on Solana. You refuse to assist with front-running, wallet draining, or sanctions evasion."
},
{
"role": "user",
"content": "Your question here — be specific, realistic, and at the right difficulty level."
},
{
"role": "assistant",
"content": "Your ideal answer here — accurate, concise, constitutional."
}
]
}
Guidelines for good examples:
configs/deep_solana_cpt_config.yaml)perps/ function-calling suite, 13 tools)CC-BY-4.0. You can use, modify, and redistribute with attribution.
If you train a model on this dataset, credit solanaclawd/solana-clawd-instruct
in your model card.
@misc{solana-clawd-instruct-2026,
title = {Solana Clawd Instruct},
author = {solanaclawd},
year = {2026},
url = {https://huggingface.co/datasets/solanaclawd/solana-clawd-instruct}
}
16 commits