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 QuantFactory/calme-2.8-qwen2-7b-GGUF:
# Run inference directly in the terminal:
llama-cli -hf QuantFactory/calme-2.8-qwen2-7b-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf QuantFactory/calme-2.8-qwen2-7b-GGUF:
# Run inference directly in the terminal:
llama-cli -hf QuantFactory/calme-2.8-qwen2-7b-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 QuantFactory/calme-2.8-qwen2-7b-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf QuantFactory/calme-2.8-qwen2-7b-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 QuantFactory/calme-2.8-qwen2-7b-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf QuantFactory/calme-2.8-qwen2-7b-GGUF:
Use Docker
docker model run hf.co/QuantFactory/calme-2.8-qwen2-7b-GGUF:
Quick Links

QuantFactory/calme-2.8-qwen2-7b-GGUF

This is quantized version of MaziyarPanahi/calme-2.8-qwen2-7b created using llama.cpp

Original Model Card

Qwen2 fine-tune

MaziyarPanahi/calme-2.8-qwen2-7b

This is a fine-tuned version of the Qwen/Qwen2-7B model. It aims to improve the base model across all benchmarks.

⚡ Quantized GGUF

All GGUF models are available here: MaziyarPanahi/calme-2.8-qwen2-7b-GGUF

🏆 Open LLM Leaderboard Evaluation Results

coming soon!

Prompt Template

This model uses ChatML prompt template:

<|im_start|>system
{System}
<|im_end|>
<|im_start|>user
{User}
<|im_end|>
<|im_start|>assistant
{Assistant}

How to use


# Use a pipeline as a high-level helper

from transformers import pipeline

messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe = pipeline("text-generation", model="MaziyarPanahi/calme-2.8-qwen2-7b")
pipe(messages)


# Load model directly

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("MaziyarPanahi/calme-2.8-qwen2-7b")
model = AutoModelForCausalLM.from_pretrained("MaziyarPanahi/calme-2.8-qwen2-7b")
Downloads last month
147
GGUF
Model size
8B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for QuantFactory/calme-2.8-qwen2-7b-GGUF

Base model

Qwen/Qwen2-7B
Quantized
(44)
this model

Datasets used to train QuantFactory/calme-2.8-qwen2-7b-GGUF