Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:5489
loss:TripletLoss
text-embeddings-inference
Run this model with HF Jobs
Run KayaAI/finetuned_embedding_v2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/KayaAI/finetuned_embedding_v2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/KayaAI/finetuned_embedding_v2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use KayaAI/finetuned_embedding_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use KayaAI/finetuned_embedding_v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("KayaAI/finetuned_embedding_v2") sentences = [ "07 42 33 Plastic Wall Panels", "03 31 00 Structural Concrete", "05 53 13 Bar Gratings", "07 42 43 Composite Wall Panels" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 296 Bytes
aba028a | 1 2 3 4 5 6 7 8 9 10 | {
"word_embedding_dimension": 768,
"pooling_mode_cls_token": false,
"pooling_mode_mean_tokens": true,
"pooling_mode_max_tokens": false,
"pooling_mode_mean_sqrt_len_tokens": false,
"pooling_mode_weightedmean_tokens": false,
"pooling_mode_lasttoken": false,
"include_prompt": true
} |