{
  "schema_version": "1.0",
  "publisher": "AI Release",
  "article": {
    "title": "Step-by-step guide: how to assign GGUF models to roles in llama-runner (Qwen4 for code, GigaChat4 for text)",
    "canonical_url": "https://ai-release.org/guides/poshagovoe-rukovodstvo-kak-raspredelit-gguf-modeli-po-r_en.html",
    "language": "en",
    "article_type": "guide",
    "published_at": null,
    "updated_at": "2026-12-06T00:00:00+00:00"
  },
  "summary": "Time to complete: 45 minutes Difficulty: Intermediate",
  "topics": [
    "llama-runner несколько моделей",
    "Qwen4 для кода",
    "GigaChat4 локально",
    "распределение GGUF моделей по ролям"
  ],
  "entities": [
    {
      "id": "E1",
      "name": "llama-runner несколько моделей",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E2",
      "name": "Qwen4 для кода",
      "type": "продукт/модель",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E3",
      "name": "GigaChat4 локально",
      "type": "продукт/модель",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E4",
      "name": "распределение GGUF моделей по ролям",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E5",
      "name": "Windows",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E6",
      "name": "Linux",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E7",
      "name": "macOS",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E8",
      "name": "Python",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E9",
      "name": "Git",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E10",
      "name": "OpenAI",
      "type": "компания",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    }
  ],
  "claims": [
    {
      "id": "AR-GUIDE-POSHAGOVOE-001",
      "statement": "Time to complete: 45 minutes",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/poshagovoe-rukovodstvo-kak-raspredelit-gguf-modeli-po-r_en.html",
      "article_anchor": "#tldr",
      "evidence_excerpt": "Time to complete: 45 minutes"
    },
    {
      "id": "AR-GUIDE-POSHAGOVOE-002",
      "statement": "Difficulty: Intermediate",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/poshagovoe-rukovodstvo-kak-raspredelit-gguf-modeli-po-r_en.html",
      "article_anchor": "#tldr",
      "evidence_excerpt": "Difficulty: Intermediate"
    },
    {
      "id": "AR-GUIDE-POSHAGOVOE-003",
      "statement": "You will need: Linux or macOS (the same flags work in PowerShell on Windows), a compiled llama-server from llama.cpp, GGUF builds of Qwen4 (code role) and GigaChat4 (text role), Python 3 with flask, pyyaml and requests, plus curl and jq.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/poshagovoe-rukovodstvo-kak-raspredelit-gguf-modeli-po-r_en.html",
      "article_anchor": "#tldr",
      "evidence_excerpt": "You will need: Linux or macOS (the same flags work in PowerShell on Windows), a compiled llama-server from llama.cpp, GGUF builds of Qwen4 (code role) and GigaChat4 (text role), Python 3 with flask, pyyaml and requests, plus curl and jq."
    },
    {
      "id": "AR-GUIDE-POSHAGOVOE-004",
      "statement": "Linux, macOS, or Windows with PowerShell; commands below are bash.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/poshagovoe-rukovodstvo-kak-raspredelit-gguf-modeli-po-r_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "Linux, macOS, or Windows with PowerShell; commands below are bash."
    },
    {
      "id": "AR-GUIDE-POSHAGOVOE-005",
      "statement": "llama.cpp compiled with the server target: cmake -B build && cmake --build build --config Release. Confirm the binary path, usually build/bin/llama-server.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/poshagovoe-rukovodstvo-kak-raspredelit-gguf-modeli-po-r_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "llama.cpp compiled with the server target: cmake -B build && cmake --build build --config Release. Confirm the binary path, usually build/bin/llama-server."
    },
    {
      "id": "AR-GUIDE-POSHAGOVOE-006",
      "statement": "GGUF files for both models. GGUF is a single-file format that packs quantized weights, the tokenizer and the chat template together, so one file per model is all you copy around. Quantization (for example Q4_K_M) is a smaller, lower-precision version of the weights — pick a quant listed in the model card.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/poshagovoe-rukovodstvo-kak-raspredelit-gguf-modeli-po-r_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "GGUF files for both models. GGUF is a single-file format that packs quantized weights, the tokenizer and the chat template together, so one file per model is all you copy around. Quantization (for example Q4_K_M) is a smaller, lower-precision version of the weights — pick a quant listed in the model card."
    }
  ],
  "relationships": [
    {
      "subject": "Guide",
      "predicate": "describes",
      "object": "Step-by-step guide: how to assign GGUF models to roles in llama-runner (Qwen4 for code, GigaChat4 for text)",
      "claim_id": "AR-GUIDE-POSHAGOVOE-001"
    },
    {
      "subject": "Guide",
      "predicate": "includes step",
      "object": "Step 1. Lay out directories and prove each GGUF loads",
      "claim_id": "AR-GUIDE-POSHAGOVOE-001"
    }
  ],
  "questions_and_answers": [
    {
      "question": "What is required?",
      "answer": "Linux, macOS, or Windows with PowerShell; commands below are bash.; llama.cpp compiled with the server target: cmake -B build && cmake --build build --config Release. Confirm the binary path, usually build/bin/llama-server.; GGUF files for both models. GGUF is a single-file format that packs quantized weights, the…",
      "claim_ids": [
        "AR-GUIDE-POSHAGOVOE-003"
      ],
      "article_anchor": "#requirements"
    },
    {
      "question": "How to do it?",
      "answer": "Step 1. Lay out directories and prove each GGUF loads → Step 2. Start both servers with role aliases and wire the router → Step 3. Verify each role answers from the right backend",
      "claim_ids": [
        "AR-GUIDE-POSHAGOVOE-004"
      ],
      "article_anchor": "#step-1"
    },
    {
      "question": "Which topics does it cover?",
      "answer": "llama-runner несколько моделей, Qwen4 для кода, GigaChat4 локально, распределение GGUF моделей по ролям",
      "claim_ids": [
        "AR-GUIDE-POSHAGOVOE-002"
      ],
      "article_anchor": "#entities"
    },
    {
      "question": "What are the key points?",
      "answer": "Time to complete: 45 minutes Difficulty: Intermediate",
      "claim_ids": [
        "AR-GUIDE-POSHAGOVOE-007"
      ],
      "article_anchor": "#tldr"
    }
  ],
  "limitations": [
    "Current versions, prices and limits.",
    "Independent benchmarks and quality checks.",
    "Terms of use and data policy."
  ],
  "citation": {
    "preferred_citation": "AI Release. Пошаговое руководство: как распределить GGUF-модели по ролям в llama-runner (Qwen4 для кода, GigaChat4 для текста). https://ai-release.org/guides/poshagovoe-rukovodstvo-kak-raspredelit-gguf-modeli-po-r_en.html",
    "canonical_url": "https://ai-release.org/guides/poshagovoe-rukovodstvo-kak-raspredelit-gguf-modeli-po-r_en.html",
    "publisher": "AI Release"
  }
}