How to use from
Hermes Agent
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf BH-Language-AI/bh-llm-basic-1-4b
Configure Hermes
# Install Hermes:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setup
# Point Hermes at the local server:
hermes config set model.provider custom
hermes config set model.base_url http://127.0.0.1:9931/v1
hermes config set model.default BH-Language-AI/bh-llm-basic-1-4b
Run Hermes
hermes
Quick Links

BH-LLM-Basic logo

🧠 BH-LLM-Basic-1-4B v1.0

Za Ε‘ta se koristi

Bosanski non-thinking agent model srednje veličine (ijekavica + en). Najbolji omjer kvaliteta i cijene: tool_selection 1.0 na Q8 v0.4-DPO.

BH-LLM-Basic-1-4B v1.0 je produkcijski function-calling model za bosanski jezik, izveden iz alphaedge-ai/Qwen3.5-4B-bos-32768 (vocab 32768, hidden 2560, 32 sloja). Repo sadrΕΎi dvije linije: Q8 v0.4-DPO (model-q8-4b-dpo01.gguf, ~3.9GB β€” preporučena produkcija: SFT joint-01β†’06 + DPO na 140 preferencijskih parova, čisti gate 13W-25T-0L bez regresija) i punu bf16 v05 (model.safetensors, 7.3GB β€” novija SFT+DPO fuzija jt31/dpo03, slabija na strogoj metrici). Na AgentMujo-Bench v0.5 (48 slučajeva) Q8 v0.4 postiΕΎe tool_selection 1.0, args 0.962, multi_step 1.0, safety/refusal/json/notool 1.0. Pripada kolekciji BH-LLM-Basic. Ovo NIJE opΔ‡i chat model β€” format je <tool_call> XML.

licenca tool safety gate jezik

Benchmark

AgentMujo-Bench v0.5 (48 slučajeva, temp 0, nonthink). Usporedba nije direktna preko verzija scorera β€” obje tablice su izvorne s matičnih kartica.

Q8 v0.4-DPO (preporučeno):

Metrika 2B v0.5 4B v0.3 4B v0.4-DPO (ovaj .gguf)
tool_selection 0.800 0.967 1.0
argument_accuracy 0.808 0.962 0.962
confirmation_behavior 0.8 1.0 1.0
high_level_preference 1.0 1.0 1.0
multi_step 0.833 0.857 1.0
safety / refusal / json / notool β€” 1.0 1.0

Puna bf16 v05 (ovaj model.safetensors, 2026-11-12, drugi scorer):

Metrika v05
tool_selection 0.733
argument_accuracy 0.0 (FORMAT artefakt storog scorera: "\nnginx\n" vs "nginx" β€” model pogaΔ‘a alat i vrijednosti)
json_validity / ijekavica 1.0 / 1.0
safety / refusal 0.857 / 0.8
confirmation / high_level / no_tool 0.4 / 0.6 / 0.25

Kontaminacijska napomena (preuzeta s matične kartice): dobici v0.4 na bench 010/035/048 su djelomično memorizacija (S41 unijela doslovne promptove u trening) β€” čisti gate 13W-25T-0L je bez tih slučajeva.

Upotreba

from transformers import AutoModelForCausalLM, AutoTokenizer
mid = "BH-Language-AI/bh-llm-basic-1-4b"
tok = AutoTokenizer.from_pretrained(mid, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(mid, torch_dtype="auto", device_map="auto", trust_remote_code=True)

Q8 lokalno (llama.cpp / Ollama, ~3.9GB): model-q8-4b-dpo01.gguf iz ovog repoa β€” jedan GGUF za oba profila (think: true/false).

Trening

  • Baza: alphaedge-ai/Qwen3.5-4B-bos-32768 @ 34a62191 (teΕΎine se NE re-uploadaju) Β· Apache-2.0
  • v0.4-DPO: SFT joint-01β†’06 (mix v0.31, eval 0.7614) + DPO-01 (140 parova, beta 0.1, loss 0.67), dvostepeni merge, T4
  • v05 full: LoRA SFT 4b-jt31-thunder (eval 0.84) + LoRA DPO 4b-dpo03-thunder (160 parova), dvostepeni merge
  • Kvantizacija: llama.cpp convert_hf_to_gguf.py --no-mtp + Q8_0 (426 tenzora)
  • Sirovi rezultati i recepti: framework repozitorij

Ograničenja

  • Agent model, ne chat model: <tool_call> XML format, bosanska ijekavica.
  • v05 args-brojka se ne koristi za usporedbu (scorer artefakt, dokumentiran gore).
  • Think-gate nije ponavljan β€” think produkcija ostaje v0.4-think.
  • Za najveΔ‡e potrebe: 9B/32B članovi iste kolekcije.

BH-LLM-Basic Β· Kolektiv d.o.o. + Gamatrade d.o.o. Β· xnetba@gmail.com Β· Pravilo: bez fabriciranja, svaka brojka iz stvarnog runa.

Povezani modeli / Related models

Evaluation and citation

The GUI-grounding benchmark behind our computer-use line is published with per-item predictions and a scorer: cua β€” ScreenSpot-Pro 1,355/1,581 = 85.71 %, DOI 10.5281/zenodo.24732632 (repository: https://github.com/gamai-io/cua).

Signed-action evidence for agents: gama-mandate 1.0.58, DOI 10.5281/zenodo.24732646.

Every benchmark number we publish carries a command, a file or the word card-reported; numbers we could not reproduce are listed as withdrawn in cua/CLAIMS.md.

Downloads last month
959
Safetensors
Model size
4B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for BH-Language-AI/bh-llm-basic-1-4b

Quantized
(4)
this model

Collection including BH-Language-AI/bh-llm-basic-1-4b