Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:5000
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use ds7619tz/fine-tuned-dataset with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ds7619tz/fine-tuned-dataset with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ds7619tz/fine-tuned-dataset") sentences = [ "What is the id and name of the browser that is compatible with the most web accelerators?", "CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR)", "CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR)", "CREATE TABLE STUDENT (Major VARCHAR)" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K