Update example code
#3
by
jalbarracin
- opened
In the provided example you are using: model_id = "edumunozsala/llama-2-7b-int4-python-code-20k"
but in the code you try to load it with "hf_model_repo":
model = AutoModelForCausalLM.from_pretrained(hf_model_repo, load_in_4bit=True, torch_dtype=torch.float16, device_map=device_map)
I believe you should use hf_model_id there.
Upssss, yes, you are right. I am going to fix it right now!
Thank you!!
Best!