Spaces:
Runtime error
Runtime error
adhisetiawan
commited on
Commit
β’
55f8df5
1
Parent(s):
bd2b1d8
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from peft import AutoPeftModelForCausalLM
|
|
6 |
from threading import Thread
|
7 |
|
8 |
# Load the fine-tuned model and tokenizer
|
9 |
-
new_model = "
|
10 |
model = AutoPeftModelForCausalLM.from_pretrained(new_model,
|
11 |
low_cpu_mem_usage=True,
|
12 |
torch_dtype=torch.float16,
|
|
|
6 |
from threading import Thread
|
7 |
|
8 |
# Load the fine-tuned model and tokenizer
|
9 |
+
new_model = "adhisetiawan/phi2_DPO"
|
10 |
model = AutoPeftModelForCausalLM.from_pretrained(new_model,
|
11 |
low_cpu_mem_usage=True,
|
12 |
torch_dtype=torch.float16,
|