Sentence Similarity
sentence-transformers
PyTorch
Safetensors
Transformers
Russian
bert
pretraining
russian
fill-mask
embeddings
masked-lm
tiny
feature-extraction
text-embeddings-inference
Instructions to use cointegrated/rubert-tiny2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use cointegrated/rubert-tiny2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("cointegrated/rubert-tiny2") 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 cointegrated/rubert-tiny2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("cointegrated/rubert-tiny2") model = AutoModelForPreTraining.from_pretrained("cointegrated/rubert-tiny2", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
add a vllm pointer
Verified signaturee8ed3b0
-
Update README.md
dad72b8 -
update the readme, pipeline tag
77a7ef3 -
update the readme
776805c -
add sentence-transformers config
2ce1adc
-
Adding `safetensors` variant of this model (#2)
- Adding `safetensors` variant of this model (aeef81b685b1d606efab3962b2b635a16bb03dd4) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>6b38fe0
-
Update README.md
a53f0af
-
Update README.md
5add408
-
Update tokenizer_config.json
4f35759
-
Update README.md
9588374 -
Train the model longer
74d70b9
-
Update README.md
38d8cf6 -
Update tokenizer_config.json
237f460 -
Create README.md
960d7f6 -
The first commit
0cb871a -
initial commit
77887cc