Debian Codegraph @

/

debian rust-spm-precompiled 0.1.4-2debian librust-spm-precompiled-dev debian librust-spm-precompiled+default-dev debian librust-spm-precompiled-0-dev debian librust-spm-precompiled-0+default-dev debian librust-spm-precompiled-0.1-dev debian librust-spm-precompiled-0.1+default-dev debian librust-spm-precompiled-0.1.4-dev debian librust-spm-precompiled-0.1.4+default-dev cargo spm_precompiled 0.1.4 debianjsonmakefilemarkdownrustrust-c-abishelltomlyaml 18 files · 166 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • rust-nom-7 (librust-nom-7+default-dev)
  • cargo, debhelper-compat, librust-base64-0.22+default-dev, librust-serde-1+default-dev, librust-serde-1+derive-dev, librust-unicode-segmentation-1+default-dev, libstd-rust-dev, rustc
README (full)

Crate API

spm_precompiled

This crate aims to emulate https://github.com/google/sentencepiece Dart::DoubleArray struct and it's Normalizer. It's main intent is to be used with tokenizers that is a Rust library that aims to provide facilities to tokenize string for use with HuggingFace's transformers library

This crate is highly specialized and not intended for general use.

The core of the algorithm is to read spm's binary precompiled_charsmap.

dir .github/
dir debian/
dir src/
file .cargo_vcs_info.json
file .gitignore
file Cargo.toml
file Cargo.toml.orig
file LICENSE
file README.md
file README.tpl
file test.json