snap-stanford / GreaseLM

[ICLR 2022 spotlight]GreaseLM: Graph REASoning Enhanced Language Models for Question Answering
MIT License
228 stars 40 forks source link

Bert_large_model can't solved.. #17

Open AnwarsaeedDMU opened 3 months ago

AnwarsaeedDMU commented 3 months ago

I am trying to solve the error: ` File "D:\GreaseLM\modeling\modeling_greaselm.py", line 583, in from_pretrained raise EnvironmentError(msg)

I tried to download all files from https://huggingface.co/google-bert/bert-large-uncased/tree/main but still, I don't know where to set this file or where the path to it is. Please help me with that.

CRX1024 commented 2 months ago

在加载model的代码那里,将使用的model路径改到本地就可以运行了

Snail0528 commented 5 days ago

@CRX1024 请问可以具体说一下嘛