Feature Extraction
sentence-transformers
PyTorch
ONNX
Safetensors
Transformers
English
bert
sentence-similarity
mteb
Eval Results (legacy)
text-embeddings-inference
Instructions to use Jenjamin3000/MNLP_M2_document_encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Jenjamin3000/MNLP_M2_document_encoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Jenjamin3000/MNLP_M2_document_encoder") 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 Jenjamin3000/MNLP_M2_document_encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Jenjamin3000/MNLP_M2_document_encoder")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Jenjamin3000/MNLP_M2_document_encoder") model = AutoModel.from_pretrained("Jenjamin3000/MNLP_M2_document_encoder") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d1900a5457a45990d5bfd2b6fe96e3b5b0e32f61dc6f114a320528d637882004
- Size of remote file:
- 1.34 GB
- SHA256:
- 45e1954914e29bd74080e6c1510165274ff5279421c89f76c418878732f64ae7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.