How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf 3Simplex/Meta-Llama-3.1-8B-Instruct-gguf:
# Run inference directly in the terminal:
llama-cli -hf 3Simplex/Meta-Llama-3.1-8B-Instruct-gguf:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf 3Simplex/Meta-Llama-3.1-8B-Instruct-gguf:
# Run inference directly in the terminal:
llama-cli -hf 3Simplex/Meta-Llama-3.1-8B-Instruct-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 3Simplex/Meta-Llama-3.1-8B-Instruct-gguf:
# Run inference directly in the terminal:
./llama-cli -hf 3Simplex/Meta-Llama-3.1-8B-Instruct-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 3Simplex/Meta-Llama-3.1-8B-Instruct-gguf:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf 3Simplex/Meta-Llama-3.1-8B-Instruct-gguf:
Use Docker
docker model run hf.co/3Simplex/Meta-Llama-3.1-8B-Instruct-gguf:
Quick Links

At the time of this release, llama.cpp did not support the rope scaling required for full context (limit is 8192). Soon this will be updated for full 128K functionality.
Depriciated models still listed do not have 128k mark.

The new release of llama.cpp and transformers have been applied and the gguf was tested.
Meta-Llama-3.1-8B-Instruct-128k
You will need to update llama.cpp and transformers to use the full context.

image/png

Prompt Template

<|start_header_id|>system<|end_header_id|>

{system_prompt}<|eot_id|>
<|start_header_id|>user<|end_header_id|>

{user_input}<|eot_id|><|start_header_id|>assistant<|end_header_id|>

{assistant_response}

128k Context Length

"llama.context_length": 131072

Downloads last month
70
GGUF
Model size
8B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for 3Simplex/Meta-Llama-3.1-8B-Instruct-gguf

Quantized
(635)
this model