Easy-Transformer icon indicating copy to clipboard operation
Easy-Transformer copied to clipboard

OSError: gpt2 does not appear to have a file named config.json. Checkout 'https://huggingface.co/gpt2/None' for available files.

Open Iust1n2 opened this issue 6 months ago • 0 comments

I get an error loading gpt-2small when I run:

model = HookedTransformer.from_pretrained(
    "gpt2-small",
    center_unembed=True,
    center_writing_weights=True,
    fold_ln=True,
    refactor_factored_attn_matrices=True,
)

My environment is:

transformer_lens==1.6.1
transformers==4.35.2
tokenizers==0.15.0

Iust1n2 avatar Jul 29 '24 13:07 Iust1n2