How to use from the
Use from the
sentence-transformers library
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("NeuML/bert-tiny-sts-last-pooling")

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]

Model Card for BERT Tiny with last token pooling

This model is for testing last token pooling.

Downloads last month
621
Safetensors
Model size
4.39M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for NeuML/bert-tiny-sts-last-pooling

Finetuned
(119)
this model

Dataset used to train NeuML/bert-tiny-sts-last-pooling