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
Type
/
to 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
.
modelscope
/
twinkle
Public
Notifications
You must be signed in to change notification settings
Fork
41
Star
249
Code
Issues
3
Pull requests
5
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
feat: add standard PPO training with GAE and value critic (Transformers/FSDP)
- #256
#256
Merged
tpx818
merged 7 commits into
modelscope:main
modelscope/twinkle:main
from
xxyyrr598:add-ppo
xxyyrr598/twinkle:add-ppo
Copy head branch name to clipboard
Aug 6, 2026
Conversation
Commits
7
(7)
Checks
Files changed
Merged
feat: add standard PPO training with GAE and value critic (Transformers/FSDP)
#256
tpx818
merged 7 commits into
modelscope:main
modelscope/twinkle:main
from
xxyyrr598:add-ppo
xxyyrr598/twinkle:add-ppo
Copy head branch name to clipboard
Commits
Commits on Jul 31, 2026
feat: add standard PPO training with GAE and value critic (Transformers/FSDP)
xxyyrr598
committed
d5fb82c
View commit details
Copy full SHA for d5fb82c
Browse repository at this point
fix: force CPU in value model tests for GPU hosts
xxyyrr598
committed
46fb917
View commit details
Copy full SHA for 46fb917
Browse repository at this point
fix: align value model test inputs with model device
xxyyrr598
committed
8eb12a4
View commit details
Copy full SHA for 8eb12a4
Browse repository at this point
fix: wrap model before reading device in value model tests
xxyyrr598
committed
aa3bf04
View commit details
Copy full SHA for aa3bf04
Browse repository at this point
Add .gitattributes to normalize line endings
xxyyrr598
committed
13910f6
View commit details
Copy full SHA for 13910f6
Browse repository at this point
Commits on Aug 4, 2026
refactor: unify PPO epochs via training.num_train_epochs and extract ray NPU resource detection
xxyyrr598
committed
5edbde8
View commit details
Copy full SHA for 5edbde8
Browse repository at this point
feat(loss): add loss_agg_mode to PPOLoss, default to token-mean
xxyyrr598
committed
1ce486d
View commit details
Copy full SHA for 1ce486d
Browse repository at this point
You can’t perform that action at this time.