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

model = SentenceTransformer("WiseIntelligence/static-bge-code-v1-st")

sentences = [
    "The weather is lovely today.",
    "It's so sunny outside!",
    "He drove to the stadium."
]
embeddings = model.encode(sentences)

similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
from model2vec import StaticModel

# Load a pretrained Model2Vec model
model = StaticModel.from_pretrained("WiseIntelligence/static-bge-code-v1-st")

# Compute text embeddings
embeddings = model.encode(["Example sentence"])
Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for WiseIntelligence/static-bge-code-v1-st

Base model

BAAI/bge-code-v1
Finetuned
(3)
this model