Update app.py
Browse files
app.py
CHANGED
@@ -20,10 +20,9 @@ subprocess.run(
|
|
20 |
|
21 |
|
22 |
model = AutoModelForCausalLM.from_pretrained(
|
23 |
-
"justinj92/phi3-orpo"
|
24 |
-
trust_remote_code=True,
|
25 |
)
|
26 |
-
tok = AutoTokenizer.from_pretrained("justinj92/phi3-orpo"
|
27 |
terminators = [
|
28 |
tok.eos_token_id,
|
29 |
]
|
@@ -98,6 +97,6 @@ demo = gr.ChatInterface(
|
|
98 |
],
|
99 |
stop_btn="Stop Generation",
|
100 |
title="Chat With LLMs",
|
101 |
-
description="Now Running
|
102 |
)
|
103 |
demo.launch()
|
|
|
20 |
|
21 |
|
22 |
model = AutoModelForCausalLM.from_pretrained(
|
23 |
+
"justinj92/phi3-orpo"
|
|
|
24 |
)
|
25 |
+
tok = AutoTokenizer.from_pretrained("justinj92/phi3-orpo")
|
26 |
terminators = [
|
27 |
tok.eos_token_id,
|
28 |
]
|
|
|
97 |
],
|
98 |
stop_btn="Stop Generation",
|
99 |
title="Chat With LLMs",
|
100 |
+
description="Now Running Phi3-ORPO",
|
101 |
)
|
102 |
demo.launch()
|