Keyerror when load galactica-30b
BruceStayHungry opened this issue · 1 comments
BruceStayHungry commented
Great work! When I load galactica-30b, it shows KeyError: 'decoder.layers.34.final_layer_norm.bias'
I have downloaded the model into my disk. The key error occurred when running the following code:
model_path = "local-model-path"
tokenizer = AutoTokenizer.from_pretrained(model_path)
model = OPTForCausalLM.from_pretrained(model_path, device_map="auto", torch_dtype=torch.float16)
Thanks for any help!
mkardas commented
Hi @BruceStayHungry, we fixed the 30B checkpoint. Can you check if it works now?