bend-ml-llama@0.3.0.0 checks
0xf3d14d7bad8726b73c5072bce72b710c
The entry to publish: `bend package.bend --publish bend-ml-llama@<version>`, from llama/, sends this file and
bend-ml-llama@0.3.0.0 by nuxyel
Earlier versions (5)
- bend-ml-llama@0.2.1.1 2026-11-07
- bend-ml-llama@0.2.1.0 2026-11-02
- bend-ml-llama@0.2.0.0 2026-10-22
- bend-ml-llama@0.1.1.0 2026-10-17
- bend-ml-llama@0.1.0.0 2026-10-14
- Published
- 2026-11-13
- Size
- 178,694 bytes, 8 files
- License
- MIT (LICENSE)
- Declarations
- 26 laws (26 proved), 338 defs, 38 types
Import
import bend-ml-llama@0.3.0.0/gen.bend as Gen import 0xf3d14d7bad8726b73c5072bce72b710c/gen.bend as Gen import bend-ml-llama@0.3.0.0/main.bend as Main import 0xf3d14d7bad8726b73c5072bce72b710c/main.bend as Main import bend-ml-llama@0.3.0.0/package.bend as Package import 0xf3d14d7bad8726b73c5072bce72b710c/package.bend as Package import bend-ml-llama@0.3.0.0/prompt.bend as Prompt import 0xf3d14d7bad8726b73c5072bce72b710c/prompt.bend as Prompt import bend-ml-llama@0.3.0.0/tok.bend as Tok import 0xf3d14d7bad8726b73c5072bce72b710c/tok.bend as Tok import bend-ml-llama@0.3.0.0/unicode.bend as Unicode import 0xf3d14d7bad8726b73c5072bce72b710c/unicode.bend as Unicode
Modules
- gen.bend 57 declarations — bend-ml-llama, generation: the ids of a prompt run through main.bend's forward pass position by position (one
- main.bend 234 declarations, 26 laws — bend-ml-llama: Llama-architecture language models (SmolLM2 and the rest of the family) in Bend 2, with the
- package.bend 0 declarations — The entry to publish: `bend package.bend --publish bend-ml-llama@<version>`, from llama/, sends this file and
- prompt.bend 48 declarations — bend-ml-llama, the prompt in one pass: the n positions of a prompt go through each layer together, so that every
- tok.bend 109 declarations — bend-ml-llama, the tokenizer: SmolLM2's, in Bend. A pre-tokenizer (SmolLM2's Digits split, then the GPT-2 regex,
- unicode.bend 1 declarations — Copied unchanged from bend-ml (demos/gpt2/unicode.bend, MIT), generated there by reference/gen_unicode_table.py.
Other files
Dependencies
- bend-ml-tensor-array@0.1.20.0 via
gen.bend: import bend-ml-tensor-array@0.1.20.0/main.bend as TA - bend-ml-bpe-tokenizer@0.1.3.0 via
tok.bend: import bend-ml-bpe-tokenizer@0.1.3.0/main.bend as BPE
Dependents
No package in this build imports it.
Status on bend 2.0.40
| File | Status | Checker says | Time |
|---|---|---|---|
| gen.bend | checks | ALL PROOFS CHECK | 3.7 s |
| main.bend | checks | ALL PROOFS CHECK | 3.9 s |
| package.bend | checks | ALL PROOFS CHECK | 3.8 s |
| prompt.bend | checks | ALL PROOFS CHECK | 4.0 s |
| tok.bend | checks | ALL PROOFS CHECK | 0.7 s |
| unicode.bend | checks | ALL PROOFS CHECK | 0.6 s |