Instructions to use atasoglu/turkish-e5-large-m2v with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use atasoglu/turkish-e5-large-m2v with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("atasoglu/turkish-e5-large-m2v") - sentence-transformers
How to use atasoglu/turkish-e5-large-m2v with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("atasoglu/turkish-e5-large-m2v") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
distill params
#1
by selimc - opened
Hello, did you use default parameters while distilling (pca_dims=256, sif_coefficient=1e-4) or did you use something else? I wasn't able to get similarity values that are close to your model when I did a distillation myself. Thanks!