Decision Workspace
sentencepiece-model vs sentencepiece-rs vs morpheme
Side-by-side comparison of Rust crates
46
sentencepiece-model
growingv0.1.4
SentencePiece model parser generated from the SentencePiece protobuf definition
56
sentencepiece-rs
experimentalv0.2.2
Rust runtime reimplementation of SentencePiece model loading, normalization, encoding, and decoding.
52
morpheme
experimentalv0.5.0
Fast, pure-Rust subword tokenization (BPE, WordPiece, Unigram) compatible with Hugging Face tokenizers.
Core Metrics
| sentencepiece-model | sentencepiece-rs | morpheme | |
|---|---|---|---|
| Health Score | 46 | 56 | 52 |
| Total Downloads | 747.5K | 27.1K | 94 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 9 | 32 | 6 |
| Releases | 5 | 4 | 6 |
| Last Updated | 731d ago | 142d ago | 8d ago |
| Age | 2y 10m | 5m | 9d |
Health Breakdown
sentencepiece-model
Maintenance
4
Quality
16
Community
9
Popularity
7
Documentation
10
sentencepiece-rs
Maintenance
14
Quality
15
Community
9
Popularity
5
Documentation
13
morpheme
Maintenance
18
Quality
12
Community
8
Popularity
2
Documentation
12
Technical Details
| sentencepiece-model | sentencepiece-rs | morpheme | |
|---|---|---|---|
| Version | 0.1.4 | 0.2.2 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSD-2-Clause | Apache-2.0 | MIT |
| Dependencies | 4 | 0 | 20 |
| Crate Size | 8KB | 22KB | 174KB |
| Features | 2 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sentencepiece-rs leads with a health score of 56/100, but none of the options score above 80.
- •sentencepiece-model has the most downloads (747.5K), suggesting wider adoption.
- •⚠ sentencepiece-model has not been updated in over a year.