def save(self, output_dir: str, generate_card: bool = True) -> None:
        """
        Saves the model to the specified path and optionally generates a `ModelCard` at the same `output_dir`.

        Args:
            output_dir: The path to the directory where the model will be saved.
            generate_card: Whether to generate a model card of the `ArgillaTrainer` for the HuggingFace Hub. Defaults
                to `True`.
        """
        super().save(output_dir)

        if generate_card:
            self.generate_model_card(output_dir)

        Saves the model to the specified path and optionally generates a `ModelCard` at the same `output_dir`.

        Args:
            output_dir: The path to the directory where the model will be saved.
            generate_card: Whether to generate a model card of the `ArgillaTrainer` for the HuggingFace Hub. Defaults
                to `True`.
        
argilla-v1/src/argilla_v1/client/feedback/training/base.py