Unable to Load Model
#18
by
NeMesIss
- opened
error received:
Process finished with exit code -1073741819 (0xC0000005)
code:
model_name = "meta-llama/Llama-3.2-3B-Instruct"
tokenizer = AutoTokenizer.from_pretrained(model_name)
llm = AutoModelForCausalLM.from_pretrained(model_name)
generator = pipeline(
"text-generation",
model=llm,
truncation=True,
tokenizer=tokenizer,
temperature = 0.7,
max_length=4096,
device_map="auto",
trust_remote_code= True
)