SentenceTransformer based on colbert-ir/colbertv2.0
This is a
sentence-transformers
model finetuned from
colbert-ir/colbertv2.0
. It maps sentences & paragraphs to a 128-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
sentences = [
'The weather is lovely today.',
"It's so sunny outside!",
'He drove to the stadium.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 128]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Training Details
Framework Versions
Python: 3.12.4
Sentence Transformers: 3.0.1
Transformers: 4.45.0.dev0
PyTorch: 2.4.0+cu121
Accelerate: 0.33.0
Datasets: 2.20.0
Tokenizers: 0.19.1
Citation
BibTeX
Runs of lightonai colbertv2.0 on huggingface.co
3.0K
Total runs
0
24-hour runs
-175
3-day runs
-542
7-day runs
786
30-day runs
More Information About colbertv2.0 huggingface.co Model
colbertv2.0 huggingface.co is an AI model on huggingface.co that provides colbertv2.0's model effect (), which can be used instantly with this lightonai colbertv2.0 model. huggingface.co supports a free trial of the colbertv2.0 model, and also provides paid use of the colbertv2.0. Support call colbertv2.0 model through api, including Node.js, Python, http.
colbertv2.0 huggingface.co is an online trial and call api platform, which integrates colbertv2.0's modeling effects, including api services, and provides a free online trial of colbertv2.0, you can try colbertv2.0 online for free by clicking the link below.
lightonai colbertv2.0 online free url in huggingface.co:
colbertv2.0 is an open source model from GitHub that offers a free installation service, and any user can find colbertv2.0 on GitHub to install. At the same time, huggingface.co provides the effect of colbertv2.0 install, users can directly use colbertv2.0 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.