HuskyInSalt / CRAG

Corrective Retrieval Augmented Generation
298 stars 29 forks source link

Error when loading model #15

Open hummingbird2030 opened 6 months ago

hummingbird2030 commented 6 months ago

Thanks for your great work! I download the retrieval evaluator in https://drive.google.com/drive/folders/1CRFGsyNguXJwKSvFvJm_82GOOlkWSkW7, I failed to load the model. The problem is OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory. It seems like something wrong with the files. I wonder how to fix this problem. Thanks!

HuskyInSalt commented 5 months ago

Hi @hummingbird2030 ! I retried the code without the error you mentioned, the files mentioned in the problem are not required to load the model in our code. I was wondering if there is any discrepancy in the created environment or maybe some other reasons.