transformers
86fdf159
- Drop None-valued keys from messages in `apply_chat_template` (#45422)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 days ago
Drop None-valued keys from messages in `apply_chat_template` (#45422) * Drop `content=None` from messages in `apply_chat_template` * fix * style * Drop every message key whose value is None, not only content
References
#45422 - :rotating_light: Drop None-valued keys from messages in `apply_chat_template`
Author
qgallouedec
Parents
147e66b3
Loading