Llama-2-7B is a foundational large language model developed by Meta as part of the Llama 2 family, designed for general-purpose text generation tasks. It is a 7 billion parameter auto-regressive transformer trained on 2 trillion tokens from publicly available sources, using an optimized architecture without Grouped-Query Attention (GQA). This model is the pretrained version, intended for research and commercial use in English, and can be adapted for downstream applications such as summarization, question answering, and code generation. Llama-2-7B outputs text only, with input also restricted to text. Fine-tuned variants of this model, such as Llama-2-Chat, demonstrate competitive performance in dialogue tasks and safety benchmarks, rivaling proprietary models. The model was trained using Meta’s infrastructure, including 184,320 GPU hours and emissions fully offset by Meta’s sustainability program.

Features

  • 7 billion parameter transformer architecture
  • Trained on 2 trillion tokens from public online data
  • Outputs text only for general-purpose generation
  • Compatible with Hugging Face Transformers format
  • Designed for commercial and research use in English
  • High benchmark performance in reasoning and comprehension
  • Fine-tuning supported for specialized tasks
  • Released under the Llama 2 Community License by Meta

Project Samples

Project Activity

See All Activity >

Categories

AI Models

Follow Llama-2-7b-hf

Llama-2-7b-hf Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Llama-2-7b-hf!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Models

Registered

2025-06-27