Update README.md
Browse files
README.md
CHANGED
@@ -48,8 +48,9 @@ Here's a full-fledged example:
|
|
48 |
import torch
|
49 |
import transformers
|
50 |
|
|
|
51 |
model: transformers.PreTrainedModel = transformers.AutoModelForCausalLM.from_pretrained(
|
52 |
-
|
53 |
low_cpu_mem_usage=True,
|
54 |
device_map="auto",
|
55 |
trust_remote_code=True,
|
|
|
48 |
import torch
|
49 |
import transformers
|
50 |
|
51 |
+
model_name_or_path = "lxuechen/phi-2-dpo"
|
52 |
model: transformers.PreTrainedModel = transformers.AutoModelForCausalLM.from_pretrained(
|
53 |
+
model_name_or_path,
|
54 |
low_cpu_mem_usage=True,
|
55 |
device_map="auto",
|
56 |
trust_remote_code=True,
|