iLampard / lamp

PyTorch implementation of the paper "Language Models Can Improve Event Prediction by Few-Shot Abductive Reasoning", NeurIPS 2023
Apache License 2.0
49 stars 6 forks source link

Error: weights must be 2D #1

Closed arunksagotra closed 10 months ago

arunksagotra commented 11 months ago

Hi,

Thanks for the code. I am trying to run the code for gdelt data. I am getting an error. I have added the screen shot of the error. error

s2014628 commented 10 months ago

i have faced the same issue darling pls help

iLampard commented 10 months ago

Hi,

what's your torch version?

you should use 1.x version instead of 2.0.

Maple728 commented 10 months ago

We will fix the compatibility issue with the torch version (1.x and 2.x) as soon as possible.

iLampard commented 10 months ago

@s2014628 @arunksagotra the compatibility issue has been fixed in the master branch