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

diffusiongemma-ft-grammar

Grammar / punctuation / markdown corrector finetuned from unsloth/diffusiongemma-26B-A4B-it.

Fixes grammar, punctuation, tense and broken markdown; preserves the author's wording and word count (~5%); returns only the corrected text; Prompt by Correct grammar.\n<input text>.

Downloads last month
2,019
Safetensors
Model size
26B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for alimpfard/diffusiongemma-ft-grammar

Quantized
(1)
this model