Instructions to use ikawrakow/llama-v2-2bit-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ikawrakow/llama-v2-2bit-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ikawrakow/llama-v2-2bit-gguf # Run inference directly in the terminal: llama cli -hf ikawrakow/llama-v2-2bit-gguf
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ikawrakow/llama-v2-2bit-gguf # Run inference directly in the terminal: llama cli -hf ikawrakow/llama-v2-2bit-gguf
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ikawrakow/llama-v2-2bit-gguf # Run inference directly in the terminal: ./llama-cli -hf ikawrakow/llama-v2-2bit-gguf
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ikawrakow/llama-v2-2bit-gguf # Run inference directly in the terminal: ./build/bin/llama-cli -hf ikawrakow/llama-v2-2bit-gguf
Use Docker
docker model run hf.co/ikawrakow/llama-v2-2bit-gguf
- LM Studio
- Jan
- Ollama
How to use ikawrakow/llama-v2-2bit-gguf with Ollama:
ollama run hf.co/ikawrakow/llama-v2-2bit-gguf
- Unsloth Desktop
- Docker Model Runner
How to use ikawrakow/llama-v2-2bit-gguf with Docker Model Runner:
docker model run hf.co/ikawrakow/llama-v2-2bit-gguf
- Lemonade
How to use ikawrakow/llama-v2-2bit-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ikawrakow/llama-v2-2bit-gguf
Run and chat with the model
lemonade run user.llama-v2-2bit-gguf-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
This repository contains 2-bit quantized LLaMA-v2 models in GGUF format for use with llama.cpp.
All tensors are quantized with Q2_K, except for output.weight, which is Q6_K, and, in the case of LLaMA-v2-70B, attn_v, which is Q4_K.
The quantized models differ from the standard llama.cpp 2-bit quantization in two ways:
- These are actual 2-bit quantized models instead of the mostly 3-bit quantization provided by the standard
llama.cppQ2_Kquantization method - The models were prepared with a refined (but not yet published) k-quants quantization approach
- Downloads last month
- 134
Hardware compatibility
Log In to add your hardware
We're not able to determine the quantization variants.
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support