Downloads · 30 days
2
3% of all-time downloads
Akshayram1/omnibrowser-planner-1p5b-q4f16_1-MLC
omnibrowser-planner-1p5b-q4f16_1-MLC is a text generation model from Akshayram1. Use it when you need the model to write or continue text. It is set up for mlc-llm. The card lists the license as mit.
A custom fine-tuned and quantized planner model for the omnibrowser-agent — a local-first, privacy-focused browser AI operator that runs entirely in the browser via WebGPU.
Downloads · 30 days
2
3% of all-time downloads
All-time downloads
72
Public
Repo size
869 MB
Likes
1
Public
Click a slice to open those files.
.bin869 MB · 99%
From the Hugging Face model README
A custom fine-tuned and quantized planner model for the omnibrowser-agent — a local-first, privacy-focused browser AI operator that runs entirely in the browser via WebGPU.
This model is the MLC/WebLLM-ready quantized version (q4f16_1) of the fine-tuned planner, designed to run on-device with zero API calls and no cloud costs.
| Property | Value |
|---|---|
| Base model | Qwen/Qwen2.5-1.5B-Instruct |
| Fine-tuning method | LoRA (r=16, alpha=32) |
| Training hardware | Google Colab TPU v2-8 |
| Training precision | bfloat16 |
| Quantization | q4f16_1 (4-bit weights, float16 activations) |
| Quantization format | MLC-LLM (WebLLM compatible) |
| Inference target | In-browser via WebGPU (WebLLM) |
| Max sequence length | 512 tokens |
| Parameters | ~1.5B |
This model acts as a browser action planner. Given a high-level user goal (e.g., "Search contact John Doe in CRM and open profile"), it generates structured browser actions like click, type, navigate, extract, scroll, and done.
It was fine-tuned on a custom dataset (omnibrowser_planner_train.jsonl) of goal → action sequence pairs, covering common web automation patterns.
Qwen/Qwen2.5-1.5B-Instructq_proj, k_proj, v_proj, o_proj, up_proj, down_proj, gate_projThis model is designed to run inside the browser using WebLLM via the omnibrowser-agent library.
import { createBrowserAgent } from "@akshayram1/omnibrowser-agent";
// 1. Set up the WebLLM bridge on the window object
// (see docs/EMBEDDING.md in the omnibrowser-agent repo for full example)
window.__browserAgentWebLLM = {
generate: async (prompt) => {
// your WebLLM engine call here
return await engine.chat.completions.create({ ... });
}
};
// 2. Create and run the agent
const agent = createBrowserAgent({
goal: "Open CRM and find customer John Smith",
mode: "human-approved",
planner: { kind: "webllm" }
}, {
onStep: (result) => console.log(result.message),
onApprovalRequired: (action) => console.log("Needs approval:", action),
onDone: (result) => console.log("Done:", result.message),
onMaxStepsReached: (session) => console.log("Max steps hit", session.history)
});
await agent.start();
// Resume after human approval step:
await agent.resume();
// Stop at any time:
agent.stop();
const controller = new AbortController();
const agent = createBrowserAgent({
goal: "Navigate to the settings page",
signal: controller.signal,
planner: { kind: "webllm" }
});
agent.start();
// Cancel from outside:
controller.abort();
import * as webllm from "https://esm.run/@mlc-ai/web-llm";
const engine = await webllm.CreateMLCEngine(
"omnibrowser-planner-q4f16_1", // custom model ID
{
model_list: [
{
model: "https://huggingface.co/Akshayram1/omnibrowser-planner-1p5b-q4f16_1-MLC",
model_id: "omnibrowser-planner-q4f16_1",
model_lib: webllm.modelLibURLPrefix + webllm.modelVersion + "/Qwen2.5-1.5B-Instruct-q4f16_1-ctx4k_cs1k-webgpu.wasm",
}
]
}
);
Note: The
.wasmmodel library is shared with the baseQwen2.5-1.5B-Instruct-q4f16_1since the architecture is identical — only the weights differ.
The model outputs structured actions in the following format:
| Action | Description |
|---|---|
click | Click an element by CSS selector |
type | Type text into an input or textarea |
navigate | Navigate to a URL |
extract | Extract text from an element |
scroll | Scroll a container or the page |
focus | Focus an element (e.g. dropdowns) |
wait | Pause for N milliseconds |
done | Signal task completion |
Input goal:
Navigate to https://example.com
Expected model output (action JSON):
{
"action": "navigate",
"url": "https://example.com"
}
webllm mode requires a WebGPU-capable browser (Chrome 113+, Edge 113+)docs/EMBEDDING.md in the reponotebook/custom_quantized_llm_colab_copy.ipynbMIT © Akshay Chame
If you use this model or the omnibrowser-agent library, please link back to the GitHub repo.