Skip to content

Commit

Permalink
update pipeline unit test model to a tiny one
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanbo Liu committed Mar 7, 2024
1 parent bef23e6 commit 483a2d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtimes/huggingface/tests/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@


def test_sentence_transformers_pipeline():
pretrained_model = "sentence-transformers/all-distilroberta-v1"
# A tiny sentence transformers model for testing, which only takes 17.6MB of memory
pretrained_model = "sentence-transformers-testing/stsb-bert-tiny-safetensors"
st_embeder = SentenceTransformer(pretrained_model)

hf_settings = HuggingFaceSettings(
Expand Down

0 comments on commit 483a2d6

Please sign in to comment.