How to use from
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 cstr/llama3.1-8b-spaetzle-v59-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf cstr/llama3.1-8b-spaetzle-v59-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf cstr/llama3.1-8b-spaetzle-v59-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf cstr/llama3.1-8b-spaetzle-v59-GGUF:Q4_K_M
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 cstr/llama3.1-8b-spaetzle-v59-GGUF:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf cstr/llama3.1-8b-spaetzle-v59-GGUF:Q4_K_M
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 cstr/llama3.1-8b-spaetzle-v59-GGUF:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf cstr/llama3.1-8b-spaetzle-v59-GGUF:Q4_K_M
Use Docker
docker model run hf.co/cstr/llama3.1-8b-spaetzle-v59-GGUF:Q4_K_M
Quick Links

llama3.1-8b-spaetzle-v59

llama3.1-8b-spaetzle-v59 is a dare ties merge of the models

The GGUF is simply built with b3472 llama.cpp.

EQ-Bench v2_de: 67.38 (171/171) (which is not bad...)

🧩 Configuration

models:
  - model: Dampfinchen/Llama-3.1-8B-Ultra-Instruct
    # no parameters necessary for base model
  - model: Undi95/Meta-Llama-3.1-8B-Claude
    parameters:
      density: 0.65
      weight: 0.4
merge_method: dare_ties
base_model: Dampfinchen/Llama-3.1-8B-Ultra-Instruct
parameters:
  int8_mask: true
dtype: bfloat16
random_seed: 0
tokenizer_source: base

πŸ’» Usage

!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "cstr/llama3.1-8b-spaetzle-v59"
messages = [{"role": "user", "content": "What is a large language model?"}]

tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    torch_dtype=torch.float16,
    device_map="auto",
)

outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])

Provenance and EU AI Act Art. 53 note

  • Base model: cstr/llama3.1-8b-spaetzle-v59 β€” a mergekit merge published by the same maintainer as this repository. It is not a third-party upstream: the maintainer authored that model.
  • What was done here: format conversion and/or quantisation of that base model only (GGUF). No further training, fine-tuning or merging was applied at this step.
  • Licence: llama3, inherited through the base model from the models it was built from.
  • Training data: none was used, added or selected at this conversion step. The base model's card lists the models it was built from; their training content is documented β€” where it is documented at all β€” by their respective providers.
  • Provider status: under Regulation (EU) 2024/1689 this repository makes no provider claim for the conversion step. Any provider obligations attaching to the model itself β€” including Art. 53(1)(c) copyright policy and Art. 53(1)(d) training-content summary β€” attach at cstr/llama3.1-8b-spaetzle-v59, not here.
Downloads last month
17
GGUF
Model size
8B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for cstr/llama3.1-8b-spaetzle-v59-GGUF

Quantized
(7)
this model