Downloads · 30 days
0
0% of all-time downloads
dcregg/hintgemma-dpo-q4f16_1-MLC
hintgemma-dpo-q4f16_1-MLC is a machine learning model from dcregg. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlc-llm. The card lists the license as gemma.
A LoRA fine-tune of gemma-2-2b-it that writes Socratic mathematics hints for STACK questions without revealing answers, packaged for in-browser use with WebLLM. Built for the Moodle plugin localstackhinter (the plugin's
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
16
Public
Repo size
1.5 GB
Likes
0
Public
Click a slice to open those files.
.bin1.5 GB · 97%
From the Hugging Face model README
A LoRA fine-tune of gemma-2-2b-it that writes Socratic mathematics hints for
STACK questions without revealing answers, packaged for
in-browser use with WebLLM. Built for the Moodle plugin
local_stackhinter (the plugin's
"custom on-device model" setting), where the model runs entirely in the student's browser:
no API key, and the teacher answer never leaves the server.
stack-question-forge research paper (§5.6) and
research/data/verbal_leak_adjudication.json in that repository.This is a q4f16_1 conversion (context 4096, prefill 2048, gemma_instruction template) that
reuses the prebuilt gemma-2-2b-it model library:
const appConfig = {model_list: [{
model: "https://huggingface.co/dcregg/hintgemma-dpo-q4f16_1-MLC",
model_id: "hintgemma-dpo-q4f16_1-MLC",
model_lib: "https://raw.githubusercontent.com/mlc-ai/binary-mlc-llm-libs/main/web-llm-models/v0_2_84/base/gemma-2-2b-it-q4f16_1_cs1k-webgpu.wasm",
overrides: {context_window_size: 4096},
}]};
const engine = await webllm.CreateMLCEngine("hintgemma-dpo-q4f16_1-MLC", {appConfig});
Derivative of Gemma (Google), distributed under and subject to the Gemma Terms of Use. Fine-tuning data was synthetic mathematics-tutoring text generated and judged by open models; no student or personal data.