{"schemaVersion":"hugging-bay.artifact-download-plan.v1","proofLab":null,"testedRunPlan":null,"receiptCard":{"schemaVersion":"hugging-bay.agent-receipt-card.v1","outcome":{"status":"unavailable","artifactId":"hf-model-bartowski-thudm-glm-4-9b-0414-gguf"},"proof":null},"runTested":false,"runCommands":{"tested":false,"status":"not-tested-yet","file":null,"sha256":null,"commands":[]},"summary":"No fresh signed Proof Lab run plan for this file.","recommendedFile":{"path":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","role":"weight","sizeBytes":6166574464,"declaredSizeBytes":6166574464,"storageSizeBytes":6166574464,"sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a","format":"gguf","dtype":null,"risk":"low","sourceKind":"mirrored-upstream","license":"mit","licenseState":"clear","individuallyHashed":true,"fileOnly":true,"readiness":"ready","downloadReady":true,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","bundleImplication":"none","peerFallbacks":[],"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf","verifiedDownloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf/verified?receipt=rcpt_420bc4e18809a6593747ca18a7da8380","verifyStatusUrl":"https://huggingbay.xyz/api/downloads/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf/verify-status?receipt=rcpt_420bc4e18809a6593747ca18a7da8380","completionAttestationUrl":"https://huggingbay.xyz/api/download-completions/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf","completionAttestationMethod":"POST","landingUrl":"https://huggingbay.xyz/downloads/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf","manifestUrl":"https://huggingbay.xyz/api/manifests/hf-model-bartowski-thudm-glm-4-9b-0414-gguf","run":{"commandsAvailable":false,"commands":[{"tool":"lm-studio","label":"LM Studio (no terminal)","kind":"gui-walkthrough","guiProven":false,"command":"Open LM Studio, then drag the downloaded 'THUDM_GLM-4-9B-0414-Q4_K_M.gguf' into My Models to load it.","note":"A walk-through for your machine, not a checked run path — these steps are guidance, never a promise it will run. LM Studio's own UI takes it from there.","prefilledFrom":{"file":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","templateSha256":"854b703e44ca06bdb196cc471c728d15dbab61e744fe6cdce980086b61646ed1","sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5,"tested":false},{"tool":"ollama","label":"Ollama","note":"Builds a local Ollama model named \"thudm_glm-4-9b-0414-q4_k_m\" from the file (Ollama imports the file's embedded chat template) and starts a chat.","prefilledFrom":{"file":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","templateSha256":"854b703e44ca06bdb196cc471c728d15dbab61e744fe6cdce980086b61646ed1","sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5,"tested":false},{"tool":"llama.cpp","label":"llama.cpp (terminal)","kind":"terminal","proven":false,"note":"Not a tested run: Hugging Bay has no tested run plan for this model, so this command is guidance only.","runner":{"name":"llama.cpp","testedBuild":"b10964-b29c606e2","singleTurnFlag":"-st","fileRunTested":false},"prefilledFrom":{"file":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","templateSha256":"854b703e44ca06bdb196cc471c728d15dbab61e744fe6cdce980086b61646ed1","sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5,"tested":false},{"tool":"python","label":"Python (llama-cpp-python)","command":"pip install llama-cpp-python && python -c 'from llama_cpp import Llama; llm = Llama(\"./THUDM_GLM-4-9B-0414-Q4_K_M.gguf\", n_ctx=8192); print(llm.create_chat_completion(messages=[{'\\''role'\\'': '\\''user'\\'', '\\''content'\\'': '\\''Hello!'\\''}])['\\''choices'\\''][0]['\\''message'\\'']['\\''content'\\''])'","note":"For scripting the model from Python; create_chat_completion applies the embedded chat template.","prefilledFrom":{"file":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","templateSha256":"854b703e44ca06bdb196cc471c728d15dbab61e744fe6cdce980086b61646ed1","sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5,"tested":false}],"reason":"no-tested-run-plan","sharded":false,"runBlockKind":"hosted-file-recipe","guiProven":false,"certifiedRunKit":false,"chatContract":{"available":true,"source":"gguf-metadata:tokenizer.chat_template","sourceFileSha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a","templateSha256":"854b703e44ca06bdb196cc471c728d15dbab61e744fe6cdce980086b61646ed1","templateText":"[gMASK]<sop>{%- if tools -%}<|system|>\n# 可用工具\n{% for tool in tools %}{%- set function = tool.function if tool.get(\"function\") else tool %}\n\n## {{ function.name }}\n\n{{ function | tojson(indent=4, ensure_ascii=False) }}\n在调用上述函数时，请使用 Json 格式表示调用的参数。{%- endfor %}{%- endif -%}{%- for msg in messages %}{%- if msg.role == 'system' %}<|system|>\n{{ msg.content }}{%- endif %}{%- endfor %}{%- for message in messages if message.role != 'system' %}{%- set role = message['role'] %}{%- set content = message['content'] %}{%- set meta = message.get(\"metadata\", \"\") %}{%- if role == 'user' %}<|user|>\n{{ content }}{%- elif role == 'assistant' and not meta %}<|assistant|>\n{{ content }}{%- elif role == 'assistant' and meta %}<|assistant|>{{ meta }} \n{{ content }}{%- elif role == 'observation' %}<|observation|>\n{{ content }}{%- endif %}{%- endfor %}{% if add_generation_prompt %}<|assistant|>{% endif %}","extractedAt":"2026-09-24","extractionStage":"ingest.template-extract/v1","architecture":"glm4","contextLength":32768,"stop":["<|user|>"],"thinking":{"mode":"none"}},"disclosure":"This is not a certified run kit — Hugging Bay has not verified a run path for these exact bytes. These are hosted-file guidance recipes; recompute each file's SHA-256 and check it before running.","fileRecipeAvailable":true,"authority":"hugging-bay.run-authority/v1"},"default":true,"recommended":true,"weightSafety":{"path":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","container":"gguf","executesCodeOnLoad":false,"beginnerSafe":true,"agentLabel":"Non-executing weight container (safetensors or GGUF)."},"proofReceipt":{"schemaVersion":"hugging-bay.proof-receipt.v1","artifactId":"hf-model-bartowski-thudm-glm-4-9b-0414-gguf","file":{"path":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a","sizeBytes":6166574464},"license":"mit","evidenceDate":null,"checks":{"bytes":{"status":"not-recorded","checkedAt":null},"run":{"status":"not-recorded","checkedAt":null,"device":null,"runtime":null},"safety":{"verdict":"unknown"}},"proves":["The catalog records this file path and SHA-256."],"doesNotProve":["Safety to execute.","Licence suitability for your use.","A completed download or successful run on your device."],"sentence":"This receipt records checks for this exact file; it does not prove safety or that it will run on your device.","receiptUrl":"https://huggingbay.xyz/api/v1/artifacts/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/proof-receipt?path=THUDM_GLM-4-9B-0414-Q4_K_M.gguf&sha256=2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a"},"runCommands":{"tested":false,"status":"not-tested-yet","file":null,"sha256":null,"commands":[]},"serve_verdict":{"can_download":true,"bytes_verified":true,"signature":"signed","freshness":"current","checked_at":"2026-10-31T16:16:30.126Z","evidence_url":"/api/manifests/hf-model-bartowski-thudm-glm-4-9b-0414-gguf"},"signature_state":"signed"},"defaultDownload":{"paths":["THUDM_GLM-4-9B-0414-Q4_K_M.gguf"],"sizeBytes":6166574464,"fileCount":1},"run":{"caveat":"Compatibility with your machine is not checked — this is guidance, not a promise. These steps are for after the byte-check passes."},"downloadable":true,"downloadStatus":"READY","reasonCodes":["no-tested-run-plan"],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","serveEvaluatedAt":"2026-10-31T16:16:30.126Z","serveEvaluationId":"serve-70ccc647b794c6bb2858fcb2c9dc375a013414a5143b51649e1d92fad32afe79","readiness":"ready","downloadReady":true,"hostedFileCount":1,"mirroredBytes":6166574464,"readinessCheckedAt":"2026-10-31T16:16:30.126Z","readinessSource":"file-check","degraded":false,"stale":false,"serveExplanation":{"downloadable":true,"downloadStatus":"READY","reasonCodes":["no-tested-run-plan"],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","serveEvaluatedAt":"2026-10-31T16:16:30.126Z","serveEvaluationId":"serve-70ccc647b794c6bb2858fcb2c9dc375a013414a5143b51649e1d92fad32afe79","readiness":"ready","downloadReady":true,"hostedFileCount":1,"mirroredBytes":6166574464,"readinessCheckedAt":"2026-10-31T16:16:30.126Z","readinessSource":"file-check","degraded":false,"stale":false},"generatedAt":"2026-10-31T16:16:30.247Z","artifactId":"hf-model-bartowski-thudm-glm-4-9b-0414-gguf","artifact":{"id":"hf-model-bartowski-thudm-glm-4-9b-0414-gguf","repo":"bartowski/THUDM_GLM-4-9B-0414-GGUF","type":"llm","license":"mit","visibility":"public","hostingStatus":"hosted","upstreamUrl":"https://huggingface.co/bartowski/THUDM_GLM-4-9B-0414-GGUF"},"status":"complete-bytes","serve":{"schemaVersion":"hugging-bay.serve-contract.nv5","decisionVersion":"hugging-bay.serve-decision/v1","evaluatedAt":"2026-10-31T16:16:30.126Z","bytesStatus":"complete","downloadReady":true,"runReady":false,"byteVerificationStatus":"verified","commandsAvailable":false,"reasonCodes":["no-tested-run-plan"],"readiness":"ready","downloadable":true,"downloadStatus":"READY","hostedFileCount":1,"mirroredBytes":6166574464,"readinessCheckedAt":"2026-10-31T16:16:30.246Z","readinessSource":"file-check","degraded":false,"stale":false,"serveEvaluatedAt":"2026-10-31T16:16:30.126Z","serveEvaluationId":"serve-70ccc647b794c6bb2858fcb2c9dc375a013414a5143b51649e1d92fad32afe79"},"representation":{"id":"rep-d9a5adc2393d28c400d3a3c282d67a5daa55edddf4ee49f0906bbc86eff71630","artifactId":"hf-model-bartowski-thudm-glm-4-9b-0414-gguf","representationDigest":"sha256:dd5147e3a5f04639ca05e41ad6b4bb15edece7d33d82f9942d1f253f2986639c","selectedFilesDigest":"sha256:325687fe5a0d001023ed4927eaf7c405db8d30a5c5769ea7decf8dae6e0dd7e0","taskMode":{"mode":"unknown"},"format":"gguf","source":{"provider":"huggingface","identity":"bartowski/THUDM_GLM-4-9B-0414-GGUF","revision":"211924cd949e153b1017ed635e5b127d0b594e6f","immutable":true}},"tool":"any","toolCompatibility":"unknown","manifest":{"url":"https://huggingbay.xyz/api/manifests/hf-model-bartowski-thudm-glm-4-9b-0414-gguf","digest":"sha256:234e39a6519e656341585137f3e90b8a84b1027a1052218f4263307106978bf1","keyUrl":"https://huggingbay.xyz/api/keys/manifest-signing","signature":{"version":1,"algorithm":"Ed25519","key_id":"ed25519:718f9ccff1cef500235425ce","canonical_digest":"sha256:234e39a6519e656341585137f3e90b8a84b1027a1052218f4263307106978bf1","value":"072HRy89usUAEoMvV1Oudt4GeC7TRZwUVrK1L-OQtcdvFocnMhHWbCoU89RKzD6JIEmBDgdSXyYGG4wjKXQhCQ","signed_at":"2026-10-31T16:16:30.244Z","public_key_url":"/api/keys/manifest-signing","payload":"canonical-json:manifest-excluding-signature-and-generated_at","canonical_encoding":"rfc8785","canonical_excludes":["signature","generated_at","manifest_digest","serveEvaluatedAt","serveEvaluationId","serveExplanation","readinessCheckedAt","obtainReady","serveVerdict","reason","reasonCodes"]},"claim":"Signed by the harbor"},"peerFallbackReadiness":{"status":"ready-for-reviewed-fallback","ready":true,"reviewRequired":true,"publishActualMagnetOnlyAfterReview":true,"protocol":"bittorrent-magnet-metadata","torrentName":"bartowski-THUDM_GLM-4-9B-0414-GGUF","licenseAllowed":true,"sameAsUpstreamRequired":true,"sourceUrl":"https://huggingface.co/bartowski/THUDM_GLM-4-9B-0414-GGUF","manifestUrl":"https://huggingbay.xyz/api/manifests/hf-model-bartowski-thudm-glm-4-9b-0414-gguf","distributionUrl":"https://huggingbay.xyz/api/artifacts/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/distribution","trustBundleUrl":"https://huggingbay.xyz/api/trust-bundles/hf-model-bartowski-thudm-glm-4-9b-0414-gguf","downloadPlanUrl":"https://huggingbay.xyz/api/artifacts/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/download-plan","requestUrl":"https://huggingbay.xyz/api/artifacts/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/decentralized-fallbacks","manifestDigest":"sha256:234e39a6519e656341585137f3e90b8a84b1027a1052218f4263307106978bf1","fileCount":1,"totalBytes":6166574464,"files":[{"path":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","sizeBytes":6166574464,"sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a","downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf"}],"blockers":[],"requiredEvidence":["magnet URI with btih info hash","source URL proving the torrent maps to this public upstream release","SHA-256 or signed manifest evidence for each hosted file","reviewer note confirming license, provenance, scan, and same-as-upstream checks"],"guidance":"This hosted artifact has enough signed hash/provenance metadata for a reviewed torrent or magnet fallback request; submit the magnet for review before publication."},"fileIntegrity":{"manifestSignatureAvailable":true,"hashAlgorithm":"sha256","individuallyHashedFiles":1,"externalFilesExcluded":true,"noArchiveGenerated":true,"scope":"individual hosted files only; no bundle or runtime claim","completionAttestationAvailable":true,"bytesAreClientAttestedOnly":false,"redirectLaneIsClientAttested":true,"serverStreamVerifiedLaneAvailable":true,"serverStreamVerifiedNote":"GET a file's verifiedDownloadUrl to have Hugging Bay proxy the bytes and compute a streaming SHA-256 over them; the run steps unlock only when the streamed digest matches this plan's file.sha256. A range/partial read cannot be verified and is refused on that lane."},"receiptJoin":{"perFileField":null,"receiptSource":"X-Hugging-Bay-Receipt response header of a verifiedDownloadUrl transfer (fresh per attempt)","events":["plan_issued","bytes_verified","bytes_mismatch"],"store":"jev_wedge.outcomes","requiresMigration":"157_jev_wedge_outcomes (branch claude/jev-whichfile-wedge-20260920)","note":"plan_issued is emitted when a real verified transfer starts; bytes_verified/bytes_mismatch when it completes, keyed by the transfer's own receipt id (X-Hugging-Bay-Receipt) + file sha256. There is no public receipt lookup route; the plan carries no receipt id."},"completionAttestation":{"required":false,"purpose":"After a client downloads a hosted file in full and recomputes its SHA-256 locally, POST completion so the pull is counted honestly. Redirect issuance (this plan / the signed URL) is a download initiation, not a completed pull; self-reported receipts, probes, HEAD requests, and partial/range reads are never counted.","endpoint":"https://huggingbay.xyz/api/download-completions/{id}/{path}","method":"POST","perFileField":"completionAttestationUrl","when":"Only after the ENTIRE file is downloaded and its locally recomputed SHA-256 equals this plan's file.sha256.","requestFields":{"sha256":"The locally recomputed SHA-256 of the fully downloaded file; must equal this plan's file.sha256 (the exact catalog digest the completion is validated against).","sizeBytes":"The exact stored byte length of the file; must equal this plan's file.sizeBytes (the storage size the redirect capability is bound to).","completionToken":"Required single-use capability returned in the X-Hugging-Bay-Completion-Token response header of the GET /api/downloads/{id}/{path} redirect. Not derivable client-side; the redirect must be observed to obtain it."},"guarantees":["Bytes are client-attested, not app-metered: the platform never meters redirect egress, so a completion is credited only against a single-use redirect capability plus the exact catalog SHA-256 and stored size — never from a self-reported byte count.","Probes, HEAD requests, partial/range reads, and self-reported receipts never count as a completed pull.","The completion capability is single-use and cryptographically bound to the exact artifact, path, immutable object version, sha256, size, initiating client bucket, and issuance day; it cannot be forged or replayed to inflate counts."],"responses":{"200":"already recorded; single-use capability replayed, no duplicate count","202":"client-attested completion accepted (counted once)","403":"completion capability invalid, expired, or not matching its issuance binding","409":"sha256, size, hosted verification, or completion eligibility mismatch"}},"stats":{"files":1,"listedFiles":1,"withheldFiles":0,"bytes":6166574464,"reviewedPeerFallbackFiles":0,"reviewedPeerFallbackCount":0,"externalFiles":26,"allArtifactFiles":27},"files":[{"path":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","role":"weight","sizeBytes":6166574464,"declaredSizeBytes":6166574464,"storageSizeBytes":6166574464,"sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a","format":"gguf","dtype":null,"risk":"low","sourceKind":"mirrored-upstream","license":"mit","licenseState":"clear","individuallyHashed":true,"fileOnly":true,"readiness":"ready","downloadReady":true,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","bundleImplication":"none","peerFallbacks":[],"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf","verifiedDownloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf/verified?receipt=rcpt_420bc4e18809a6593747ca18a7da8380","verifyStatusUrl":"https://huggingbay.xyz/api/downloads/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf/verify-status?receipt=rcpt_420bc4e18809a6593747ca18a7da8380","completionAttestationUrl":"https://huggingbay.xyz/api/download-completions/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf","completionAttestationMethod":"POST","landingUrl":"https://huggingbay.xyz/downloads/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf","manifestUrl":"https://huggingbay.xyz/api/manifests/hf-model-bartowski-thudm-glm-4-9b-0414-gguf","run":{"commandsAvailable":false,"commands":[{"tool":"lm-studio","label":"LM Studio (no terminal)","kind":"gui-walkthrough","guiProven":false,"command":"Open LM Studio, then drag the downloaded 'THUDM_GLM-4-9B-0414-Q4_K_M.gguf' into My Models to load it.","note":"A walk-through for your machine, not a checked run path — these steps are guidance, never a promise it will run. LM Studio's own UI takes it from there.","prefilledFrom":{"file":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","templateSha256":"854b703e44ca06bdb196cc471c728d15dbab61e744fe6cdce980086b61646ed1","sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5,"tested":false},{"tool":"ollama","label":"Ollama","note":"Builds a local Ollama model named \"thudm_glm-4-9b-0414-q4_k_m\" from the file (Ollama imports the file's embedded chat template) and starts a chat.","prefilledFrom":{"file":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","templateSha256":"854b703e44ca06bdb196cc471c728d15dbab61e744fe6cdce980086b61646ed1","sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5,"tested":false},{"tool":"llama.cpp","label":"llama.cpp (terminal)","kind":"terminal","proven":false,"note":"Not a tested run: Hugging Bay has no tested run plan for this model, so this command is guidance only.","runner":{"name":"llama.cpp","testedBuild":"b10964-b29c606e2","singleTurnFlag":"-st","fileRunTested":false},"prefilledFrom":{"file":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","templateSha256":"854b703e44ca06bdb196cc471c728d15dbab61e744fe6cdce980086b61646ed1","sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5,"tested":false},{"tool":"python","label":"Python (llama-cpp-python)","command":"pip install llama-cpp-python && python -c 'from llama_cpp import Llama; llm = Llama(\"./THUDM_GLM-4-9B-0414-Q4_K_M.gguf\", n_ctx=8192); print(llm.create_chat_completion(messages=[{'\\''role'\\'': '\\''user'\\'', '\\''content'\\'': '\\''Hello!'\\''}])['\\''choices'\\''][0]['\\''message'\\'']['\\''content'\\''])'","note":"For scripting the model from Python; create_chat_completion applies the embedded chat template.","prefilledFrom":{"file":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","templateSha256":"854b703e44ca06bdb196cc471c728d15dbab61e744fe6cdce980086b61646ed1","sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5,"tested":false}],"reason":"no-tested-run-plan","sharded":false,"runBlockKind":"hosted-file-recipe","guiProven":false,"certifiedRunKit":false,"chatContract":{"available":true,"source":"gguf-metadata:tokenizer.chat_template","sourceFileSha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a","templateSha256":"854b703e44ca06bdb196cc471c728d15dbab61e744fe6cdce980086b61646ed1","templateText":"[gMASK]<sop>{%- if tools -%}<|system|>\n# 可用工具\n{% for tool in tools %}{%- set function = tool.function if tool.get(\"function\") else tool %}\n\n## {{ function.name }}\n\n{{ function | tojson(indent=4, ensure_ascii=False) }}\n在调用上述函数时，请使用 Json 格式表示调用的参数。{%- endfor %}{%- endif -%}{%- for msg in messages %}{%- if msg.role == 'system' %}<|system|>\n{{ msg.content }}{%- endif %}{%- endfor %}{%- for message in messages if message.role != 'system' %}{%- set role = message['role'] %}{%- set content = message['content'] %}{%- set meta = message.get(\"metadata\", \"\") %}{%- if role == 'user' %}<|user|>\n{{ content }}{%- elif role == 'assistant' and not meta %}<|assistant|>\n{{ content }}{%- elif role == 'assistant' and meta %}<|assistant|>{{ meta }} \n{{ content }}{%- elif role == 'observation' %}<|observation|>\n{{ content }}{%- endif %}{%- endfor %}{% if add_generation_prompt %}<|assistant|>{% endif %}","extractedAt":"2026-09-24","extractionStage":"ingest.template-extract/v1","architecture":"glm4","contextLength":32768,"stop":["<|user|>"],"thinking":{"mode":"none"}},"disclosure":"This is not a certified run kit — Hugging Bay has not verified a run path for these exact bytes. These are hosted-file guidance recipes; recompute each file's SHA-256 and check it before running.","fileRecipeAvailable":true,"authority":"hugging-bay.run-authority/v1"},"default":true,"recommended":true,"weightSafety":{"path":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","container":"gguf","executesCodeOnLoad":false,"beginnerSafe":true,"agentLabel":"Non-executing weight container (safetensors or GGUF)."},"proofReceipt":{"schemaVersion":"hugging-bay.proof-receipt.v1","artifactId":"hf-model-bartowski-thudm-glm-4-9b-0414-gguf","file":{"path":"THUDM_GLM-4-9B-0414-Q4_K_M.gguf","sha256":"2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a","sizeBytes":6166574464},"license":"mit","evidenceDate":null,"checks":{"bytes":{"status":"not-recorded","checkedAt":null},"run":{"status":"not-recorded","checkedAt":null,"device":null,"runtime":null},"safety":{"verdict":"unknown"}},"proves":["The catalog records this file path and SHA-256."],"doesNotProve":["Safety to execute.","Licence suitability for your use.","A completed download or successful run on your device."],"sentence":"This receipt records checks for this exact file; it does not prove safety or that it will run on your device.","receiptUrl":"https://huggingbay.xyz/api/v1/artifacts/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/proof-receipt?path=THUDM_GLM-4-9B-0414-Q4_K_M.gguf&sha256=2b95f0b88eca423bfb874c4f8e7b9574ec76acab2befd272076e8a8dce31216a"},"runCommands":{"tested":false,"status":"not-tested-yet","file":null,"sha256":null,"commands":[]},"downloadEndpoint":"https://huggingbay.xyz/api/downloads/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/THUDM_GLM-4-9B-0414-Q4_K_M.gguf","serve_verdict":{"can_download":true,"bytes_verified":true,"signature":"signed","freshness":"current","checked_at":"2026-10-31T16:16:30.126Z","evidence_url":"/api/manifests/hf-model-bartowski-thudm-glm-4-9b-0414-gguf"},"signature_state":"signed"}],"actions":{"artifactUrl":"https://huggingbay.xyz/artifact/hf-model-bartowski-thudm-glm-4-9b-0414-gguf","hostedFilesUrl":"https://huggingbay.xyz/api/downloadable-files?artifactId=hf-model-bartowski-thudm-glm-4-9b-0414-gguf&limit=100","trustBundleUrl":"https://huggingbay.xyz/api/trust-bundles/hf-model-bartowski-thudm-glm-4-9b-0414-gguf","distributionUrl":"https://huggingbay.xyz/api/artifacts/hf-model-bartowski-thudm-glm-4-9b-0414-gguf/distribution"},"warnings":["External upstream files are intentionally excluded."],"note":{"summary":"Downloadable doesn't mean tested: this record says whether the exact file can be downloaded now, not that the model is complete or that it runs.","downloadable":true},"snapshotId":"s1-1s2ep","serve_verdict":{"can_download":true,"bytes_verified":true,"signature":"signed","freshness":"current","checked_at":"2026-10-31T16:16:30.126Z","evidence_url":"/api/manifests/hf-model-bartowski-thudm-glm-4-9b-0414-gguf"}}