How to use from the
Use from the
Model2Vec library
from model2vec import StaticModel

model = StaticModel.from_pretrained("dominguesm/CodeRankEmbed-Model2Vec")

embeddings = model.encode(["It's dangerous to go alone!", "It's a secret to everybody."])
print(embeddings.shape)

WIP

Downloads last month
13
Safetensors
Model size
16M params
Tensor type
I64
路
F64
路
F32
路
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support