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 (meta-llama/Llama-2-7b-hf)

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-12-21
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

Quantized Models of the Llama 2 7B Hf

Model
Likes
Downloads
VRAM
Llama 2 7B GPTQ80560113 GB
Llama 2 7B GGUF178151682 GB
Llama 2 7B AWQ16166593 GB
Llama 2 7B Hf Codealpaca 4bit100 GB
Nb Sau 7B 8K Step100k11913 GB
Llama 2 7B GGML2192572 GB
Llama 2 Medical Consultation3210 GB

Best Alternatives to Llama 2 7B Hf

Best Alternatives
Context / RAM
Downloads
Likes
...1M 1000000ctx AEZAKMI 3 1 17021024K / 13.5 GB861
... Qwen2.5llamaify 7B V23.1 200K195K / 15.2 GB29820
SuperNeuralDreadDevil 8B128K / 16.1 GB1871
Yarn Llama 2 7B 128K128K / 13.5 GB229640
LLaMA 7B PoSE YaRN 128K128K / 13.5 GB113
LLaMA 7B PoSE Linear 96K96K / 27 GB102
LLaMA 7B PoSE YaRN 96K96K / 13.5 GB111
Chat Llama2 7B 80K80K / 13.8 GB260
Llama2 7B 80K80K / 13.8 GB250
Lloma Step40064K / 13.5 GB800

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? 40013 in total.

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