Go Module v0.1.4
Go Module Release
This release of the Go tokenizers module is compatible with Rust library version built-locally.
Installation
go get github.com/amikos-tech/pure-tokenizers@v0.1.4Features
- CGo-free implementation using purego
- Automatic library download and caching
- Support for multiple platforms (Linux, macOS, Windows)
- Compatible with HuggingFace tokenizers
Requirements
- Go 1.24 or later
- Compatible Rust tokenizers library (downloaded automatically)
Environment Variables
TOKENIZERS_LIB_PATH: Override library pathTOKENIZERS_VERSION: Specific Rust library version to useGITHUB_TOKEN/GH_TOKEN: Optional GitHub API auth for fallback requests
Documentation
See the README for detailed usage instructions.
What's Changed
- [TST] Eliminate HFHubBaseURL global mutations in tests by @tazarov in #100
- [REL] Publish signed releases index to R2 by @tazarov in #101
- release: externalize and locally test releases index generation by @tazarov in #102
Full Changelog: v0.1.3...v0.1.4