def save(self, output_dir: str) -> None:
        """Save the trained pipeline to disk.

        Args:
            output_dir: A `str` with the path to save the pipeline.
        """
        output_dir = Path(output_dir) if isinstance(output_dir, str) else output_dir
        if output_dir and not output_dir.exists():
            output_dir.mkdir(parents=True)
        self.trainer_model.to_disk(output_dir)
Save the trained pipeline to disk.

        Args:
            output_dir: A `str` with the path to save the pipeline.
        
argilla-v1/src/argilla_v1/training/spacy.py