Sentence Similarity
sentence-transformers
PyTorch
Transformers
English
bert
fill-mask
feature-extraction
domain-specific
text-embeddings-inference
Run this model with HF Jobs
Run jkswin/YGO_MiniLM 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/jkswin/YGO_MiniLM. 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/jkswin/YGO_MiniLM 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 jkswin/YGO_MiniLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use jkswin/YGO_MiniLM with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("jkswin/YGO_MiniLM") 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 jkswin/YGO_MiniLM with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("jkswin/YGO_MiniLM") model = AutoModelForMaskedLM.from_pretrained("jkswin/YGO_MiniLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
[DOCS] Remove mask examples in favor of sentence sim task
Browse files7 unmodified lines8910111213141516171819207 unmodified lines- sentence-similarity- transformers- domain-specificwidget:- text: Marshmallon should be [MASK]. It allows a 1 card FTK.example_title: Banlist Speculation- text: 'Once per [MASK]: You can toss a coin and call it.'example_title: Time Wizard- text: You [MASK] so hard on turn 2.example_title: Misplaylibrary_name: sentence-transformers---7 unmodified lines89101112137 unmodified lines- sentence-similarity- transformers- domain-specificlibrary_name: sentence-transformers---
README.md-7