wasmicro 0.3.1

Tiny transformer inference for the web. BERT, GPT-2 and T5 in a 199 KB WASM bundle.
Documentation
1
2
3
4
5
6
7
8
9
//! Pre-built transformer architectures.
//!
//! Each model is a plain struct of weight tensors with a `forward` method.
//! There is no `trait Model` — every model has its own input/output shape
//! and the caller knows which one they're using.

pub mod bert;
pub mod gpt2;
pub mod t5;