This model was converted to GGUF format from
distil-labs/distil-ai-slop-detector-gemma using llama.cpp via the ggml.ai's
GGUF-my-repo space.
Refer to the
original model card for more details on the model.
1brew install llama.cpp
2
Invoke the llama.cpp server or the CLI.
Note: You can also use this checkpoint directly through the
usage steps listed in the Llama.cpp repo as well.
Step 1: Clone llama.cpp from GitHub.
Step 3: Run inference through the main binary.
A fine-tuned Gemma 3 270M model for detecting AI-generated text ("slop"). Trained using knowledge distillation from GPT OSS 120B, this compact 270M parameter model delivers strong AI detection performance while being lightweight enough for browser deployment.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("distil-labs/distil-ai-slop-detector-gemma")
4tokenizer = AutoTokenizer.from_pretrained("distil-labs/distil-ai-slop-detector-gemma")
5
6text_to_analyze = "We recognize the value of your feedback and remain committed to continuous improvement."
7
8messages = [
9 {
10 "role": "system",
11 "content": """You are a problem solving model working on task_description XML block:
12<task_description>Classify user-generated text content to detect whether it was likely generated by AI or written by a human.
13
14ai_generated: Content that shows signs of AI generation: overly formal or generic language, repetitive patterns, lack of personal voice, artificial enthusiasm, typical AI writing markers like 'delve', 'tapestry', 'landscape', 'paradigm shift', excessive politeness, corporate-speak in informal contexts, perfectly structured responses without natural flow, or absence of casual mistakes.
15
16human_written: Content that appears genuinely human-written: natural conversational flow, authentic personal voice, casual mistakes or typos, informal language, slang, abbreviations (lol, wtf, ngl), specific personal details, genuine emotion, creative expression, internet culture references, or casual grammar that lacks typical AI patterns.</task_description>
17You will be given a single task in the question XML block
18Solve only the task in question block.
19Generate only the answer, do not generate anything else"""
20 },
21 {
22 "role": "user",
23 "content": f"""Now for the real task, solve the task in question block.
24Generate only the solution, do not generate anything else
25<question>{text_to_analyze}</question>"""
26 }
27]
28
29text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
30inputs = tokenizer(text, return_tensors="pt")
31outputs = model.generate(**inputs, max_new_tokens=10, temperature=0)
32print(tokenizer.decode(outputs[0], skip_special_tokens=True))
33# Output: ai_generated
1{
2 "input": "lmao no way that actually worked you're a genius thanks so much!!!",
3 "output": "human_written"
4}
1{
2 "input": "We recognize the value of your feedback and remain committed to continuous improvement. Your satisfaction is our top priority.",
3 "output": "ai_generated"
4}
The model struggles most with formal human writing (business emails, academic text) - these sometimes trigger false positives because they share stylistic patterns with AI output.
This model powers the
AI Slop Detector Chrome extension, which runs entirely locally with no data sent to external servers.
Gemma License - see LICENSE file for details.