{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreiaqneunabljrbknfhx5x64tpyibbye4wpj7qejl52uuegqhitjvue",
    "uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mja555mqlx42"
  },
  "path": "/t/training-t5-small-custom-training-task-and-dealing-with-unknown-input/175166#post_1",
  "publishedAt": "2026-04-11T07:45:03.000Z",
  "site": "https://discuss.huggingface.co",
  "textContent": "Hi I have been working on training t5-small to do a cusgom task for example\n\nEndorsement A: Fraudulent Claims Clause – SA200\n\nand convert it to\n\nFraudulent Clause – SA200;\n\nThis is a very contrived example but hopefully you get the idea.\n\nSo after training the model is outputting im getting is quite good.\n\nThe problem I have come across is what the model does if it gets a pievce of text it doesnt understand -\n\n“Hi my name is t5.”\n\nI would like the model to output nothing. Instead T5 attempts a translation task instead.\n\ni would really like to it output nothing in this case.\n\nWhati have done so far\n\n  1. I played around with appending “summarize” to the input text. But i dont think this is the correct task as it “kind of” worked but removed more text from the original input than i would of liked\n\n\n\nAny ideas of how i can handle input that doesn’t match with the specific task i am doing?\n\nThank you.",
  "title": "Training t5 small, custom training task and dealing with unknown input"
}