Downloads · 30 days
0
ghees/FatimeFellowship
FatimeFellowship is a machine learning model from ghees. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
0
Access
Public
Updated Mar 31, 2022
Repo size
156 KB
Likes
0
Public
Click a slice to open those files.
.pt156 KB · 99%
From the Hugging Face model README
Preprocessing before feeding to model
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('paraphrase-MiniLM-L6-v2', device='cuda')
...
embeddings = model.encode([text])
return embeddings[0]