Skip to content

v0.5.0-testnet — a GPT-style decoder runs in consensus

Choose a tag to compare

@iguha0 iguha0 released this 15 Nov 04:36
· 64 commits to main since this release

v0.5.0-testnet — a GPT-style decoder runs in consensus

The chain now executes a causal decoder with a char-BPE tokenizer, a per-layer
KV cache and greedy generation during block application. This is a runtime
milestone, not production LLM support.

What now runs

  • tiny-gpt-v1: two pre-norm decoder layers, 110,400 Q16.16 parameters,
    hidden 64, 4 heads, width 128 FFN, context 32.
  • 320-token char-BPE vocabulary, trained on a 3,847-line synthetic support
    corpus. The merge order is shared by the Python trainer and the Rust runtime.
  • Causal self-attention with a per-layer K/V cache. Prefill handles the prompt;
    each generated token is one forward step against the cache.
  • Greedy argmax decoding, at most 24 new tokens, no sampling.
  • Encrypted prompt, consensus execution, weights-bound receipt and
    /v1/verify regeneration.

Parity

  • Greedy token parity with the float PyTorch reference on 8 prompts.
  • KV cache equals full forward: prefill plus one step produces exactly the
    same logits as a full-sequence pass.
  • Generation is byte-identical across runs.
  • Model quality: validation loss 0.799, token accuracy about 74%. Output is
    often template-like or garbled. This is a demonstration, not a benchmark.

Live demo

https://verinoo.com/v1/models lists four models, including tiny-gpt-v1.

verinoo-node wallet generate --output key.json
ADDR=$(jq -r .address key.json)
curl -s -X POST https://verinoo.com/faucet \
  -H 'content-type: application/json' -d "{\"address\":\"$ADDR\"}"
sleep 3
verinoo-node infer --key-file key.json --model tiny-gpt-v1 \
  --input "please cancel" --node https://verinoo.com
./scripts/verify.sh <taskId> --node https://verinoo.com

The receipt binds tiny-gpt-v1 and weights hash 19b8f15f086ea1b8….

Train and export

python3 scripts/train_gpt.py

Writes models/tiny-gpt-v1.json and
models/tiny-gpt-v1.test.json. Every validator must load the same file.

Download

verinoo-node-v0.5.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
all four models, the parity fixtures, node.env.example, LICENSE,
README.txt, and both SDKs. Verify with SHA256SUMS.v0.5.0.

Still not claimed

  • Not a production LLM. No GPT-2/LLaMA tokenizer, long context, sampling,
    batching, safety layer or model quality. 110k parameters, synthetic data.
  • Not trustless. One operator, round-robin leader, no BFT finality.
  • Not operator-blind. Inputs are encrypted to the validator set; every
    validator can decrypt.
  • Not ZK-proven. Verification is re-execution; the dispute game is test-only.
  • No snapshot sync, automatic HA or on-chain validator removal.
  • No token or fiat settlement. Invoicing is manual from the usage CSV.

License: AGPL-3.0.