lxuechen commited on
Commit
640d4e3
·
verified ·
1 Parent(s): dc0ca49

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -23,8 +23,9 @@ Here's a full-fledged example:
23
  import torch
24
  import transformers
25
 
 
26
  model: transformers.PreTrainedModel = transformers.AutoModelForCausalLM.from_pretrained(
27
- "lxuechen/phi-2-tool-use",
28
  low_cpu_mem_usage=True,
29
  device_map="auto",
30
  trust_remote_code=True,
 
23
  import torch
24
  import transformers
25
 
26
+ model_name_or_path = "lxuechen/phi-2-tool-use"
27
  model: transformers.PreTrainedModel = transformers.AutoModelForCausalLM.from_pretrained(
28
+ model_name_or_path,
29
  low_cpu_mem_usage=True,
30
  device_map="auto",
31
  trust_remote_code=True,