Sentence Similarity
sentence-transformers
Safetensors
clip
feature-extraction
Generated from Trainer
dataset_size:53
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
Instructions to use shawhin/clip-title-thumbnail-embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use shawhin/clip-title-thumbnail-embeddings with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("shawhin/clip-title-thumbnail-embeddings") sentences = [ "The Hugging Face Transformers Library | Example Code + Chatbot UI with Gradio", "Shit Happens, Stay Solution Oriented", "3 Ways to Make a Custom AI Assistant | RAG, Tools, & Fine-tuning", "How to Manage Data Science Projects" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": { | |
| "content": "<|startoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |