Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
google
/
sentencepiece
Public
Notifications
You must be signed in to change notification settings
Fork
1.4k
Star
12.1k
Code
Issues
4
Pull requests
3
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
sentencepiece
python
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 26, 2026
fix(python): accept out_type in DecodeIds and DecodePieces
Show description for e07470f
kwy404
committed
e07470f
View commit details
Copy full SHA for e07470f
View code at this point
Browse repository at this point
Commits on Sep 25, 2026
fix(python): bind SentencePieceNormalizer.LoadFromSerializedNormalizerSpec
Show description for de2c7d2
kwy404
committed
de2c7d2
View commit details
Copy full SHA for de2c7d2
View code at this point
Browse repository at this point
Commits on Sep 15, 2026
feat(lite): introduce SentencePiece Lite zero-dependency C++20 runtime
Show description for a2cb4d8
taku910
committed
a2cb4d8
View commit details
Copy full SHA for a2cb4d8
View code at this point
Browse repository at this point
Commits on Sep 12, 2026
Promote auto_character_coverage to TrainerSpec and remove fixed_sparse_lambda
taku910
committed
df18339
View commit details
Copy full SHA for df18339
View code at this point
Browse repository at this point
Commits on Sep 10, 2026
feat,fix,deprecate: allow unk_id=-1 with byte_fallback, fix issue #1308, and retire deprecated flags
Show description for c2fbf86
taku910
committed
c2fbf86
View commit details
Copy full SHA for c2fbf86
View code at this point
Browse repository at this point
Commits on Sep 8, 2026
Merge pull request #1320 from Kayvan-Zahiri/fix/offset-mapping-empty-batch
Show description for 73666a8
taku910
authored
73666a8
View commit details
Copy full SHA for 73666a8
View code at this point
Browse repository at this point
Update sentencepiece_test.py
Show description for 8d26982
taku910
authored
8d26982
View commit details
Copy full SHA for 8d26982
View code at this point
Browse repository at this point
Commits on Sep 3, 2026
Add regression tests for decode of a batch with a leading empty sequence
Show description for ffb8e65
rootkiller6788
committed
ffb8e65
View commit details
Copy full SHA for ffb8e65
View code at this point
Browse repository at this point
Decode batch starting with an empty sequence was misclassified
Show description for b9d58dd
rootkiller6788
committed
b9d58dd
View commit details
Copy full SHA for b9d58dd
View code at this point
Browse repository at this point
Commits on Sep 2, 2026
Fix encode() with an empty batch and out_type='offset_mapping'
Show description for 63b1965
Kayvan-Zahiri
committed
63b1965
View commit details
Copy full SHA for 63b1965
View code at this point
Browse repository at this point
Commits on Aug 30, 2026
build: upgrade MSVC and common C++ standard from C++17 to C++20
Show description for 7520a37
taku910
committed
7520a37
View commit details
Copy full SHA for 7520a37
View code at this point
Browse repository at this point
Commits on Aug 26, 2026
cleanup: remove self_test_data and consolidate deprecated fields in proto
Show description for 470b7d5
taku910
committed
470b7d5
View commit details
Copy full SHA for 470b7d5
View code at this point
Browse repository at this point
Commits on Aug 14, 2026
remove unused trian method from python module
taku910
committed
8f4966b
View commit details
Copy full SHA for 8f4966b
View code at this point
Browse repository at this point
Commits on Aug 13, 2026
test: standardize test model file names
taku910
committed
1a1126e
View commit details
Copy full SHA for 1a1126e
View code at this point
Browse repository at this point
build: clean up build scripts, CI workflow, and gitignore
taku910
committed
df4e7cb
View commit details
Copy full SHA for df4e7cb
View code at this point
Browse repository at this point
Commits on Aug 12, 2026
build: fix cmake dependencies, sdist self-containment, and wheel CI workflow
taku910
committed
4e5215e
View commit details
Copy full SHA for 4e5215e
View code at this point
Browse repository at this point
Commits on Aug 10, 2026
build: fix utf8_range include path for protobuf v35+ in cmake and setup.py
taku910
committed
5cc3786
View commit details
Copy full SHA for 5cc3786
View code at this point
Browse repository at this point
use tempfile.TemporaryDirectory in test
taku910
committed
76d28d6
View commit details
Copy full SHA for 76d28d6
View code at this point
Browse repository at this point
Commits on Aug 1, 2026
fixed the slow mac wheel build
taku910
committed
fdcc3e5
View commit details
Copy full SHA for fdcc3e5
View code at this point
Browse repository at this point
Commits on Jul 31, 2026
Merge remote-tracking branch 'origin/master' into l1_sparse
taku910
committed
5689abc
View commit details
Copy full SHA for 5689abc
View code at this point
Browse repository at this point
fixed build error on windows
taku910
committed
2f4a70f
View commit details
Copy full SHA for 2f4a70f
View code at this point
Browse repository at this point
Merge remote-tracking branch 'origin/master' into l1_sparse
taku910
committed
39b7f65
View commit details
Copy full SHA for 39b7f65
View code at this point
Browse repository at this point
fixed build error on windows
taku910
committed
8f01700
View commit details
Copy full SHA for 8f01700
View code at this point
Browse repository at this point
Merge remote-tracking branch 'origin/master' into l1_sparse
taku910
committed
b3eadd7
View commit details
Copy full SHA for b3eadd7
View code at this point
Browse repository at this point
fixed build error on windows
taku910
committed
e07dd00
View commit details
Copy full SHA for e07dd00
View code at this point
Browse repository at this point
Commits on Jul 29, 2026
Update Python module build for Protobuf v25.6 and C++20
taku910
committed
dc1f89c
View commit details
Copy full SHA for dc1f89c
View code at this point
Browse repository at this point
Commits on Jul 28, 2026
Refactor Unigram L1 sparse pruning, Post-Lasso debiased refit, and Python bindings
taku910
committed
fd53b5c
View commit details
Copy full SHA for fd53b5c
View code at this point
Browse repository at this point
Commits on Jul 22, 2026
Remove unused includes from pybind.cc
taku910
committed
28d5b00
View commit details
Copy full SHA for 28d5b00
View code at this point
Browse repository at this point
Commits on Jul 18, 2026
Refactor Trainer and pretokenization interface
Show description for d1b6696
taku910
committed
d1b6696
View commit details
Copy full SHA for d1b6696
View code at this point
Browse repository at this point
Commits on Jul 17, 2026
Fix Decode() of empty input for non-str return types
Show description for 2056873
sohumt123
committed
2056873
View commit details
Copy full SHA for 2056873
View code at this point
Browse repository at this point
Commits on Jul 15, 2026
run clang-format on C++ files
taku910
committed
3c53a74
View commit details
Copy full SHA for 3c53a74
View code at this point
Browse repository at this point
Merge master head (origin/master) into master
taku910
committed
0a76d4f
View commit details
Copy full SHA for 0a76d4f
View code at this point
Browse repository at this point
deprecate: Clean up deprecated APIs, unused functions, and legacy implementations
taku910
committed
442a7d7
View commit details
Copy full SHA for 442a7d7
View code at this point
Browse repository at this point
increment base version from 0.2.2 to 0.2.3
taku910
committed
af61c7c
View commit details
Copy full SHA for af61c7c
View code at this point
Browse repository at this point
Commits on Jun 22, 2026
Stop support for Win32 wheels
taku910
committed
24fd00c
View commit details
Copy full SHA for 24fd00c
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.