Feature Extraction
Transformers
Safetensors
sentence-transformers
Russian
English
bert
sentence-similarity
SbertDistil
text-embeddings-inference
Run this model with HF Jobs
Run FractalGPT/SbertDistil 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/FractalGPT/SbertDistil. 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/FractalGPT/SbertDistil 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 FractalGPT/SbertDistil with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FractalGPT/SbertDistil with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="FractalGPT/SbertDistil")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("FractalGPT/SbertDistil") model = AutoModel.from_pretrained("FractalGPT/SbertDistil", device_map="auto") - sentence-transformers
How to use FractalGPT/SbertDistil with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("FractalGPT/SbertDistil") 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
Update README.md
Browse files17 unmodified lines1819202122233 unmodified lines27282930313217 unmodified lines# FractalGPT/SbertDistilThis is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search.This is a fast and small model for solving the problem of determining the proximity between sentences, in the future we will reduce and speed it up. [Project](https://github.com/FractalGPT/ModelEmbedderDistilation)3 unmodified linesUsing this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:```pip install -U sentence-transformers```17 unmodified lines181920212223243 unmodified lines28293031323334353617 unmodified lines# FractalGPT/SbertDistilThis is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search.This is a fast and small model for solving the problem of determining the proximity between sentences, in the future we will reduce and speed it up. [Project](https://github.com/FractalGPT/ModelEmbedderDistilation)3 unmodified linesUsing this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:* [Run example in Collab](https://colab.research.google.com/drive/1m3fyh632htPs9UiEu4_AkQfrUtjDqIQq)```pip install -U sentence-transformers```
README.md+4