Unable to load the model to perform the text to sql operations

#3
by PradeepVanapalli - opened

I am trying to download the checkpoints and trying to load with but it is showing the error as t5 is not supported yet. And below error as well "ValueError: The state dictionary of the model you are trying to load is corrupted. Are you sure it was properly saved?"

the downloading and loading of checkpoints code given below:
base_model = LlamaForCausalLM.from_pretrained(
"charanhu/text_to_sql_2",
load_in_8bit=True,
low_cpu_mem_usage=True
)

Sign up or log in to comment