this model is derrived from
from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]
model = SentenceTransformer('sentence-transformers/stsb-roberta-base-v2')
embeddings = model.encode(sentences)
print(embeddings)
You need to have ibm-fms installed:
https://github.com/foundation-model-stack/foundation-model-stack/issues/169
- Downloads last month
- 3
Inference API (serverless) does not yet support model repos that contain custom code.