OpenMatch / TASTE

[CIKM 2023] This is the code repo for our CIKM‘23 paper "Text Matching Improves Sequential Recommendation by Reducing Popularity Biases".
MIT License
34 stars 4 forks source link

One bug I meet when I reproduce your work #9

Closed virtual-world-oss closed 11 months ago

virtual-world-oss commented 11 months ago

When I reproduce your work, I meet the bug in transformers.trainer.py. The bug is image The bug means 'inputs' should be a dict, but it is a list at runtime. I check the source of the inputs and discover that it comes from eval_dataloader. I have no idea what cause the bug. Maybe transformers version? Can you provide some ideas to solve this bug? Thank you very much.

mssssss123 commented 11 months ago

Hi, I think you have the same problem as them #3 #8 . This is a problem caused by the Transformer version being high. Using versions below 4.24.0 should not have this problem. Hope this helps you solve this problem.

virtual-world-oss commented 11 months ago

Thank you for your reply. I will try a lower version.