md896's picture
Fix TRL 0.18 compatibility: remove unsupported generation_kwargs; set safety flags on model.generation_config.
6083a40