michaelfeil's picture
Update README.md
31e3573 verified
|
raw
history blame
568 Bytes
metadata
pipeline_tag: sentence-similarity
license: apache-2.0
tags:
  - sentence-transformers
  - feature-extraction
  - sentence-similarity
  - transformers

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