Add a link to try it online
Browse files
README.md
CHANGED
|
@@ -1,44 +1,46 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
base_model:
|
| 4 |
-
- Qwen/Qwen3-0.6B-Base
|
| 5 |
-
- YixuanEvenXu/Qwen3-0.6B-Base-HIP-adapter
|
| 6 |
-
pipeline_tag: text-generation
|
| 7 |
-
language:
|
| 8 |
-
- en
|
| 9 |
-
tags:
|
| 10 |
-
- onnx
|
| 11 |
-
- onnxruntime-web
|
| 12 |
-
- webgpu
|
| 13 |
-
- paraphrasing
|
| 14 |
-
- humanizer
|
| 15 |
-
---
|
| 16 |
-
|
| 17 |
-
# Qwen3-0.6B HIP humanizer (web, 4-bit ONNX)
|
| 18 |
-
|
| 19 |
-
A 4-bit ONNX build of the **HIP** paraphraser from *Base Models Look Human To AI Detectors* (Xu, Zhong, Raghunathan, Fang, Kolter, Carnegie Mellon University, 2026), made to run in a web browser with onnxruntime-web on WebGPU or the processor (WASM). It rewrites AI-sounding text into plainer, more natural prose.
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
- The
|
| 26 |
-
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
<
|
| 36 |
-
|
| 37 |
-
<
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- Qwen/Qwen3-0.6B-Base
|
| 5 |
+
- YixuanEvenXu/Qwen3-0.6B-Base-HIP-adapter
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
tags:
|
| 10 |
+
- onnx
|
| 11 |
+
- onnxruntime-web
|
| 12 |
+
- webgpu
|
| 13 |
+
- paraphrasing
|
| 14 |
+
- humanizer
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Qwen3-0.6B HIP humanizer (web, 4-bit ONNX)
|
| 18 |
+
|
| 19 |
+
A 4-bit ONNX build of the **HIP** paraphraser from *Base Models Look Human To AI Detectors* (Xu, Zhong, Raghunathan, Fang, Kolter, Carnegie Mellon University, 2026), made to run in a web browser with onnxruntime-web on WebGPU or the processor (WASM). It rewrites AI-sounding text into plainer, more natural prose.
|
| 20 |
+
|
| 21 |
+
Test it for free here : https://utilitydone.com/ai-humanizer
|
| 22 |
+
|
| 23 |
+
## What was changed
|
| 24 |
+
|
| 25 |
+
- The released LoRA adapter `YixuanEvenXu/Qwen3-0.6B-Base-HIP-adapter` was merged into `Qwen/Qwen3-0.6B-Base`.
|
| 26 |
+
- Converted with onnxruntime-genai 0.20 (`-p int4 -e cpu`, `block_size=32`, MatMul and Gather quantized, embeddings shared with the LM head), max positions 8192.
|
| 27 |
+
- The 4-bit `GatherBlockQuantized` embedding lookup was replaced by standard ONNX ops (Gather, BitShift, Sub, Cast, Mul) reading the same packed weights, because onnxruntime-web's WASM backend has no kernel for it. Outputs are identical (max logit difference 0.0).
|
| 28 |
+
- Saved as a single `model.onnx` (377 MB).
|
| 29 |
+
|
| 30 |
+
## Use
|
| 31 |
+
|
| 32 |
+
Prompt format (no chat template):
|
| 33 |
+
|
| 34 |
+
```
|
| 35 |
+
<source_text>
|
| 36 |
+
{text}
|
| 37 |
+
</source_text>
|
| 38 |
+
|
| 39 |
+
<target_text>
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
Generate until `</target_text>` or end of text. Settings used: temperature 0.7, top_p 0.9, repetition penalty 1.05, one pass. Inputs: `input_ids`, `attention_mask`, `past_key_values.{0-27}.{key,value}` (float32, `[1, 8, past, 128]`); outputs: `logits`, `present.*`.
|
| 43 |
+
|
| 44 |
+
## Licence and credits
|
| 45 |
+
|
| 46 |
+
Apache-2.0, like the Qwen3 base model and the HIP adapter. Credits: Qwen team (Qwen3-0.6B-Base); Yixuan Even Xu et al. (HIP, [arXiv:2605.19516](https://arxiv.org/abs/2605.19516), [code](https://github.com/YixuanEvenXu/humanization-by-iterative-paraphrasing)).
|