bazingagin / npc_gzip

Code for Paper: “Low-Resource” Text Classification: A Parameter-Free Classification Method with Compressors
MIT License
1.77k stars 156 forks source link

fix bug caused by annotation #22

Closed StudyingLover closed 1 year ago

StudyingLover commented 1 year ago

I notice that your annotation have some problems ,which may cause code can't run normally.Here are some examples. image image

EliahKagan commented 1 year ago

These are bugs #19 and #20. I had proposed a fix for them in #21, and this PR might be considered a duplicate of that one, but I don't want to assume that until I've looked at the differences in detail (our proposed changes are not exactly the same).

bazingagin commented 1 year ago

Hey @StudyingLover I think the problem is fixed by @EliahKagan, seems like it's duplicated. Thanks @EliahKagan for fixing the problems I induced 😅.