README / README.md
espejelomar's picture
Update README.md
7dde1ca
|
raw
history blame
5.09 kB
metadata
title: README
emoji: ❤️
colorFrom: red
colorTo: red
sdk: static
pinned: false

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

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