Instructions to use victormuryn/mpnet-use-ubertext-no-pt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use victormuryn/mpnet-use-ubertext-no-pt with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("victormuryn/mpnet-use-ubertext-no-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/mpnet-use-ubertext-no-pt with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("victormuryn/mpnet-use-ubertext-no-pt") model = AutoModel.from_pretrained("victormuryn/mpnet-use-ubertext-no-pt") - Notebooks
- Google Colab
- Kaggle
mpnet-use-ubertext-no-pt
This model is a fine-tuned version of paraphrase-multilingual-mpnet-base-v2, trained on the Ukrainian text corpus UberText 2.0 without any data augmentation or 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, a large general-purpose Ukrainian text corpus, without any additional augmentation techniques. This makes it the most general variant in the collection and serves as a baseline for comparing the effect of augmentation strategies in other variants.
Collection Overview
| Model | Description |
|---|---|
| mpnet-use-ubertext-no-pt (this model) | Raw UberText 2.0, no augmentation, no pool targets |
| mpnet-use-combined-no-pt | Combined augmentation strategies, no pool targets |
| mpnet-use-markov-pt | Markov-based augmentation with pool targets |
Usage
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("victormuryn/mpnet-use-ubertext-no-pt")
sentences = [
"Проводжає сина мати захищати рідний край",
"Хоч би малесеньку хатину він мріяв мати над Дніпром",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
Training Details
- Base model: paraphrase-multilingual-mpnet-base-v2
- Training corpus: UberText 2.0
- Augmentation: None
- Pool targets: No
Citation
To be added
License
Apache 2.0
- Downloads last month
- 29