{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreif76iookahbhn6enm46qmgysyi4omqlg6aehc3vhqc35e3fhe2osm",
    "uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mipnvzbts7o2"
  },
  "path": "/t/summarization-model-doesnt-work/174952#post_4",
  "publishedAt": "2026-04-04T20:50:02.000Z",
  "site": "https://discuss.huggingface.co",
  "tags": [
    "However, I think it will throw an error with v5"
  ],
  "textContent": "Yeah. That works with Transformers v4. However, I think it will throw an error with v5. The second half maybe works as-is. (Colab used to run on v4 until recently, but v5 is now the default.)\n\nSince this is simply a Transformers version mismatch, if you run `!pip install -U \"transformers<5\"` beforehand and restart the Colab runtime, then the first half of the code should work as well, too.",
  "title": "Summarization model doesn't work"
}