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
      • Hardware
      • 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-Sheared-LLaMA-mntp

Sentence Similarity
Transformers
Safetensors
English
llama
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-Sheared-LLaMA-mntp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use McGill-NLP/LLM2Vec-Sheared-LLaMA-mntp with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("McGill-NLP/LLM2Vec-Sheared-LLaMA-mntp", trust_remote_code=True)
    model = AutoModel.from_pretrained("McGill-NLP/LLM2Vec-Sheared-LLaMA-mntp", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
LLM2Vec-Sheared-LLaMA-mntp
32.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
vaibhavad's picture
vaibhavad
Update attn_mask_utils.py
eb4ee4c verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    3.27 kB
    Update README.md over 2 years ago
  • adapter_config.json
    791 Bytes
    Upload model over 2 years ago
  • adapter_model.safetensors
    30 MB
    xet
    Upload model over 2 years ago
  • attn_mask_utils.py
    11.1 kB
    Update attn_mask_utils.py about 2 years ago
  • config.json
    753 Bytes
    Update config.json over 2 years ago
  • modeling_llama_encoder.py
    8.21 kB
    Create modeling_llama_encoder.py over 2 years ago
  • special_tokens_map.json
    434 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer.json
    1.84 MB
    Upload tokenizer over 2 years ago
  • tokenizer.model
    500 kB
    xet
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    871 Bytes
    Upload tokenizer over 2 years ago