@akshayram1/omnibrowser-agent 0.2.29 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,39 @@
1
+ # Custom Quantized LLM Notebook Assets
2
+
3
+ This folder contains everything needed to bootstrap a custom OmniBrowser planner model using Google Colab:
4
+
5
+ - `custom_quantized_llm_colab.ipynb` — QLoRA fine-tune + MLC quantization workflow.
6
+ - `data/omnibrowser_planner_train.jsonl` — starter training dataset (500 rows, JSONL chat format).
7
+ - `scripts/generate_dataset.mjs` — generates chain-based training data that matches `src/core/prompt.ts`.
8
+ - `scripts/validate_dataset.mjs` — validates assistant JSON shape + selector correctness.
9
+
10
+ ## Generate dataset
11
+
12
+ ```bash
13
+ node notebook/scripts/generate_dataset.mjs 300 notebook/data/omnibrowser_planner_train.jsonl
14
+ ```
15
+
16
+ With explicit seed:
17
+
18
+ ```bash
19
+ node notebook/scripts/generate_dataset.mjs 500 notebook/data/omnibrowser_planner_train.jsonl 1337
20
+ ```
21
+
22
+ ## Validate dataset
23
+
24
+ ```bash
25
+ node notebook/scripts/validate_dataset.mjs notebook/data/omnibrowser_planner_train.jsonl
26
+ ```
27
+
28
+ ## Colab usage
29
+
30
+ 1. Upload `notebook/data/omnibrowser_planner_train.jsonl` to Colab.
31
+ 2. Open and run `notebook/custom_quantized_llm_colab.ipynb`.
32
+ 3. Set your Hugging Face repo names inside the notebook cells.
33
+ 4. Train, merge, quantize (`q4f16_1`), and upload.
34
+
35
+ ## Notes
36
+
37
+ - The dataset is intentionally a starter baseline; expand to 200-500+ high-quality real traces before final training.
38
+ - Rows are generated as linked 3-5 step chains with accumulated history/memory and 6-15 distractor candidates per step.
39
+ - Keep selector strings exact. Any mismatch between candidates and `action.selector` will degrade planner reliability.