Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ llm = Llama(
|
|
10 |
repo_id=os.environ.get("REPO_ID", "mradermacher/Atlas-Chat-2B-GGUF"),
|
11 |
filename=os.environ.get("MODEL_FILE", "Atlas-Chat-2B.Q8_0.gguf"),
|
12 |
),
|
13 |
-
n_ctx=
|
14 |
)
|
15 |
|
16 |
# Training prompt format for Atlas-Chat style conversation
|
@@ -77,7 +77,7 @@ demo = gr.ChatInterface(
|
|
77 |
undo_btn="Delete Previous",
|
78 |
clear_btn="Clear",
|
79 |
additional_inputs=[
|
80 |
-
gr.Slider(minimum=1, maximum=
|
81 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
82 |
gr.Slider(
|
83 |
minimum=0.1,
|
|
|
10 |
repo_id=os.environ.get("REPO_ID", "mradermacher/Atlas-Chat-2B-GGUF"),
|
11 |
filename=os.environ.get("MODEL_FILE", "Atlas-Chat-2B.Q8_0.gguf"),
|
12 |
),
|
13 |
+
n_ctx=2048,
|
14 |
)
|
15 |
|
16 |
# Training prompt format for Atlas-Chat style conversation
|
|
|
77 |
undo_btn="Delete Previous",
|
78 |
clear_btn="Clear",
|
79 |
additional_inputs=[
|
80 |
+
gr.Slider(minimum=1, maximum=768, value=256, step=1, label="Max new tokens"),
|
81 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
82 |
gr.Slider(
|
83 |
minimum=0.1,
|