HuggingFace bert-large-uncased gives NameError

Carl_B
New Contributor II

Hello,

I am trying to run the LLM bert-large-uncased from HuggingFace.

I have downloaded the transformers from github. I have installed the various packages. I am now getting an error message: NameError: name 'torch' is not defined.

Not sure what the problem is. Is pytorch not installed? Any help would be appreciated.

C