Feature Extraction
sentence-transformers
PyTorch
ONNX
Safetensors
Transformers
English
bert
sentence-similarity
mteb
Eval Results (legacy)
text-embeddings-inference
Instructions to use adamezzaim/MNLP_M3_document_encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use adamezzaim/MNLP_M3_document_encoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("adamezzaim/MNLP_M3_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 adamezzaim/MNLP_M3_document_encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="adamezzaim/MNLP_M3_document_encoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("adamezzaim/MNLP_M3_document_encoder") model = AutoModel.from_pretrained("adamezzaim/MNLP_M3_document_encoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from adamezzaim/MNLP_M3_document_encoder: direct link, hf CLI and curl.
- Browser
- Download file 1.34 GB
-
https://huggingface.co/adamezzaim/MNLP_M3_document_encoder/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://adamezzaim/MNLP_M3_document_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/adamezzaim/MNLP_M3_document_encoder/resolve/main/pytorch_model.bin
1.34 GB
- Xet hash:
- de6107fcbde14c7512f174d3a2a1ad5a1134f927865a7c1f266b31752e998480
- Size of remote file:
- 1.34 GB
- SHA256:
- 51e14ed95fb897ba8eee3c6d9b5fb4323229a897caaf34053c1b7639b31c1ac4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.