Downloads · 30 days
0
mujian2026/multilingual-ai-text-detector
multilingual-ai-text-detector is a text classification model from mujian2026. Use it when you need a label for a piece of text. It is set up for transformers.js. The card lists the license as mit.
<a href="https://mytoolster.com/ai-text-detector" title="Free Online AI Text Detector on MyToolster.com"<img src="https://mytoolster.com/assets/logo.png" alt="MyToolster.com Free Online AI Text Detector" width="64" he…
Downloads · 30 days
0
Access
Public
Updated Aug 29, 2026
Repo size
1.6 GB
Likes
0
Public
Click a slice to open those files.
.onnx1.6 GB · 97%
From the Hugging Face model README
<a href="https://mytoolster.com/ai-text-detector" title="Free Online AI Text Detector on MyToolster.com"><img src="https://mytoolster.com/assets/logo.png" alt="MyToolster.com Free Online AI Text Detector" width="64" height="64"></a>
English · 中文说明 · Source code · Free Online AI Text Detector on MyToolster.com
Free online AI text detector URL on MyToolster.com: https://mytoolster.com/ai-text-detector
Browser-ready ONNX derivatives of
bibbbu/multilingual-ai-human-detector_xlm-roberta-base,
exported at revision b4aa2e06d8428b4d27f2ef625267044d74b2eeb8 for local
inference with Transformers.js and onnxruntime-web.
This model is a screening signal. It is not a forensic authorship test and must not be treated as proof that a person did or did not use generative AI.
| Decision question | Answer |
|---|---|
| Primary audience | Frontend engineers, ML engineers, researchers, and product teams that need browser-side text screening |
| Recommended variant | q4, about 181 MB; use q8 if the runtime cannot execute the q4 graph |
| Reference variant | fp32, about 1.11 GB |
| Output | Two-class classification: human and ai |
| Evidence languages | English, Simplified Chinese, and Vietnamese in the upstream evaluation |
| Experimental website languages | English, Simplified Chinese, Traditional Chinese, and Japanese |
| Privacy model | The demo performs inference locally after public model files are downloaded |
| License | MIT for the published conversion project; retain upstream model attribution |
Use it when you need a JavaScript-callable ONNX model, want text to remain in the browser, or need a smaller q4/q8 alternative to a server-only detector. The important trade-offs are download size, first-load time, browser memory, operator support, and a reliable fallback path.
Use it as a reproducible browser packaging of an existing multilingual classifier. The source revision, conversion script, quantizers, fixtures, and report are available in the companion GitHub repository. The upstream benchmark and its small, in-domain test set should be reviewed before drawing conclusions.
Use it for a low-friction first-pass signal in writing, education, moderation, or content-quality workflows. It can reduce server-side inference work and keep ordinary input text out of an application API, but the result should be combined with writing history, source review, or human judgment.
Do not use this model as the sole basis for academic misconduct decisions, employment decisions, legal conclusions, or irreversible moderation actions.
| Variant | Approx. size | Best use | Trade-off |
|---|---|---|---|
q4 | 181 MB | Default browser download | Smallest file; requires q4 operator support |
q8 | 279 MB | Browser fallback | Larger file; broader quantized-runtime compatibility |
fp32 | 1.11 GB | Reference comparison or special deployment | Largest download and memory cost |
Recommended production chain:
Install Transformers.js in a browser project:
npm install @huggingface/transformers
The conversion scripts and Python environment are maintained separately in the GitHub source repository. You do not need Python to consume the published browser model.
Load q4 with Transformers.js:
import { pipeline } from '@huggingface/transformers'
const detector = await pipeline(
'text-classification',
'mujian2026/multilingual-ai-text-detector',
{ dtype: 'q4' },
)
const result = await detector('This is a sample passage.')
console.log(result)
The returned label is human or ai. The score is a model confidence signal,
not a calibrated probability of authorship. In a multilingual product, select
the UI language for user experience, but do not present the result as a
language-independent guarantee.
The upstream model card reports F1 on 270 held-out examples, with 90 examples per language:
| Language | Reported F1 |
|---|---|
| English | 0.9890 |
| Vietnamese | 0.9783 |
| Chinese | 0.9462 |
| Overall | 0.9710 |
These are in-domain results from the upstream test split. They are not a universal accuracy claim. On the same reported split, a TF-IDF logistic regression baseline reached 0.9776 overall F1, while the XLM-R detector reached 0.9710. This model should therefore be evaluated on the domain, languages, and generators that matter to your application before adoption.
The source evaluation used AI answers generated with Qwen2.5-1.5B-Instruct. Performance on GPT, Gemini, Claude, newer Qwen models, translated text, paraphrases, or heavily edited text is not established by that benchmark.
The published variants were compared with the FP32 ONNX export on six short English, Chinese, and Japanese fixtures using CPU ONNX Runtime:
| Variant | Approx. size | Mean probability delta | Max delta | Label flips |
|---|---|---|---|---|
| FP32 | 1.11 GB | reference | reference | reference |
| q4 | 181 MB | 0.0041 | 0.0231 | 0 / 6 |
| q8 | 279 MB | 0.0804 | 0.3672 | 0 / 6 |
All three variants were also loaded and executed with the browser WASM runtime before publication. This is a conversion smoke test, not a representative multilingual benchmark. Re-run evaluation after changing the source revision, quantizer, or runtime.
This repository contains an ONNX export and quantized derivatives; it does not
claim to have trained a new detector. The source checkpoint is fine-tuned from
FacebookAI/xlm-roberta-base
and predicts human versus ai.
According to the upstream model card:
2e-5, maximum length 256, and a
prompt-level 70/15/15 train/validation/test split with seed 42.The upstream evaluation covers English, Simplified Chinese, and Vietnamese. The free online AI text detector on MyToolster.com also routes Traditional Chinese and Japanese through the same XLM-R classifier. Traditional Chinese and Japanese are experimental signals here and are not independently calibrated probabilities.
The classifier learns patterns from its training distribution; it does not inspect hidden metadata or a universal AI signature. False positives and false negatives are expected. Short inputs, translation, editing, paraphrasing, domain vocabulary, and generator changes can materially affect the result.
Use the detector as one input to a broader review, not as a standalone verdict.
q4/onnx/model_q4.onnx # 4-bit browser variant
q8/onnx/model_quantized.onnx # 8-bit browser variant
fp32/onnx/model.onnx # FP32 reference variant
*/config.json # label mapping and model configuration
*/tokenizer.json # tokenizer files for each variant
quantization-report.json # conversion comparison report
The conversion and quantization source is maintained in the GitHub repository.
If you use the underlying detector or cite its training/evaluation results, cite the upstream work:
@misc{vu2024multilingual,
title = {Multilingual AI-Human Text Detection},
author = {Vu, Tuong Vy},
year = {2024},
url = {https://github.com/vutuongvy101/multilingual-ai-human-text-detection}
}
The published conversion project is MIT-licensed. The fine-tuned source checkpoint and training work belong to the upstream authors; retain their attribution and license when redistributing the model files.