{"serveDecision":{"state":"UNKNOWN","authority":"live-serve-decision"},"downloadable":null,"downloadReady":null,"degraded":false,"stale":false,"schemaVersion":"hugging-bay.local-kit.v2","displayOnly":true,"authorizationRequired":true,"eligibilitySnapshotAt":"2026-10-29T17:29:24.234Z","generatedAt":"2026-10-29T17:31:10.564Z","status":"runnable-bundle-recipe","commandsAvailable":true,"commands":[{"tool":"lm-studio","label":"LM Studio (no terminal)","kind":"gui-walkthrough","guiProven":false,"command":"Open LM Studio, then drag the downloaded 'phi-4-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":"phi-4-Q4_K_M.gguf","templateSha256":"fe4120415a3858b873955c92ce3a103a95bc97c2cb00b72e62659aaf0f891ee5","sha256":"5a0c4017599b3f2e78e607ea0716bed557bb238eb4ea1a19b583eae9bb81aa10"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5},{"tool":"ollama","label":"Ollama","note":"Builds a local Ollama model named \"phi-4-q4_k_m\" from the file (Ollama imports the file's embedded chat template) and starts a chat.","prefilledFrom":{"file":"phi-4-Q4_K_M.gguf","templateSha256":"fe4120415a3858b873955c92ce3a103a95bc97c2cb00b72e62659aaf0f891ee5","sha256":"5a0c4017599b3f2e78e607ea0716bed557bb238eb4ea1a19b583eae9bb81aa10"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5},{"tool":"llama.cpp","label":"llama.cpp (terminal)","kind":"terminal","proven":true,"note":"Runs the file directly with llama.cpp's command-line tool. -st (--single-turn) runs one turn with the model's embedded chat template and exits — tested on llama.cpp b10964-b29c606e2. The old -no-cnv flag was removed and is rejected by current builds.","runner":{"name":"llama.cpp","testedBuild":"b10964-b29c606e2","singleTurnFlag":"-st"},"prefilledFrom":{"file":"phi-4-Q4_K_M.gguf","templateSha256":"fe4120415a3858b873955c92ce3a103a95bc97c2cb00b72e62659aaf0f891ee5","sha256":"5a0c4017599b3f2e78e607ea0716bed557bb238eb4ea1a19b583eae9bb81aa10"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5},{"tool":"python","label":"Python (llama-cpp-python)","command":"pip install llama-cpp-python && python -c 'from llama_cpp import Llama; llm = Llama(\"./phi-4-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":"phi-4-Q4_K_M.gguf","templateSha256":"fe4120415a3858b873955c92ce3a103a95bc97c2cb00b72e62659aaf0f891ee5","sha256":"5a0c4017599b3f2e78e607ea0716bed557bb238eb4ea1a19b583eae9bb81aa10"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5}],"runBlockKind":"hosted-file-recipe","chatContract":{"available":true,"source":"gguf-metadata:tokenizer.chat_template","sourceFileSha256":"5a0c4017599b3f2e78e607ea0716bed557bb238eb4ea1a19b583eae9bb81aa10","templateSha256":"fe4120415a3858b873955c92ce3a103a95bc97c2cb00b72e62659aaf0f891ee5","templateText":"{% for message in messages %}{% if (message['role'] == 'system') %}{{'<|im_start|>system<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif (message['role'] == 'user') %}{{'<|im_start|>user<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif (message['role'] == 'assistant') %}{{'<|im_start|>assistant<|im_sep|>' + message['content'] + '<|im_end|>'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant<|im_sep|>' }}{% endif %}","extractedAt":"2026-09-24","extractionStage":"ingest.template-extract/v1","architecture":"phi3","contextLength":16384,"stop":["<|im_end|>"],"thinking":{"mode":"none"}},"artifact":{"id":"hf-model-lmstudio-community-phi-4-gguf","repo":"lmstudio-community/phi-4-GGUF","type":"llm","summary":"Model from Hugging Face for text generation: lmstudio-community/phi-4-GGUF · unknown","license":"mit","hostingStatus":"hosted","hostedFileCount":1,"hostedFileCountAuthority":"live-serve-decision","displayFileCount":1,"fileCount":6,"upstreamUrl":"https://huggingface.co/lmstudio-community/phi-4-GGUF"},"tool":"any","toolCompatibility":{"status":"unknown","reason":"recorded-evaluator-not-integrated"},"readiness":"unknown","requiredFiles":[{"path":".gitattributes","sizeBytes":1731,"sha256":"","format":"gitattributes","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":false,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-lmstudio-community-phi-4-gguf"},"signature_state":"unsigned"},{"path":"README.md","sizeBytes":2616,"sha256":"","format":"md","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":false,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-lmstudio-community-phi-4-gguf"},"signature_state":"unsigned"},{"path":"phi-4-Q3_K_L.gguf","sizeBytes":7930155200,"sha256":"b9a76054d107f9e2757ad3caad19aa45d02265005a13d8c180103dc3d6e4aaf3","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-lmstudio-community-phi-4-gguf"},"signature_state":"unsigned"},{"path":"phi-4-Q4_K_M.gguf","sizeBytes":9053114560,"sha256":"5a0c4017599b3f2e78e607ea0716bed557bb238eb4ea1a19b583eae9bb81aa10","format":"gguf","risk":"low","sourceKind":"mirrored-upstream","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-lmstudio-community-phi-4-gguf/phi-4-Q4_K_M.gguf","chatTemplate":{"artifactId":"hf-model-lmstudio-community-phi-4-gguf","filePath":"phi-4-Q4_K_M.gguf","sha256":"5a0c4017599b3f2e78e607ea0716bed557bb238eb4ea1a19b583eae9bb81aa10","architecture":"phi3","generalName":"Phi 4","tokenizerModel":"gpt2","contextLength":16384,"bos":"<|endoftext|>","eos":"<|im_end|>","stop":["<|im_end|>"],"thinking":{"mode":"none"},"chatTemplate":"{% for message in messages %}{% if (message['role'] == 'system') %}{{'<|im_start|>system<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif (message['role'] == 'user') %}{{'<|im_start|>user<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif (message['role'] == 'assistant') %}{{'<|im_start|>assistant<|im_sep|>' + message['content'] + '<|im_end|>'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant<|im_sep|>' }}{% endif %}","templateDigest":"sha256:fe4120415a3858b873955c92ce3a103a95bc97c2cb00b72e62659aaf0f891ee5","extractionReason":"embedded-template","extractorVersion":"hugging-bay.gguf-embedded-chat-contract.v1","extractedAt":"2026-09-24T04:55:42.820Z","hasEmbeddedTemplate":true},"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-lmstudio-community-phi-4-gguf"},"signature_state":"signed"},{"path":"phi-4-Q6_K.gguf","sizeBytes":12030251200,"sha256":"f84341f51a16a0ca124ce210b43f631ff42109ff4add2615785ae7f3dc09d963","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-lmstudio-community-phi-4-gguf"},"signature_state":"unsigned"},{"path":"phi-4-Q8_0.gguf","sizeBytes":15580500160,"sha256":"22dd005a97437f66e93f36cdb09397f577ca98fe1091218a465be9d743e0d3f6","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-lmstudio-community-phi-4-gguf"},"signature_state":"unsigned"}],"warnings":["This description is temporarily unavailable."],"nextActions":[{"label":"Inspect recorded bundle state","url":"https://huggingbay.xyz/api/artifacts/hf-model-lmstudio-community-phi-4-gguf/bundle","method":"GET"},{"label":"List individually hashed hosted files","url":"https://huggingbay.xyz/api/downloadable-files?artifactId=hf-model-lmstudio-community-phi-4-gguf&limit=100","method":"GET"},{"label":"Inspect trust bundle","url":"https://huggingbay.xyz/api/trust-bundles/hf-model-lmstudio-community-phi-4-gguf","method":"GET"},{"label":"Open artifact","url":"https://huggingbay.xyz/artifact/hf-model-lmstudio-community-phi-4-gguf","method":"GET"}],"docs":{"artifactUrl":"https://huggingbay.xyz/artifact/hf-model-lmstudio-community-phi-4-gguf","downloadsUrl":"https://huggingbay.xyz/api/downloadable-files?artifactId=hf-model-lmstudio-community-phi-4-gguf&limit=100","bundleUrl":"https://huggingbay.xyz/api/artifacts/hf-model-lmstudio-community-phi-4-gguf/bundle","trustBundleUrl":"https://huggingbay.xyz/api/trust-bundles/hf-model-lmstudio-community-phi-4-gguf"},"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},"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-lmstudio-community-phi-4-gguf"}}