diff --git a/src/config.ts b/src/config.ts index 5cd526ff..202289b2 100644 --- a/src/config.ts +++ b/src/config.ts @@ -963,6 +963,34 @@ export const prebuiltAppConfig: AppConfig = { context_window_size: 4096, }, }, + // Gemma2-2b-jpn + { + model: "https://huggingface.co/mlc-ai/gemma-2-2b-jpn-it-q4f16_1-MLC", + model_id: "gemma-2-2b-jpn-it-q4f16_1-MLC", + model_lib: + modelLibURLPrefix + + modelVersion + + "/gemma-2-2b-jpn-it-q4f16_1-ctx4k_cs1k-webgpu.wasm", + vram_required_MB: 1895.3, + low_resource_required: true, + required_features: ["shader-f16"], + overrides: { + context_window_size: 4096, + }, + }, + { + model: "https://huggingface.co/mlc-ai/gemma-2-2b-jpn-it-q4f32_1-MLC", + model_id: "gemma-2-2b-jpn-it-q4f32_1-MLC", + model_lib: + modelLibURLPrefix + + modelVersion + + "/gemma-2-2b-jpn-it-q4f32_1-ctx4k_cs1k-webgpu.wasm", + vram_required_MB: 2508.75, + low_resource_required: true, + overrides: { + context_window_size: 4096, + }, + }, // Qwen-2 { model: "https://huggingface.co/mlc-ai/Qwen2.5-0.5B-Instruct-q4f16_1-MLC",