How to use Youssefbou62/MNLP_M3_document_encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Youssefbou62/MNLP_M3_document_encoder")
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Youssefbou62/MNLP_M3_document_encoder") model = AutoModel.from_pretrained("Youssefbou62/MNLP_M3_document_encoder")
The community tab is the place to discuss and collaborate with the HF community!