Instructions to use CoDiEmb/CoDi-MiniCPM_sentence_transformers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use CoDiEmb/CoDi-MiniCPM_sentence_transformers with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("CoDiEmb/CoDi-MiniCPM_sentence_transformers", trust_remote_code=True) 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] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- a03eac1c5cec56ddeed568992f4a70a6120336d6cff09142e9d717122a4a391e
- Size of remote file:
- 1.99 MB
- SHA256:
- c9aafcd7da1f5611dab6be545db74d5552a2ccc9c2a12c72ea7be63aac4a25d7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.