antony-pk-g
commited on
Commit
•
894050f
1
Parent(s):
c98a8cc
description and model changed
Browse files
app.py
CHANGED
@@ -14,9 +14,9 @@ token = os.environ["HF_TOKEN"]
|
|
14 |
|
15 |
|
16 |
model = AutoModelForCausalLM.from_pretrained(
|
17 |
-
"
|
18 |
)
|
19 |
-
tok = AutoTokenizer.from_pretrained("
|
20 |
terminators = [
|
21 |
tok.eos_token_id,
|
22 |
]
|
@@ -91,7 +91,7 @@ demo = gr.ChatInterface(
|
|
91 |
),
|
92 |
],
|
93 |
stop_btn="Stop Generation",
|
94 |
-
title="Chat With
|
95 |
-
description="Now Running [
|
96 |
)
|
97 |
demo.launch()
|
|
|
14 |
|
15 |
|
16 |
model = AutoModelForCausalLM.from_pretrained(
|
17 |
+
"antony-pk/Phi-3-mini-4k-instruct-ultrachat200k", token=token,trust_remote_code=True
|
18 |
)
|
19 |
+
tok = AutoTokenizer.from_pretrained("antony-pk/Phi-3-mini-4k-instruct-ultrachat200k", token=token)
|
20 |
terminators = [
|
21 |
tok.eos_token_id,
|
22 |
]
|
|
|
91 |
),
|
92 |
],
|
93 |
stop_btn="Stop Generation",
|
94 |
+
title="Chat With antony-pk/Phi-3-mini-4k-instruct-ultrachat200k model",
|
95 |
+
description="Now Running [antony-pk/Phi-3-mini-4k-instruct-ultrachat200k](https://huggingface.com/antony-pk/Phi-3-mini-4k-instruct-ultrachat200k)"
|
96 |
)
|
97 |
demo.launch()
|