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
1,877
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
(137)
this model

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