From 29506550813fbc5b52cd1d8cd0f1e43b50159bf0 Mon Sep 17 00:00:00 2001 From: Antoine Chaffin Date: Thu, 17 Oct 2024 15:16:46 +0000 Subject: [PATCH] Removing the example making tests fail --- pylate/model_card.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pylate/model_card.py b/pylate/model_card.py index b791ba3..d8f0ebb 100644 --- a/pylate/model_card.py +++ b/pylate/model_card.py @@ -285,19 +285,6 @@ class PylateModelCardData(SentenceTransformerModelCardData): Install `codecarbon `_ to automatically track carbon emission usage and include it in your model cards. - - Example:: - - >>> model = SentenceTransformer( - ... "microsoft/mpnet-base", - ... model_card_data=SentenceTransformerModelCardData( - ... model_id="tomaarsen/sbert-mpnet-base-allnli", - ... train_datasets=[{"name": "SNLI", "id": "stanfordnlp/snli"}, {"name": "MultiNLI", "id": "nyu-mll/multi_nli"}], - ... eval_datasets=[{"name": "SNLI", "id": "stanfordnlp/snli"}, {"name": "MultiNLI", "id": "nyu-mll/multi_nli"}], - ... license="apache-2.0", - ... language="en", - ... ), - ... ) """ # Potentially provided by the user