vaibhav-shinde07/ai-text-detector
Dual-head AI text detection for document triage and sentence-level review
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
The detection design uses a shared transformer backbone with two jointly trained classification heads: one for the whole document and one for individual sentences. XLM-R and ModernBERT are the named backbone families; the exact checkpoint and sentence segmentation method are unspecified.
A separate lightweight local analyzer provides the CLI and Python interface, with JSON output for pipeline integration. Its risk score should not be treated as the output of either transformer head: no link between the two execution paths is established. The visible root contains index.html, files/, and .github/, but does not identify a Python entrypoint or dependency manifest. It therefore does not establish what the HTML page executes or which inference backend the model requires.
Key Capabilities & Differentiators
The document head assigns Human, AI, or Mixed; the sentence head assigns Human, AI, or Paraphrased. This distinction lets reviewers triage an entire submission and then focus on specific passages. The lightweight analyzer separately reports a 0–100 AI-like writing risk estimate, a verdict, a confidence level, the strongest weighted signals, caveats, and suggested next steps. Neither the score nor the confidence level is established as a calibrated probability of authorship.
Development focuses on English, Chinese, Portuguese, and Spanish. That scope does not establish equal coverage or accuracy across languages. Reproducible evaluation guidance is available, but no accuracy, false-positive, or per-language metrics are provided here, so a pilot should test representative inputs rather than assume a common threshold will transfer.
Trade-offs & Limitations
Compared with a binary detector, separate document and sentence labels give reviewers more useful triage information, but disagreements between the two levels need an explicit review policy. The local analyzer offers an inspectable set of scoring signals rather than only a verdict. That helps a reviewer understand what drove a score, but it does not prove that a flagged sentence was generated or paraphrased. Short, edited, and high-stakes samples warrant particular care.
Compared with a hosted scoring API, the local analyzer is the path to evaluate when sending text to a third party is undesirable. In return, your team must verify the installation, exercise the interface, and check network behavior under its own controls. The MIT license allows reuse of covered code; verify the terms of any separately obtained weights and dependencies. There is no head-to-head evidence here to support an accuracy advantage over other detectors.
Hardware & Deployment Guide
The PowerShell installer targets Windows 10 or 11 with PowerShell 5.1+ or 7+. It is designed to run as a standard user and requires internet access to download the script. Before a managed rollout, inspect the script and verify which files it installs and what runtime it invokes. A local analyzer is available, but end-to-end offline operation after installation is not established.
Treat full transformer inference as a separate deployment decision. The available tree does not pin Python versions, inference dependencies, checkpoint locations, or CPU/GPU support, and it does not show a root container specification. Profile each path independently at representative input lengths and concurrency. No latest GitHub release is listed, so do not assume a tagged package or a release-based upgrade path.
Educators, editors, and moderation teams piloting human-in-the-loop triage, or engineers evaluating a local CLI/Python analyzer for structured risk signals.
You need proof of authorship, automatic penalties, validated accuracy across languages, or a pinned, ready-to-deploy transformer stack with documented offline guarantees.
Comparison vs. Top LLMs & Inference Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| ai-text-detector ★ | 212 | +212 | HTML | MIT | Dual-head AI text detection for document triage and sentence-level review |
| Llama-macOS | 1.9k | +31 | Swift | MIT | A macOS menu bar app that serves local GGUF models through llama.cpp |
| litellm-rs | 124 | — | Rust | MIT | Self-hosted Rust LLM gateway for OpenAI-compatible access and multi-provider rou |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/vaibhav-shinde07/ai-text-detector.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about ai-text-detector
How should I integrate the detector into a review pipeline?
Do I need a GPU, and how should I size the runtime?
Can we self-host it or embed it in a commercial product?
When is this preferable to a conventional binary AI detector?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy