Update README.md
Browse files
README.md
CHANGED
@@ -45,9 +45,9 @@ This code snippets show how to get quickly started with running the model on a G
|
|
45 |
pip install peft transformers bitsandbytes accelerate
|
46 |
```
|
47 |
```python
|
48 |
-
from
|
49 |
from transformers import AutoTokenizer
|
50 |
-
model =
|
51 |
"rishiraj/Phi-3-mini-4k-ORPO",
|
52 |
load_in_4bit = True,
|
53 |
)
|
|
|
45 |
pip install peft transformers bitsandbytes accelerate
|
46 |
```
|
47 |
```python
|
48 |
+
from transformers import AutoModelForCausalLM
|
49 |
from transformers import AutoTokenizer
|
50 |
+
model = AutoModelForCausalLM.from_pretrained(
|
51 |
"rishiraj/Phi-3-mini-4k-ORPO",
|
52 |
load_in_4bit = True,
|
53 |
)
|