README / README.md
julien-c's picture
julien-c HF Staff
sdk: static
b9e8c5a
|
raw
history blame
3.23 kB
metadata
title: README
emoji: ❤️
colorFrom: red
colorTo: red
sdk: static
pinned: false

Hugging Face makes it easy to collaboratively build and showcase your Sentence Transformers models! You can collaborate with your organization, upload and showcase your own models in your profile ❤️

Documentation
Push your Sentence Transformers models to the Hub ❤️
Find all Sentence Transformers models on the 🤗 Hub

To upload your Sentence Transformers models to the 🤗 Hub use the save_to_hub function within the Sentence Transformers library.

!pip install -U sentence-transformers
!huggingface-cli login
from sentence_transformers import save_to_hub
save_to_hub(repo_name = 'cool_new_model')
    

To load Sentence Transformers models from the 🤗 Hub use the SentenceTransformer class.

!pip install -U sentence-transformers
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("your-username/your-awesome-model")