【Bug已解决】Allow TextClassificationPipeline to handle input longer than model_max_length tokens 解决方案
【Bug已解决】Allow TextClassificationPipeline to handle input longer than model_max_length tokens 解决方案
一、现象长什么样
用 text-classification pipeline 对一段超过模型 model_max_length 的文本做分类时,行为不符合预期:
# 现象 A&#x…
2026/8/7 19:12:06