Skip to content

Commit

Permalink
Removing the example making tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
NohTow committed Oct 17, 2024
1 parent a855677 commit 2950655
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions pylate/model_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,19 +285,6 @@ class PylateModelCardData(SentenceTransformerModelCardData):
Install `codecarbon <https://github.com/mlco2/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
Expand Down

0 comments on commit 2950655

Please sign in to comment.