Example script errors on Python 3.12
#1
by
isaacchung
- opened
Hi! I'm trying to use the model using the example script on README, with
- python3.12
- torch==2.5.1
- torchvision==0.20.1
- sentence-transformers==3.3.1
Example:
from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]
model = SentenceTransformer('consciousAI/cai-stellaris-text-embeddings')
embeddings = model.encode(sentences)
print(embeddings)
Here is the same error I got: https://github.com/embeddings-benchmark/mteb/issues/1660#issue-2764848417