Upload app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ DEFAULT_MAX_NEW_TOKENS = 1024
|
|
12 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
13 |
ACCESS_TOKEN = os.getenv("HF_TOKEN", "")
|
14 |
|
15 |
-
model_id = "Qwen/Qwen2.5-Coder-
|
16 |
|
17 |
model = AutoModelForCausalLM.from_pretrained(
|
18 |
model_id,
|
@@ -104,7 +104,7 @@ chat_interface = gr.Interface(
|
|
104 |
value=1.0,
|
105 |
),
|
106 |
],
|
107 |
-
title="Model testing - Qwen/Qwen2.5-Coder-
|
108 |
description="Provide system settings and a prompt to interact with the model.",
|
109 |
)
|
110 |
|
|
|
12 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
13 |
ACCESS_TOKEN = os.getenv("HF_TOKEN", "")
|
14 |
|
15 |
+
model_id = "Qwen/Qwen2.5-Coder-3B-Instruct"
|
16 |
|
17 |
model = AutoModelForCausalLM.from_pretrained(
|
18 |
model_id,
|
|
|
104 |
value=1.0,
|
105 |
),
|
106 |
],
|
107 |
+
title="Model testing - Qwen/Qwen2.5-Coder-3B-Instruct",
|
108 |
description="Provide system settings and a prompt to interact with the model.",
|
109 |
)
|
110 |
|