mgbam commited on
Commit
c4e0ca4
·
verified ·
1 Parent(s): 7f99803

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +15 -14
index.js CHANGED
@@ -2,21 +2,22 @@
2
 
3
  import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers';
4
 
5
- // Front-end copy of the Python AVAILABLE_MODELS list for dropdown population:
6
  const AVAILABLE_MODELS = [
7
- { name: "Moonshot Kimi-K2", id: "moonshotai/Kimi-K2-Instruct" },
8
- { name: "DeepSeek V3", id: "deepseek-ai/DeepSeek-V3-0324" },
9
- { name: "DeepSeek R1", id: "deepseek-ai/DeepSeek-R1-0528" },
10
- { name: "ERNIE-4.5-VL", id: "baidu/ERNIE-4.5-VL-424B-A47B-Base-PT" },
11
- { name: "MiniMax M1", id: "MiniMaxAI/MiniMax-M1-80k" },
12
- { name: "Qwen3-235B-A22B", id: "Qwen/Qwen3-235B-A22B" },
13
- { name: "Qwen3-32B", id: "Qwen/Qwen3-32B" }, // newly added
14
- { name: "SmolLM3-3B", id: "HuggingFaceTB/SmolLM3-3B" },
15
- { name: "GLM-4.1V-9B-Thinking", id: "THUDM/GLM-4.1V-9B-Thinking" },
16
- { name: "LLaMA-2-70B-Chat", id: "meta-llama/Llama-2-70b-chat" }, // powerful addition
17
- { name: "Mistral-7B-Instruct", id: "mistralai/Mistral-7B-Instruct" }, // powerful addition
18
- { name: "Qwen3-235B-A22B-Instruct-2507", id: "Qwen/Qwen3-235B-A22B-Instruct-2507" },
19
- { name: "Qwen3-Coder-480B-A35B", id: "Qwen/Qwen3-Coder-480B-A35B-Instruct" }
 
20
  ];
21
 
22
  const modelSelect = document.getElementById('modelSelect');
 
2
 
3
  import { pipeline } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers';
4
 
5
+ // Frontend copy of the Python AVAILABLE_MODELS list for dropdown population:
6
  const AVAILABLE_MODELS = [
7
+ { name: "Moonshot KimiK2", id: "moonshotai/KimiK2Instruct" },
8
+ { name: "DeepSeek V3", id: "deepseekai/DeepSeekV30324" },
9
+ { name: "DeepSeek R1", id: "deepseekai/DeepSeekR10528" },
10
+ { name: "ERNIE4.5VL", id: "baidu/ERNIE4.5VL424BA47BBasePT" },
11
+ { name: "MiniMax M1", id: "MiniMaxAI/MiniMaxM180k" },
12
+ { name: "Qwen3235BA22B", id: "Qwen/Qwen3235BA22B" },
13
+ { name: "Qwen3‑235B‑A22B‑Instruct‑2507", id: "Qwen/Qwen3‑235B‑A22B‑Instruct‑2507" },
14
+ { name: "Qwen3‑Coder‑480B‑A35B", id: "Qwen/Qwen3‑Coder‑480B‑A35B‑Instruct" },
15
+ { name: "Qwen3‑32B", id: "Qwen/Qwen3‑32B" },
16
+ { name: "SmolLM3‑3B", id: "HuggingFaceTB/SmolLM3‑3B" },
17
+ { name: "GLM‑4.1V‑9B‑Thinking", id: "THUDM/GLM‑4.1V‑9B‑Thinking" },
18
+ { name: "OpenAI GPT‑4", id: "openai/gpt‑4" },
19
+ { name: "Gemini Pro", id: "gemini/pro" },
20
+ { name: "Fireworks AI", id: "fireworks‑ai/fireworks‑v1" }
21
  ];
22
 
23
  const modelSelect = document.getElementById('modelSelect');