Sentence Similarity
sentence-transformers
Safetensors
Transformers
bert
feature-extraction
text-embeddings-inference
Run this model with HF Jobs
Run codegood/KatzBot_MiniLLM_ST 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/codegood/KatzBot_MiniLLM_ST. 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/codegood/KatzBot_MiniLLM_ST 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 codegood/KatzBot_MiniLLM_ST with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use codegood/KatzBot_MiniLLM_ST with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("codegood/KatzBot_MiniLLM_ST") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use codegood/KatzBot_MiniLLM_ST with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("codegood/KatzBot_MiniLLM_ST") model = AutoModel.from_pretrained("codegood/KatzBot_MiniLLM_ST", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add new SentenceTransformer model.
Browse filesFiles changed (2)
- README.md+3-3
- model.safetensors+1-1
86 unmodified lines87888990909192935 unmodified lines991001011021021031041053 unmodified lines10911011111211211311411586 unmodified lines
**DataLoader**:
`torch.utils.data.dataloader.DataLoader` of length 211 with parameters:`torch.utils.data.dataloader.DataLoader` of length 423 with parameters:```{'batch_size': 16, 'sampler': 'torch.utils.data.sampler.RandomSampler', 'batch_sampler': 'torch.utils.data.sampler.BatchSampler'}```5 unmodified linesParameters of the fit()-Method:```{ "epochs": 60, "epochs": 200, "evaluation_steps": 0, "evaluator": "NoneType", "max_grad_norm": 1,3 unmodified lines }, "scheduler": "WarmupLinear", "steps_per_epoch": null, "warmup_steps": 1899, "warmup_steps": 12690, "weight_decay": 0.01}```1223version https://git-lfs.github.com/spec/v1oid sha256:20fa9691e2216e52e38471165cf2978f7cc189951b864ca8ef466804b292174boid sha256:e11df15f57619ee5c8bf01cb760b595ca3ddc5e630b3268e9765e8cf13b0580asize 90864192README.md+3-3
model.safetensors+1-1