Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

McGill-NLP
/
LLM2Vec-Mistral-7B-Instruct-v2-mntp

Sentence Similarity
Transformers
Safetensors
English
mistral
feature-extraction
text-embedding
embeddings
information-retrieval
beir
text-classification
language-model
text-clustering
text-semantic-similarity
text-evaluation
text-reranking
Sentence Similarity
natural_questions
ms_marco
fever
hotpot_qa
mteb
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use McGill-NLP/LLM2Vec-Mistral-7B-Instruct-v2-mntp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use McGill-NLP/LLM2Vec-Mistral-7B-Instruct-v2-mntp with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("McGill-NLP/LLM2Vec-Mistral-7B-Instruct-v2-mntp", trust_remote_code=True)
    model = AutoModel.from_pretrained("McGill-NLP/LLM2Vec-Mistral-7B-Instruct-v2-mntp", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
LLM2Vec-Mistral-7B-Instruct-v2-mntp
86.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 21 commits
vaibhavad's picture
vaibhavad
Update attn_mask_utils.py
e76f975 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    3.31 kB
    Update README.md about 2 years ago
  • adapter_config.json
    799 Bytes
    Upload model about 2 years ago
  • adapter_model.safetensors
    83.9 MB
    xet
    Upload model about 2 years ago
  • attn_mask_utils.py
    11.1 kB
    Update attn_mask_utils.py about 2 years ago
  • config.json
    786 Bytes
    Update config.json about 2 years ago
  • modeling_mistral_encoder.py
    8.68 kB
    Update modeling_mistral_encoder.py about 2 years ago
  • special_tokens_map.json
    437 Bytes
    Upload tokenizer about 2 years ago
  • tokenizer.json
    1.8 MB
    Upload tokenizer about 2 years ago
  • tokenizer.model
    493 kB
    xet
    Upload tokenizer about 2 years ago
  • tokenizer_config.json
    1.46 kB
    Upload tokenizer about 2 years ago