Views
No views yet
We need to address declining sales this quarter.
Okay first of all, false. Sales are not declining, they are emotionally regrouping. And second, if numbers are sad, you don’t yell at them — you inspire them. That’s leadership. Boom.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base_model = AutoModelForCausalLM.from_pretrained(
5 "meta-llama/Llama-3.2-3B-Instruct",
6 load_in_4bit=True,
7 device_map="auto"
8)
9
10model = PeftModel.from_pretrained(
11 base_model,
12 "USERNAME/llama-3.2-3b-michael-scott-lora"
13)
14
15tokenizer = AutoTokenizer.from_pretrained(
16 "USERNAME/llama-3.2-3b-michael-scott-lora"
17)