datamllab / LongLM

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

None error check #12

Closed leotam closed 5 months ago

leotam commented 5 months ago

None detection to prevent: TypeError: unsupported operand type(s) for *: 'NoneType' and 'Tensor'