WebProcessor-v1 / README.md
Ameen
Upload OSINT-Web - Web-based ONNX model for in-browser inference (14GB)
d14e3e8 verified
|
Raw
History Blame
3.02 kB
---
license: apache-2.0
base_model: huihui-ai/Huihui-Qwen3-4B-abliterated-v2
language:
- en
tags:
- onnx
- qwen3
- transformers.js
- webgpu
- investigative-journalism
- osint
- conversational
---
# qwen3-4b-abliterated-v2-journalist-ONNX
ONNX/WebGPU export of [tomvaillant/qwen3-4b-abliterated-v2-journalist](https://huggingface.co/tomvaillant/qwen3-4b-abliterated-v2-journalist), a compact investigative journalism and OSINT fine-tune based on [huihui-ai/Huihui-Qwen3-4B-abliterated-v2](https://huggingface.co/huihui-ai/Huihui-Qwen3-4B-abliterated-v2).
This repo is intended for local browser inference with [Transformers.js](https://github.com/huggingface/transformers.js) and WebGPU.
## Usage
```javascript
import { AutoTokenizer, AutoModelForCausalLM } from "@huggingface/transformers";
const modelId = "tomvaillant/qwen3-4b-abliterated-v2-journalist-ONNX";
const tokenizer = await AutoTokenizer.from_pretrained(modelId);
const model = await AutoModelForCausalLM.from_pretrained(modelId, {
dtype: "q4",
device: "webgpu",
});
const messages = [
{ role: "user", content: "What records should I check to verify who owns a local company?" },
];
const inputs = tokenizer.apply_chat_template(messages, {
add_generation_prompt: true,
return_dict: true,
enable_thinking: false,
});
const output = await model.generate({ ...inputs, max_new_tokens: 512 });
console.log(tokenizer.decode(output[0], { skip_special_tokens: true }));
```
## Files
- `onnx/model_q4.onnx`
- `onnx/model_q4.onnx_data*`
- `genai_config.json`
- tokenizer and chat-template files
## Training And Conversion
- **Adapter:** [tomvaillant/qwen3-4b-abliterated-v2-journalist](https://huggingface.co/tomvaillant/qwen3-4b-abliterated-v2-journalist)
- **Merged checkpoint:** [tomvaillant/qwen3-4b-abliterated-v2-journalist-merged](https://huggingface.co/tomvaillant/qwen3-4b-abliterated-v2-journalist-merged)
- **Training:** QLoRA with [Unsloth](https://github.com/unslothai/unsloth) + TRL SFT
- **ONNX export:** `onnxruntime-genai` int4 export with external data split for browser loading
- **Dataset:** `tomvaillant/investigative-journalism-training`
## Sources And Attribution
Training data covers OSINT tool selection, verification methodology, financial investigation, digital security, sourcing, media law, ethics, and investigative writing.
Key sources include [tomvaillant/osint-tool-database](https://huggingface.co/datasets/tomvaillant/osint-tool-database), Indicator Media briefing tools, Buried Signals skill repositories, GIJN resources, Bellingcat guides, Verification Handbook 3, SPJ Code of Ethics, RCFP resources, and public investigative manuals from UNESCO, Al Jazeera Media Institute, CiFAR, CIPE, and EJF/TEMPO Institute.
Full attribution is maintained in the training repository as `SOURCES.md`.
## Intended Use
Built for in-browser investigative assistance in OSINT workflows. Treat generated tool recommendations, URLs, and factual claims as research leads requiring independent verification.