README / README.md
Thibault Goehringer
Update README.md
1a62d3b
|
raw
history blame
3.29 kB

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")