Docs.rs
gpt-model-0.1.0
gpt-model 0.1.0
Permalink
Docs.rs crate page
AGPL-3.0-only
Links
Repository
crates.io
Source
Owners
caer
Dependencies
anyhow ^1.0.48
normal
fancy-regex ^0.10.0
normal
ndarray ^0.15.6
normal
rand ^0.8.5
normal
serde ^1.0
normal
serde_json ^1.0
normal
tract-onnx ^0.18.4
normal
Versions
90%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
gpt_
model
0.1.0
All Items
Crate Items
Modules
Crate
gpt_model
Copy item path
Source
Expand description
Pure Rust inference wrapper for the GPT-2 (and possibly later) model family.
Modules
§
model
Runtime wrappers for running inference on a GPT model saved in ONNX format.
tokenizer
Pure Rust implementation of the GPT-2 byte-pair encoder (aka “text tokenizer”).