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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
InseeFrLab
/
torchTextClassifiers
Public
Notifications
You must be signed in to change notification settings
Fork
7
Star
23
Code
Issues
5
Pull requests
8
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
feat: support per-sample loss weighting (sample_weights)
- #100
#100
Merged
meilame-tayebjee
merged 6 commits into
main
InseeFrLab/torchTextClassifiers:main
from
feat/sample-weights
InseeFrLab/torchTextClassifiers:feat/sample-weights
Copy head branch name to clipboard
Jul 2, 2026
Conversation
Commits
6
(6)
Checks
Files changed
Merged
feat: support per-sample loss weighting (sample_weights)
#100
meilame-tayebjee
merged 6 commits into
main
InseeFrLab/torchTextClassifiers:main
from
feat/sample-weights
InseeFrLab/torchTextClassifiers:feat/sample-weights
Copy head branch name to clipboard
Commits
Commits on Jul 2, 2026
feat(dataset): support per-sample loss weights in TextClassificationDataset
Show description for 5eb584b
meilame-tayebjee
and
claude
committed
5eb584b
View commit details
Copy full SHA for 5eb584b
Browse repository at this point
feat(model): weight the loss per sample_weights during training
Show description for 471356d
meilame-tayebjee
and
claude
committed
471356d
View commit details
Copy full SHA for 471356d
Browse repository at this point
feat(torchTextClassifiers): expose sample_weights and val_sample_weights on train()
Show description for 06c1090
meilame-tayebjee
and
claude
committed
06c1090
View commit details
Copy full SHA for 06c1090
Browse repository at this point
test: cover sample_weights across dataset, lightning module, and wrapper
Show description for e120d77
meilame-tayebjee
and
claude
committed
e120d77
View commit details
Copy full SHA for e120d77
Browse repository at this point
docs: document sample_weights / val_sample_weights
Show description for 9967f69
meilame-tayebjee
and
claude
committed
9967f69
View commit details
Copy full SHA for 9967f69
Browse repository at this point
refactor(model): drop inspect-based loss detection for sample_weights
Show description for d99de60
meilame-tayebjee
and
claude
committed
d99de60
View commit details
Copy full SHA for d99de60
Browse repository at this point
You can’t perform that action at this time.