Skip to content

Commit a76fe8d

Browse files
committed
fix(gpt-bot): Prioritize DeepSeek-R1 1.5B with Qwen 2.5 fallback
1 parent c0cbefd commit a76fe8d

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

demos/chatbot-evolution/js/gpt-bot.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ export class GPTBot {
1717
this.loadAttempt = 0;
1818

1919
this.models = [
20-
{
21-
name: 'onnx-community/Qwen2.5-0.5B-Instruct',
22-
displayName: 'Qwen 2.5 0.5B',
23-
dtype: 'q4',
24-
params: '0.5B',
25-
year: 2024,
26-
org: 'Alibaba'
27-
},
2820
{
2921
name: 'onnx-community/DeepSeek-R1-Distill-Qwen-1.5B-ONNX',
3022
displayName: 'DeepSeek-R1 1.5B',
@@ -34,8 +26,8 @@ export class GPTBot {
3426
org: 'DeepSeek'
3527
},
3628
{
37-
name: 'onnx-community/Qwen2.5-Coder-0.5B-Instruct',
38-
displayName: 'Qwen 2.5 Coder 0.5B',
29+
name: 'onnx-community/Qwen2.5-0.5B-Instruct',
30+
displayName: 'Qwen 2.5 0.5B',
3931
dtype: 'q4',
4032
params: '0.5B',
4133
year: 2024,

tests/test-gpt-bot-debug.mjs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,14 @@ console.log('=== GPT Bot Debug Test ===');
1212
console.log('Testing exact models from gpt-bot.js\n');
1313

1414
const models = [
15-
{
16-
name: 'onnx-community/Qwen2.5-0.5B-Instruct',
17-
displayName: 'Qwen 2.5 0.5B',
18-
dtype: 'q4',
19-
},
2015
{
2116
name: 'onnx-community/DeepSeek-R1-Distill-Qwen-1.5B-ONNX',
2217
displayName: 'DeepSeek-R1 1.5B',
2318
dtype: 'q4',
2419
},
2520
{
26-
name: 'onnx-community/Qwen2.5-Coder-0.5B-Instruct',
27-
displayName: 'Qwen 2.5 Coder 0.5B',
21+
name: 'onnx-community/Qwen2.5-0.5B-Instruct',
22+
displayName: 'Qwen 2.5 0.5B',
2823
dtype: 'q4',
2924
}
3025
];

0 commit comments

Comments
 (0)