Llama 2 7B Hf by meta-llama

 ยป  All LLMs  ยป  meta-llama  ยป  Llama 2 7B Hf   URL Share it on

  Arxiv:2307.09288   Autotrain compatible   En   Endpoints compatible   Facebook   Llama   Llama2   Meta   Pytorch   Region:us   Safetensors   Sharded   Tensorflow

Llama 2 7B Hf Benchmarks

Llama 2 7B Hf Parameters and Internals

Model Type 
Generative text
Use Cases 
Areas:
Commercial, Research
Applications:
Assistant-like chat
Primary Use Cases:
Natural language generation tasks
Limitations:
Use cases not covered extensively in languages other than English.
Considerations:
Developers should ensure the responsible use of models.
Additional Notes 
Tuned models optimized for dialogue. High carbon footprint during pretraining offset by Meta's sustainability program. Modeled potential relationships between text sequences to predict next items in sequences safely and effectively.
Supported Languages 
English (Primary language for intended use)
Training Details 
Data Sources:
Publicly available online data
Data Volume:
2 trillion tokens
Methodology:
Uses a mix of publicly available online data. Fine-tuned using Supervised Fine-Tuning (SFT) and Reinforcement Learning with Human Feedback (RLHF).
Context Length:
4000
Hardware Used:
A100-80GB (TDP of 350-400W)
Model Architecture:
Optimized transformer architecture
Responsible Ai Considerations 
Fairness:
Model may produce inaccurate, biased, or objectionable outputs.
Transparency:
Transparency measures are in place for users.
Accountability:
Developers should perform safety testing tailored to specific applications.
Mitigation Strategies:
Safety testing and tuning recommended by Meta before deployment.
Input Output 
Input Format:
Text only
Accepted Modalities:
Text
Output Format:
Text only
Performance Tips:
Specific formatting needs for chat versions, including the use of `INST` and `<>` tags, `BOS` and `EOS` tokens, and appropriate whitespace management.
LLM NameLlama 2 7B Hf
Repository ๐Ÿค—https://huggingface.co/meta-llama/Llama-2-7b-hf 
Model Size7b
Required VRAM13.5 GB
Updated2024-11-19
Maintainermeta-llama
Model Typellama
Model Files  10.0 GB: 1-of-2   3.5 GB: 2-of-2   10.0 GB: 1-of-2   3.5 GB: 2-of-2
Supported Languagesen
Model ArchitectureLlamaForCausalLM
Licensellama2
Context Length4096
Model Max Length4096
Transformers Version4.31.0.dev0
Tokenizer ClassLlamaTokenizer
Beginning of Sentence Token<s>
End of Sentence Token</s>
Unk Token<unk>
Vocabulary Size32000
Torch Data Typefloat16
Llama 2 7B Hf (meta-llama/Llama-2-7b-hf)

Quantized Models of the Llama 2 7B Hf

Model
Likes
Downloads
VRAM
Llama 2 7B GPTQ805373643 GB
Llama 2 7B GGUF178176102 GB
Llama 2 7B Hf Codealpaca 4bit1100 GB
Llama 2 7B AWQ169343 GB
Nb Sau 7B 8K Step100k11013 GB
Llama 2 7B GGML2182802 GB
Llama 2 Medical Consultation3410 GB

Best Alternatives to Llama 2 7B Hf

Best Alternatives
Context / RAM
Downloads
Likes
...1M 1000000ctx AEZAKMI 3 1 17021024K / 13.5 GB751
... Qwen2.5llamaify 7B V23.1 200K195K / 15.2 GB29240
Yarn Llama 2 7B 128K128K / 13.5 GB407738
LLaMA 7B PoSE YaRN 128K128K / 13.5 GB233
LLaMA 7B PoSE Linear 96K96K / 27 GB222
LLaMA 7B PoSE YaRN 96K96K / 13.5 GB181
Chat Llama2 7B 80K80K / 13.8 GB280
Llama2 7B 80K80K / 13.8 GB110
Lloma Step40064K / 13.5 GB730
Lloma Step20064K / 13.5 GB730
Note: green Score (e.g. "73.2") means that the model is better than meta-llama/Llama-2-7b-hf.

Rank the Llama 2 7B Hf Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 38100 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241110