Sentence Similarity
sentence-transformers
Safetensors
Transformers
xlm-roberta
feature-extraction
text-embeddings-inference
Run this model with HF Jobs
Run victormuryn/use-dropout-pt 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/victormuryn/use-dropout-pt. 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/victormuryn/use-dropout-pt 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 victormuryn/use-dropout-pt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use victormuryn/use-dropout-pt with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("victormuryn/use-dropout-pt") 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] - Transformers
How to use victormuryn/use-dropout-pt with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("victormuryn/use-dropout-pt") model = AutoModel.from_pretrained("victormuryn/use-dropout-pt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
use-dropout-pt
This model is a fine-tuned version of paraphrase-multilingual-mpnet-base-v2, trained on the Ukrainian text corpus UberText 2.0 with dropout augmentation with pool targets. It is part of the Ukrainian Sentence Embeddings collection, which explores the effect of different training strategies on sentence embedding quality for Ukrainian.
Model Description
The model was fine-tuned using a contrastive objective on UberText 2.0, dropout augmentation.
Collection Overview
| Model | Description |
|---|---|
| use-natural-no-pt | Raw UberText 2.0, no augmentation, no pool targets |
| use-natural-pt | Raw UberText 2.0, no augmentation, pool targets |
| use-generated-no-pt | Generated augmentation, no pool targets |
| use-generated-pt | Generated augmentation, pool targets |
| use-translation-no-pt | Back-translation augmentation, no pool targets |
| use-translation-pt | Back-translation augmentation, pool targets |
| use-mask-no-pt | Masking augmentation, no pool targets |
| use-mask-pt | Masking augmentation, pool targets |
| use-dropout-no-pt | Dropout augmentation, no pool targets |
| use-dropout-pt | Dropout augmentation, pool targets |
| use-token-shuffle-no-pt | Token-shuffling augmentation, no pool targets |
| use-token-shuffle-pt | Token-shuffling augmentation, pool targets |
| use-combined-no-pt | Combined augmentation strategies, no pool targets |
| use-combined-pt | Combined augmentation strategies, pool targets |
| use-stochastic-no-pt | Markov-based stochastic augmentation, no pool targets |
| use-stochastic-pt | Markov-based stochastic augmentation, pool targets |
Usage
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("victormuryn/use-dropout-pt")
sentences = [
"Проводжає сина мати захищати рідний край",
"Хоч би малесеньку хатину він мріяв мати над Дніпром",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
Training Details
- Base model: paraphrase-multilingual-mpnet-base-v2
- Training corpus: UberText 2.0
- Augmentation: Dropout
- Pool targets: Yes
Citation
To be added
License
Apache 2.0
- Downloads last month
- 19
Model tree for victormuryn/use-dropout-pt
Dataset used to train victormuryn/use-dropout-pt
Viewer • Updated • 6.82M • 95