HarderThenHarder / transformers_tasks

⭐️ NLP Algorithms with transformers lib. Supporting Text-Classification, Text-Generation, Information-Extraction, Text-Matching, RLHF, SFT etc.
https://www.zhihu.com/column/c_1451236880973426688
2.11k stars 376 forks source link

大佬们看到help!!TypeError: tuple indices must be integers or slices, not str #87

Open 11pomelo opened 3 months ago

11pomelo commented 3 months ago

在运行llm_classification.py时会报错TypeError: tuple indices must be integers or slices, not str, 图片 我该怎么修改代码呀,小白真的不会