Update README.md
Browse files
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 |
-
|
| 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,
|