Llama 2 7B Hf by NousResearch

 ยป  All LLMs  ยป  NousResearch  ยป  Llama 2 7B Hf   URL Share it on

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

Llama 2 7B Hf Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
Llama 2 7B Hf (NousResearch/Llama-2-7b-hf)

Llama 2 7B Hf Parameters and Internals

Model Type 
generative, text
Use Cases 
Primary Use Cases:
dialogue, natural language generation
Limitations:
testing conducted in English only, potential inaccurate or biased responses
Considerations:
Perform safety testing and tuning tailored to applications of the model.
Training Details 
Data Sources:
publicly available online data
Data Volume:
2 trillion tokens
Methodology:
auto-regressive language model
Hardware Used:
Meta's Research Super Cluster, A100-80GB GPUs
Model Architecture:
transformer architecture, supervised fine-tuning, reinforcement learning with human feedback
Input Output 
Input Format:
text
Accepted Modalities:
text
Output Format:
text
Performance Tips:
Follow specific formatting, including INST, <>, BOS, EOS for chat versions.
LLM NameLlama 2 7B Hf
Repository ๐Ÿค—https://huggingface.co/NousResearch/Llama-2-7b-hf 
Model Size7b
Required VRAM13.5 GB
Updated2025-02-22
MaintainerNousResearch
Model Typellama
Model Files  10.0 GB: 1-of-2   3.5 GB: 2-of-2   9.9 GB: 1-of-3   9.9 GB: 2-of-3   7.2 GB: 3-of-3
Supported Languagesen
Model ArchitectureLlamaForCausalLM
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

Best Alternatives to Llama 2 7B Hf

Best Alternatives
Context / RAM
Downloads
Likes
2 Very Sci Fi1024K / 16.1 GB3170
...1M 1000000ctx AEZAKMI 3 1 17021024K / 13.5 GB231
... Qwen2.5llamaify 7B V23.1 200K195K / 15.2 GB39433
LlamaStock 8B128K / 16.1 GB111
SuperNeuralDreadDevil 8B128K / 16.1 GB541
Yarn Llama 2 7B 128K128K / 13.5 GB642239
LLaMA 7B PoSE YaRN 128K128K / 13.5 GB73
LLaMA 7B PoSE Linear 96K96K / 27 GB92
LLaMA 7B PoSE YaRN 96K96K / 13.5 GB111
Chat Llama2 7B 80K80K / 13.8 GB80
Note: green Score (e.g. "73.2") means that the model is better than NousResearch/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? 43470 in total.

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