{
 "schema_version": "1.7.0",
 "id": "x_NXMC-2024-0054",
 "modified": "2026-10-19T02:33:38.839Z",
 "published": "2026-10-18T09:00:52.565Z",
 "summary": "Phi-3-mini-4k-instruct: tokenizer change at 4f818b1 (2024-07-01)",
 "details": "Phi-3-mini-4k-instruct: the chat template changed and renders differently (system+user, multi-turn, tool-call); prompts rendered with the old one no longer match what the model now expects, so cached prompts and eval sets need re-rendering; add_bos_token true to false; encoding the same text yields different ids (2024-07-01).\n\nRepository: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct. Revisions from 4f818b18e097c9ae8f93a29a57027cad54b75304 onward carry this change; a pin at ff07dc01615f8113924aed013115ab2abd32115b or earlier does not.\n\nChanged keys:\n- tokenizer add_bos_token: true -> false (tokenizer)\n- tokenizer chat_template_sha256: 268b6082ceb7176d -> dcaee66df77bfbb7 (template)\n\nThis record says what the change does mechanically. It is not a report that anything broke for anyone.",
 "affected": [
  {
   "ranges": [
    {
     "type": "GIT",
     "repo": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
     "events": [
      {
       "introduced": "4f818b18e097c9ae8f93a29a57027cad54b75304"
      }
     ]
    }
   ],
   "database_specific": {
    "model": "microsoft/Phi-3-mini-4k-instruct",
    "previous_revision": "ff07dc01615f8113924aed013115ab2abd32115b"
   }
  }
 ],
 "references": [
  {
   "type": "INTRODUCED",
   "url": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct/commit/4f818b18e097c9ae8f93a29a57027cad54b75304"
  },
  {
   "type": "PACKAGE",
   "url": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct"
  },
  {
   "type": "WEB",
   "url": "https://www.neurarch.com/changes-feeds/models/microsoft/Phi-3-mini-4k-instruct.html"
  }
 ],
 "database_specific": {
  "source": "neurarch model change tracker",
  "model": "microsoft/Phi-3-mini-4k-instruct",
  "kind": "tokenizer",
  "classes": [
   "tokenizer",
   "template"
  ],
  "changed_keys": [
   {
    "file": "tokenizer",
    "key": "add_bos_token",
    "before": true,
    "after": false,
    "class": "tokenizer"
   },
   {
    "file": "tokenizer",
    "key": "chat_template_sha256",
    "before": "268b6082ceb7176d",
    "after": "dcaee66df77bfbb7",
    "class": "template"
   }
  ],
  "impact": {
   "memory": false,
   "serving": true,
   "tokenizer": true,
   "licence": null
  },
  "breaking": true,
  "breaking_rule": "https://www.neurarch.com/changes-feeds/advisories/index.json#breaking_rule",
  "consequence": {
   "params": null,
   "weightsGbBf16": null,
   "trainPeakGb": null,
   "fingerprint": null,
   "context": null,
   "eos": null,
   "bos": null
  },
  "commit_date": "2024-07-01T20:40:14.000Z",
  "detected_at": "2026-10-18T09:00:52.565Z",
  "detected_by": "backfill",
  "days_since_first_commit": 70,
  "license": "CC-BY-4.0"
 }
}
