Docs.rs
  • bnf_sampler-0.3.8
    • bnf_sampler 0.3.8
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • Dan-wanna-M
    • Dependencies
      • anyhow ^1.0.75 normal
      • bit-set ^0.5.3 normal
      • bnf ^0.5.0 normal
      • itertools ^0.12.1 normal
      • lazy_static ^1.4.0 normal
      • memchr ^2.5.0 normal
      • mimalloc ^0.1.38 normal
      • nohash-hasher ^0.2.0 normal
      • qp-trie ^0.8.1 normal
      • regex ^1.9.3 normal
      • rustc-hash ^1.1.0 normal
    • Versions
    • 34.48% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

bnf_sampler0.3.8

Crate Items

  • Structs
  • Enums
  • Functions

List of all items

Structs

  • grammar::Grammar
  • sampler::Sampler
  • utils::U8ArrayWrapper
  • vocabulary::Vocabulary

Enums

  • sampler::AcceptTokenResult
  • sampler::PossibleTokensResult

Functions

  • utils::fix_utf8_escape
  • utils::read_rwkv_world_vocab