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

Mankei-Boarisch

Mankei-Boarisch

Bairisch sprechendes Chat-Sprachmodell mit rund einer Milliarde Parametern, abgeleitet aus dem deutschen Mankei-Basismodell und auf bairischen Dialekt weitertrainiert. Es führt Konversationen auf Boarisch, überträgt hochdeutschen Text in die Mundart und läuft vollständig on-premise. Apache 2.0.

Fähigkeiten

  • Konversation auf Boarisch — Alltag, Auskunft, Ratschlag
  • Übertragung hochdeutscher Texte in die bairische Mundart
  • Lokaler Betrieb ohne Cloud; die Daten verlassen das Haus nicht

Läuft mit

Ollama        vLLM

Ollama / llama.cpp — GGUF, CPU-fähig:

ollama run hf.co/keyvan-ai/Mankei-Boarisch:Q4_K_M

vLLM — Transformers-Gewichte, GPU:

vllm serve keyvan-ai/Mankei-Boarisch

GGUF-Quantisierungen

Quantisierung Größe Datei
f16 2,0 GB Mankei-Boarisch-f16.gguf
Q8_0 1,1 GB Mankei-Boarisch-q8_0.gguf
Q6_K 854 MB Mankei-Boarisch-q6_k.gguf
Q5_K_M 728 MB Mankei-Boarisch-q5_k_m.gguf
Q4_K_M 637 MB Mankei-Boarisch-q4_k_m.gguf

Verwendung (Transformers)

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

tok = AutoTokenizer.from_pretrained("keyvan-ai/Mankei-Boarisch")
m   = AutoModelForCausalLM.from_pretrained("keyvan-ai/Mankei-Boarisch", dtype=torch.bfloat16).eval()

msgs = [{"role": "user", "content": "Servus, wia geht's da heid?"}]
enc = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True)
out = m.generate(**enc, max_new_tokens=120, do_sample=True,
                 temperature=0.4, top_p=0.9, min_p=0.05, repetition_penalty=1.1)
print(tok.decode(out[0][enc["input_ids"].shape[1]:], skip_special_tokens=True))

Empfohlenes Sampling: temperature 0.4 · min_p 0.05 · repetition_penalty 1.1.

Einsatzbereich

Ausgelegt auf bairische Konversation und Mundart. Für faktische Recherche und tagesaktuelle Auskünfte sind größere Modelle und RAG-Aufbauten die geeignete Wahl.

Training

Continued Pretraining auf bairischem Wikipedia-Text (bar.wikipedia, CC-BY-SA), anschließend Supervised Fine-Tuning auf bairischen Dialogen, einem Persona-Set und Sicherheitsdaten. Basismodell: deutsches Mankei-1B. Trainiert auf offen lizenzierten und selbst erzeugten Daten.

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

Dataset used to train keyvan-ai/Mankei-Boarisch