2f500b5
1
2
3
4
5
6
7
8
from sentence_transformers import SentenceTransformer model = SentenceTransformer('inkoziev/sbert_pq') def getvec(text: str): sentences = [text,] embeddings = model.encode(sentences) return embeddings[0]