Instructions to use johnt/bert_ft_sentence with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use johnt/bert_ft_sentence with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("johnt/bert_ft_sentence") 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] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 4f9bf0a054739b07e50cc041a140a0ac10c6610d85c28ba8a393f074ab20e8da
- Size of remote file:
- 90.9 MB
- SHA256:
- 1a2205ed8ebfddd6c43f4dde1e0fdeeaf70395351b27c20522555d56f5951f8b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.