transformers
Fix Florence2 training-loss double-shift (same pattern as Moonshine #…
#46898
Merged

Fix Florence2 training-loss double-shift (same pattern as Moonshine #… #46898

sharmax-vikas
sharmax-vikas Fix Florence2 training-loss double-shift (same pattern as Moonshine #…
ff496654
sharmax-vikas Fix import sort order for ruff I001
78fe6a03
sharmax-vikas Merge branch 'main' into fix/florence2-double-shift-loss
1fd366c4
zucchini-nlp
zucchini-nlp commented on 2026-06-26
sharmax-vikas Use shift_labels parameter instead of CrossEntropyLoss (per reviewer …
334b0617
sharmax-vikas Merge branch 'fix/florence2-double-shift-loss' of https://github.com/…
02721394
sharmax-vikas Fix ruff formatting (one param per line)
f2a7bf86
sharmax-vikas Merge branch 'main' into fix/florence2-double-shift-loss
71e70687
sharmax-vikas Use do_shift_labels flag: only skip shift when shift_tokens_right() w…
a6e379c4
sharmax-vikas Merge branch 'fix/florence2-double-shift-loss' of https://github.com/…
d83d5b2d
sharmax-vikas Merge branch 'main' into fix/florence2-double-shift-loss
7d5e0992
zucchini-nlp
zucchini-nlp commented on 2026-06-29
HuggingFaceDocBuilderDev
sharmax-vikas Simplify: always pass shift_labels=labels (per reviewer feedback)
35bb7381
github-actions
zucchini-nlp
zucchini-nlp approved these changes on 2026-06-29
zucchini-nlp zucchini-nlp enabled auto-merge 5 days ago
zucchini-nlp zucchini-nlp merged 2370ba6e into main 5 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone