datamllab / LongLM

[ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuning
https://arxiv.org/pdf/2401.01325.pdf
MIT License
610 stars 61 forks source link

TypeError: 'NoneType' object is not subscriptable #43

Open Lilly-25 opened 4 months ago

Lilly-25 commented 4 months ago

When trying to run predictions from a selfextended model im getting the above error TypeError: 'NoneType' object is not subscriptable but without applying selfextend() im not getting any error and am able to run predictions

Mooler0410 commented 3 months ago

Hi, if possible, could you please share the scripts? We are happy to assistant you to figure out what happens