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
Accelerator
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
huggingface
/
transformers.js
Public
Notifications
You must be signed in to change notification settings
Fork
1.2k
Star
16.3k
Code
Issues
196
Pull requests
82
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Auto device fallback on provider failure and tokenizer_options passthrough in Text2TextGenerationPipeline
- #1670
#1670
Closed
Suh0161
wants to merge 5 commits into
huggingface:main
huggingface/transformers.js:main
from
Suh0161:feat/cuda-fallback-tokenizer-options
Suh0161/transformers.js:feat/cuda-fallback-tokenizer-options
Copy head branch name to clipboard
Conversation
Commits
5
聽(5)
Checks
Files changed
Closed
Auto device fallback on provider failure and tokenizer_options passthrough in Text2TextGenerationPipeline
#1670
Suh0161
wants to merge 5 commits into
huggingface:main
huggingface/transformers.js:main
from
Suh0161:feat/cuda-fallback-tokenizer-options
Suh0161/transformers.js:feat/cuda-fallback-tokenizer-options
Copy head branch name to clipboard
Commits
Commits on May 1, 2026
Add start/end offsets to token classification and return_offsets_mapping to tokenizer
Show description for 53cb31b
Suh0161
committed
53cb31b
View commit details
Copy full SHA for 53cb31b
Browse repository at this point
Fix num_logits_to_keep default and add get_available_devices()
Show description for a90fc32
Suh0161
committed
a90fc32
View commit details
Copy full SHA for a90fc32
Browse repository at this point
Auto device fallback on provider failure and tokenizer_options passthrough
Show description for 9f498ef
Suh0161
committed
9f498ef
View commit details
Copy full SHA for 9f498ef
Browse repository at this point
Refactor #1642 and #1096 fixes with proper separation of concerns
Show description for 57c4267
Suh0161
committed
57c4267
View commit details
Copy full SHA for 57c4267
Browse repository at this point
fix(tokenizer): align GPT-2 offset_mapping with ByteLevel space prefix
Suh0161
committed
72d4c78
View commit details
Copy full SHA for 72d4c78
Browse repository at this point
You can鈥檛 perform that action at this time.