๐ฆ
CLAWD MODEL KIT
Solana-Native AI Agent Ecosystem ยท solanaclawd
Self-hosted chat via
CLAWD_INFERENCE_URL(vLLM / llama.cpp / Ollama). GGUF pack:solanaclawd/solana-nvidia-trading-factory-8b-GGUF.
Model
Examples
๐ฆ Trading Factory 8B โ GGUF
Quantized weights for local / edge inference (llama.cpp, Ollama, LM Studio). Source: solanaclawd/solana-nvidia-trading-factory-8b-GGUF
| File | Use |
|---|---|
solana-trading-factory-8b-Q4_K_M.gguf |
Recommended โ quality/size balance |
solana-trading-factory-8b-Q5_K_M.gguf |
Higher fidelity, larger RAM |
Quick start (llama.cpp)
huggingface-cli download solanaclawd/solana-nvidia-trading-factory-8b-GGUF solana-trading-factory-8b-Q4_K_M.gguf --local-dir ./models llama-server -m ./models/solana-trading-factory-8b-Q4_K_M.gguf --port 8080 --host 0.0.0.0
Point this Space at it
CLAWD_INFERENCE_URL=http://YOUR_HOST:8080/v1 CLAWD_INFERENCE_MODEL=solana-trading-factory-8b-Q4_K_M CLAWD_INFERENCE_KEY= # optional
Then pick solanaclawd/solana-nvidia-trading-factory-8b-GGUF in the Chat tab.
๐ฆ
17/18 = 94.4%
Solana Knowledge Benchmark โ 18 MCQ across 6 domains
Model: solanaclawd/solana-clawd-core-ai-1.5b-lora | 1-epoch | local MPS eval
By Topic
agent
2/2 (100%)
constitution
2/2 (100%)
core
3/4 (75%)
defi
4/4 (100%)
security
3/3 (100%)
zk
3/3 (100%)
Question Detail
| Topic | Question | โ |
|---|---|---|
| core | PDA definition | โ |
| core | CPI depth limit | โ |
| core | Default compute unit budget | โ |
| core | Account packing | โ |
| defi | AMM invariant | โ |
| defi | Funding rate | โ |
| defi | Maker vs taker fees | โ |
| security | Rug pull definition | โ |
| security | Mint authority | โ |
| security | Flash loan attack | โ |
| agent | Oracle role | โ |
| agent | OODA loop | โ |
| zk | Merkle tree | โ |
| zk | Nullifier | โ |
| constitution | Law I | โ |
| constitution | Trust model | โ |
| zk | Light Protocol | โ |
| defi | Bonding curve | โ |
MISS: Q3 โ Default compute unit budget
Model answered 1,400,000 CU (correct: 200,000). Common confusion with max transaction CU vs default. Fixed with 3-epoch retrain (job 6a35dd23 running on H200).
๐ญ NVIDIA Trading Factory
Our port of the NVIDIA Quantitative Signal Discovery Agent + Nemotron Ultra 550B teacher โ 1.5B student distillation
๐ก
Blueprint 1
Data Collection
Helius DAS + RPC streaming โ Solana tx corpus for CPT
๐
Blueprint 2
Portfolio Optimization
Mean-CVaR cuFOLIO โ GPU-accelerated portfolio weights
๐ค
Blueprint 3
Transaction Foundation
SolanaTokenizerPipeline โ decoder CLM pre-training
๐
Blueprint 4
Signal Discovery
7-signal suite: RSI, MACD, BBands, ATR, ADX, funding, OB imbalance
๐
Blueprint 5
RAG Context
Enterprise RAG over Solana docs for agent context assembly
๐ง
Nemotron
Teacher Model
550B Ultra โ labels Solana decisions โ distills to 1.5B student
๐ 7 Live Signals (Blueprint 4)
| RSI | Oversold <30 / Overbought >70 |
| MACD | Histogram momentum crossover |
| BBands | Mean-reversion near upper/lower band |
| ATR% | Volatility regime filter |
| ADX | Trend strength entry filter |
| Funding Rate | Sentiment proxy โ crowded longs/shorts |
| OB Imbalance | Live bid/ask size pressure |
๐ Distillation Flywheel
โ Nemotron Ultra 550B observes markets
โก Outputs structured JSON trading plans
โข Plans logged as SFT pairs (teacher labels)
โฃ 1.5B student fine-tuned on Ultra labels
โค Student deployed for low-latency inference
โฅ Student decisions verified โ new labels โ loop
๐ค Model Registry
LoRA adapter ยท 1.5B (9M trainable) ยท Qwen/Qwen2.5-1.5B-Instruct
Primary Clawd agent โ constitutional reasoning, Solana mechanics, DeFi, ZK
๐ฆ solana-clawd-core-ai-instruct (35,173 ex)
๐ฏ 94.4% MCQ (17/18)
LoRA adapter ยท 8B ยท NousResearch/Hermes-3-Llama-3.1-8B
Function-calling perps agent โ 13 tools, Phoenix DEX, paper trading
๐ฆ solana-nvidia-trading-factory-instruct (142 ex)
๐ฏ โ
GGUF (Q4_K_M / Q5_K_M) ยท 8B quantized ยท NousResearch/Hermes-3-Llama-3.1-8B (merged โ GGUF)
llama.cpp / Ollama pack โ solana-trading-factory-8b-Q4_K_M.gguf + Q5_K_M
๐ฆ solana-nvidia-trading-factory-instruct
๐ฏ local / edge ready
LoRA adapter ยท 1.5B ยท Qwen/Qwen2.5-1.5B-Instruct
Legacy seed adapter โ original Clawd constitutional + Solana SFT
๐ฆ solana-clawd-instruct (36,109 ex)
๐ฏ โ
TRAINING
Full fine-tune ยท 7B ยท Qwen/Qwen2.5-7B-Instruct
ZK-specialised: Light Protocol, nullifiers, Groth16, compressed tokens
๐ฆ ordlibrary/DeepSolana-GPT2-bucket (CPT)
๐ฏ pending eval
LoRA adapter ยท 1.5B ยท Qwen/Qwen2.5-1.5B-Instruct
3-epoch retrain on H200 โ will overwrite 1-epoch weights on completion
๐ฆ solana-clawd-core-ai-instruct (35,173 ex)
๐ฏ pending
๐ฆ Datasets
| Dataset | Examples | Description |
|---|---|---|
| solanaclawd/solana-clawd-core-ai-instruct | 35,173 | SFT โ Core AI source tree + Solana primitives |
| solanaclawd/solana-clawd-instruct | 36,109 | SFT โ Legacy seed: constitutional + Solana |
| solanaclawd/solana-clawd-realtime-research-instruct | 29,058 | SFT โ PDFs, notebooks, parquet ZK examples |
| solanaclawd/solana-nvidia-trading-factory-instruct | 142 | SFT โ NVIDIA Blueprint trading factory scenarios |
| solanaclawd/solana-tx-foundation-cpt | โ | CPT โ Solana transaction foundation model corpus |
| solanaclawd/solana-clawd-eval | 13 | Eval โ Red-team + capability held-out prompts |
| ordlibrary/DeepSolana-GPT2-bucket | โ | CPT โ DeepSolana pre-training bucket |
๐ง Onchain Model Kit
Fork โ Dataset โ Train โ Eval โ Register onchain. One sitting. ~$4 on A100.
โ Clone & install
git clone https://github.com/Solizardking/solana-clawd cd solana-clawd/ai-training pip install -r requirements.txt export HF_TOKEN=hf_... # huggingface.co/settings/tokens (write access)
โก Push your dataset
python3 scripts/prepare_dataset.py \ --input data/your_sft.jsonl \ --push --repo-id YOUR_ORG/your-dataset
โข Train on A100 (~$4 for 3 epochs)
hf jobs uv run scripts/train_lora.py \
--flavor a100-large --timeout 6h --secrets HF_TOKEN --detach \
-- --config configs/core_ai_lora_config.yaml \
--hub-model-id YOUR_ORG/your-model --push
โฃ Benchmark (18-MCQ Solana eval)
python3 scripts/solana_benchmark.py \ --model YOUR_ORG/your-model \ --base-url https://router.huggingface.co/v1 \ --api-key $HF_TOKEN
โค Register onchain
./dao/register_model.sh \ --hf-model YOUR_ORG/your-model \ --eval-accuracy 0.944 \ --dataset-size 35173 # โ indexed at onchain.x402.wtf forever