Llama-2-7b-chat

Meta (United States) · Language (text)

🔓 Open weights (downloadable)⚖️ llama2

Which way is for me?

🌐 Online, right now

  1. Or try the free demo: huggingface-projects/llama-2-7b-chat

🧑‍💻 For developers

vLLM

vllm serve meta-llama/Llama-2-7b-chat

Transformers (Python)

from transformers import pipeline
pipe = pipeline("text-generation", model="meta-llama/Llama-2-7b-chat")
Words used here
GGUF
The file format LM Studio, Ollama and llama.cpp use to run a model.
Quantization (Q4, Q8)
Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
VRAM
The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
Context
The most text the model can see at once in a conversation (questions, answers and files).
Tokens per second
How fast the answer is written; 20 is about reading speed, 5 is slow.

Hardware and running it

Cloud Only through the maker's API or cloud services; it cannot run on your own hardware.

Links come from the vendor's official site and the model card the vendor published · Updated: