transformers
Clarify that causal LM labels are shifted internally
#44642
Merged

Clarify that causal LM labels are shifted internally #44642

Rocketknight1 merged 2 commits into huggingface:main from fix/causal-lm-labels-docstring
joshuaswanson
github-actions
ArthurZucker ArthurZucker requested a review from Rocketknight1 Rocketknight1 24 days ago
Rocketknight1
joshuaswanson Document label shifting for ForCausalLM models via ModelForArgs
0d62723d
joshuaswanson joshuaswanson force pushed from 1cb1e5d2 to 0d62723d 7 days ago
github-actions
joshuaswanson
Rocketknight1
joshuaswanson Mention shift_labels in ForCausalLM labels docstring
9f97bdf4
github-actions
Rocketknight1
Rocketknight1 approved these changes on 2026-11-10
Rocketknight1 Rocketknight1 enabled auto-merge 3 days ago
HuggingFaceDocBuilderDev
Rocketknight1 Rocketknight1 merged 6488cabb into main 3 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone