Sentence Similarity
Transformers
Safetensors
English
llama
image-feature-extraction
text-embedding
embeddings
information-retrieval
beir
text-classification
language-model
text-clustering
text-semantic-similarity
text-evaluation
text-reranking
feature-extraction
Sentence Similarity
natural_questions
ms_marco
fever
hotpot_qa
mteb
custom_code
text-embeddings-inference
Instructions to use 6Morpheus6/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 6Morpheus6/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("6Morpheus6/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp", trust_remote_code=True) model = AutoModel.from_pretrained("6Morpheus6/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_or_path": "NousResearch/Meta-Llama-3-8B-Instruct", | |
| "architectures": [ | |
| "LlamaEncoderModel" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0, | |
| "auto_map": { | |
| "AutoModel": "McGill-NLP/LLM2Vec-Meta-Llama-3-8B-Instruct-mntp--modeling_llama_encoder.LlamaEncoderModel" | |
| }, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 8192, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 0.00001, | |
| "rope_scaling": null, | |
| "rope_theta": 500000, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.40.0.dev0", | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } |