Skip to content

v0.0.3

Choose a tag to compare

@chonknick chonknick released this 23 Mar 06:39

What's New

  • Python bindings via PyO3/maturin (pip install tokie)
  • Workspace restructure β€” crates/ directory with tokie (Rust lib) and tokie-python
  • License change β€” AGPL-3.0 β†’ MIT OR Apache-2.0
  • Release CI β€” automated publish to crates.io and PyPI on release
  • Version script β€” scripts/bump-version.sh for synchronized version updates
  • Assets β€” tokie bird mascot and banner images

Python API

import tokie

t = tokie.Tokenizer.from_pretrained("bert-base-uncased")
tokens = t.encode("Hello, world!")
text = t.decode(tokens)