heal 0 0 0

solanaclawd/solana-clawd-instruct

published by @solanaclawd

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
832
Last 30 days
136
Likes
-
Size
39.4 MB
Created on HF
2026-06-15
Age
4 months ago

Description

Solana Clawd Instruct

A curated instruction-tuning dataset for fine-tuning models into Solana-native Clawd agents with strong Solana, DeFi, ZK, and constitutional-alignment coverage.

What it teaches

Check every domain your dataset covers:

Solana mechanics (PDAs, accounts, instructions, rent, compute budgets, Token-2022)

DeFi primitives (AMMs, CLMMs, perpetuals, bonding curves, Jupiter, Phoenix)

Memecoin risk analysis (rug detection, holder concentration… See the full description on the dataset page: https://huggingface.co/datasets/solanaclawd/solana-clawd-instruct.

Tags

task_categories:text-generationtask_categories:question-answeringlanguage:enlicense:cc-by-4.0size_categories:10K<n<100Kformat:parquetformat:optimized-parquetmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:ussolanadeficryptoagentclawdconstitutional-ai

README current version from Hugging Face


license: cc-by-4.0
task_categories:

  • text-generation
  • question-answering
    language:
  • en
    tags:
  • solana
  • defi
  • crypto
  • agent
  • clawd
  • constitutional-ai
    size_categories:
  • 10K<n<100K
    pretty_name: Solana Clawd Instruct
    dataset_info:
    features:
    • name: messages
      list:
      • name: role
        dtype: string
      • name: content
        dtype: string
        splits:
    • name: train
      num_bytes: 36695126
      num_examples: 27405
    • name: eval
      num_bytes: 2044721
      num_examples: 1522
    • name: test
      num_bytes: 2066915
      num_examples: 1523
      download_size: 40791592
      dataset_size: 40806762
      configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
    • split: eval
      path: data/eval-*
    • split: test
      path: data/test-*

Solana Clawd Instruct

Buy on Phantom
Dexscreener
Birdeye
Jupiter
Solscan

A curated instruction-tuning dataset for fine-tuning models into Solana-native Clawd agents with strong Solana, DeFi, ZK, and constitutional-alignment coverage.


What it teaches

Check every domain your dataset covers:

  • Solana mechanics (PDAs, accounts, instructions, rent, compute budgets, Token-2022)
  • DeFi primitives (AMMs, CLMMs, perpetuals, bonding curves, Jupiter, Phoenix)
  • Memecoin risk analysis (rug detection, holder concentration, deployer forensics)
  • Agent architecture (skill registries, brain/hands split, multi-agent coordination)
  • Constitutional reasoning (Clawd Constitution, guardrails, refusal patterns)
  • Code generation (Anchor/Rust, TypeScript @solana/kit, Python)
  • ZK compression (Light Protocol, nullifiers, Groth16 — see zk-primitives/)
  • Perps function calling (13 tools — Phoenix, Jupiter, risk assessment)
  • Runtime v2 (xAI Voice Agent, MCP skills catalog, ClawdRouter, x402)
  • Add your domain here

Format

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.


Splits

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/.

Reproduce

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

Source

Describe where your examples came from. Be specific — vague provenance makes the
dataset harder to trust and audit.

Curated from:

  • The solana-clawd repository documentation (AGENTS.md, CONSTITUTION.md, skills/)
  • Public Solana / DeFi reference material (Anchor docs, Helius SDK, Jupiter, Phoenix)
  • Best-practice memecoin risk checklists from community tradecraft
  • Synthetic examples for edge-case constitutional scenarios
  • Local ZK references and examples from zk-primitives/ via scripts/add_zk_examples.py

All data is either original, derived from public docs, or a clean re-expression
of widely-known patterns. No proprietary strategy code is included.


Adding new examples

New examples are added when:

  1. A new skill is added to the Clawd catalog (each skill produces 5–10 new SFT pairs).
  2. A new Solana primitive ships (new Token-2022 extension, new program pattern, etc.).
  3. An adversarial prompt slips through the safety filter — add a clean refusal example.
# 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:

  • System prompt must be identical across all examples (the model locks onto it)
  • User turn should be a real question a Solana dev or DeFi user would ask
  • Assistant turn should be accurate — verify facts before adding
  • Include code when the answer calls for it (Rust, TypeScript, or Python)
  • For refusal examples, the assistant should explain why it won't help, not just refuse

Intended Use

  • Fine-tune a base instruct model (Qwen2.5-1.5B, Hermes-3-8B, Llama-3.2-1B) into a Clawd voice
  • Continue pre-training domain-specific models (see configs/deep_solana_cpt_config.yaml)
  • Tool-use training for the Hermes-3 path (perps/ function-calling suite, 13 tools)
  • Evaluation benchmark for Solana accuracy and constitutional alignment

Out of Scope

  • Live trading data: no real wallet transactions, P&L figures, or account balances
  • Front-running examples: the dataset is intentionally silent on offensive MEV
  • Sanctions evasion, KYC bypass, wallet draining: refused in the system prompt and absent from all assistant turns
  • Guaranteed financial outcomes: this is educational data, not a trading signal

License

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.


Citation

@misc{solana-clawd-instruct-2026,
  title  = {Solana Clawd Instruct},
  author = {solanaclawd},
  year   = {2026},
  url    = {https://huggingface.co/datasets/solanaclawd/solana-clawd-instruct}
}

README history 16 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-06-18Upload dataseta7ec7467.3 KB
    Loading...
  2. 2026-06-18docs: full training pipeline README with wiki integration33795557.4 KB
    Loading...
  3. 2026-06-18feat: data/solana_clawd_seed.jsonld4d1fe37.4 KB
    Loading...
  4. 2026-06-18feat: memory/honcho.pyca337d77.4 KB
    Loading...
  5. 2026-06-18feat: scripts/auto_research.py2d028047.4 KB
    Loading...
  6. 2026-06-18feat: scripts/wandb_eval.py733b5d97.4 KB
    Loading...
  7. 2026-06-18feat: scripts/solana_benchmark.pyab51e137.4 KB
    Loading...
  8. 2026-06-18feat: scripts/ingest_wiki_data.py3d3ffc57.4 KB
    Loading...
  9. 2026-06-18docs: $CLAWD token badges + wiki integration section5af8bdf7.4 KB
    Loading...
  10. 2026-06-18Upload datasetb8ebe706.3 KB
    Loading...
  11. 2026-06-18Upload dataset7b1c69b6.3 KB
    Loading...
  12. 2026-06-18Upload README.md with huggingface_hubbc0b4556.5 KB
    Loading...
  13. 2026-06-17Upload datasetfc513235.5 KB
    Loading...
  14. 2026-06-16Update dataset: card, seed, processed parquet/arrow splits, configs2766b155 KB
    Loading...
  15. 2026-06-15Initial upload: 22 SFT conversations (19 train / 1 eval / 2 test)4f1b4264 KB
    Loading...
  16. 2026-06-15initial commitca2637b0 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2026-06-16[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · heal

Read further

Metadata

License
cc-by-4.0

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("solanaclawd/solana-clawd-instruct")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="solanaclawd/solana-clawd-instruct", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/solanaclawd/solana-clawd-instruct
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration