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
fix: support tensor labels in DataCollatorWithFlattening
- Add tensor to list conversion in DataCollatorWithFlattening
- Convert input_ids and labels to list if they are tensors
- Add tests for both tensor and list labels
- Fixes#42599
0 commit comments