Быстрая модель BERT для русского языка с размером ембеддинга 256 и длиной контекста 512. Модель получена методом последовательной дистилляции моделей
sergeyzh/rubert-tiny-turbo
и
BAAI/bge-m3
. Выигрывает по скорости у
rubert-tiny-turbo
при аналогичном качестве на CPU в ~x1.4, на GPU в ~x1.2 раза.
Использование
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('sergeyzh/rubert-tiny-lite')
sentences = ["привет мир", "hello world", "здравствуй вселенная"]
embeddings = model.encode(sentences)
print(model.similarity(embeddings, embeddings))
rubert-tiny-lite huggingface.co is an AI model on huggingface.co that provides rubert-tiny-lite's model effect (), which can be used instantly with this sergeyzh rubert-tiny-lite model. huggingface.co supports a free trial of the rubert-tiny-lite model, and also provides paid use of the rubert-tiny-lite. Support call rubert-tiny-lite model through api, including Node.js, Python, http.
rubert-tiny-lite huggingface.co is an online trial and call api platform, which integrates rubert-tiny-lite's modeling effects, including api services, and provides a free online trial of rubert-tiny-lite, you can try rubert-tiny-lite online for free by clicking the link below.
sergeyzh rubert-tiny-lite online free url in huggingface.co:
rubert-tiny-lite is an open source model from GitHub that offers a free installation service, and any user can find rubert-tiny-lite on GitHub to install. At the same time, huggingface.co provides the effect of rubert-tiny-lite install, users can directly use rubert-tiny-lite installed effect in huggingface.co for debugging and trial. It also supports api for free installation.