Skip to content

v0.6.0-testnet — a real pretrained decoder runs in consensus

Choose a tag to compare

@iguha0 iguha0 released this 15 Nov 05:17
· 59 commits to main since this release

v0.6.0-testnet — a real pretrained decoder runs in consensus

The chain now executes TinyStories-1M, a real 3.75M-parameter GPT-Neo
decoder, during block application with the GPT-2 byte-level BPE tokenizer, a
KV cache and greedy decoding.

This is a runtime milestone, not production LLM support.

What now runs

  • tiny-stories-1m: 8 pre-norm GPT-Neo layers, 64 hidden, 16 heads,
    256-wide FFN, tied embeddings, gelu_new, no attention-score scaling,
    layer-norm epsilon 1e-5.
  • GPT-2 byte-level BPE: 50,257 tokens, vocab.json + merges.txt, ByteLevel
    regex pre-tokenization, byte-to-Unicode mapping, rank-based merges.
  • 128-token context (truncated from 2048; the local-attention window is 256, so
    the local layers behave as global here).
  • Greedy decoding, at most 32 new tokens.
  • Encrypted prompt, consensus execution, weights-bound receipt and
    /v1/verify regeneration.

Parity

  • Prompt tokenizer parity on 8 prompts.
  • 32-token greedy parity with the float PyTorch reference on all 8 prompts.
  • KV-cache logits are exactly equal to a full forward pass.
  • Generation is byte-identical across runs.
  • Getting there required the accurate dense path (Q32.32 accumulation, one
    rounded shift), rounded layer norm, gelu_new, no attention scaling and the
    layer-norm epsilon.

Live demo

https://verinoo.com/v1/models now lists five models, including
tiny-stories-1m.

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-stories-1m \
  --input "Once upon a time" --node https://verinoo.com
./scripts/verify.sh <taskId> --node https://verinoo.com

The example returns: “, there was a little girl named Lily. She loved to play
outside in the sunshine…” with a receipt bound to weights hash 4d9ffafb….

Download

verinoo-node-v0.6.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
the synthetic models, the transformer encoder, both SDKs, node.env.example,
LICENSE, README.txt, and scripts/import_tiny_stories.py.

The TinyStories weights are not included. The model card states no license,
so the 24 MB weights are downloaded locally:

python3 scripts/import_tiny_stories.py

The script needs Python with torch, transformers and huggingface_hub. It
writes models/tiny-stories-1m.json and a float-reference fixture. Review the
model card and dataset terms before use.

Still not claimed

  • Not a production LLM. 3.75M parameters, 128-token context, greedy only,
    no sampling, batching, streaming, safety layer, large-model serving or clear
    model license.
  • Not a general tokenizer. GPT-2 BPE only. No LLaMA/SentencePiece.
  • 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. TinyStories-1M attribution in
models/NOTICE-tiny-stories-1m.txt.