Instructions to use sentence-transformers/gtr-t5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sentence-transformers/gtr-t5-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sentence-transformers/gtr-t5-base") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Remove deprecated (SEB) evaluation results section
Verified signature9801579
-
Adding `safetensors` variant of this model (#4)
Verified signature- Adding `safetensors` variant of this model (d7883f9a010f63c60becdf76681f65c2b65071b5) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>7027e95
-
fix: typo in word semantic fixed (#3)
Verified signature- fix: typo in word semantic fixed (416c9c7f62dc9a36c4c8f896a55360d0b4ce0080) Co-authored-by: Sergey Valyushitskiy <valyushitskiy@users.noreply.huggingface.co>1c72994
-
Update metadata manually
Verified signature7ac67cc
-
add convert files
967b085 -
update
2113e9d -
update
6c6988e -
upload
8e6e372 -
initial commit
889eb57