KeyError: 'cpmant'
#1
by
kimpty
- opened
when i download this model, it reports "KeyError: 'cpmant'"
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("openbmb/cpm-ant-10b")
Maybe you need to update transformers version. It needs transformers>=4.28.0.
kimpty
changed discussion status to
closed