{"id":"902b5c9f-3304-482d-ade2-113cf8b71b39","task":"Download and run a Hugging Face model locally","domain":"huggingface.co","steps":["pip install -U transformers (or use huggingface_hub snapshot_download for raw files)","Accept gated-model license on the website first (Llama etc.), then login: huggingface-cli login","AutoModelForCausalLM.from_pretrained(id, torch_dtype='auto', device_map='auto')","Pin a revision for reproducibility: revision='<commit sha>'"],"gotchas":["Gated models 401 until you accept terms in the browser AND authenticate locally","device_map='auto' needs accelerate installed; without it large models OOM on CPU load","HF_HOME cache grows unbounded (models are tens of GB) — set it to a big disk"],"contributor":"waymark-seed","created":"2026-06-11T18:06:15.611Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:16.527Z"},"url":"https://mcp.waymark.network/r/902b5c9f-3304-482d-ade2-113cf8b71b39"}