From f2ed765da1f1bcd1c0847fc762029b0c08adc489 Mon Sep 17 00:00:00 2001 From: Kashif Rasul Date: Thu, 20 Feb 2025 12:21:04 +0000 Subject: [PATCH] undo change --- trl/trainer/orpo_trainer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trl/trainer/orpo_trainer.py b/trl/trainer/orpo_trainer.py index f84d4fcbb7..dfc78fbee2 100644 --- a/trl/trainer/orpo_trainer.py +++ b/trl/trainer/orpo_trainer.py @@ -1129,10 +1129,10 @@ def create_model_card( Creates a draft of a model card using the information available to the `Trainer`. Args: - model_name (`str`, *optional*, defaults to `None`): - The name of the model. - dataset_name (`str`, *optional*, defaults to `None`): - The name of the dataset used for training. + model_name (`str` or `None`, *optional*, defaults to `None`): + Name of the model. + dataset_name (`str` or `None`, *optional*, defaults to `None`): + Name of the dataset used for training. tags (`str`, `list[str]` or `None`, *optional*, defaults to `None`): Tags to be associated with the model card. """