Downloads · 30 days
6
5% of all-time downloads
jedimark/Qwen3-4B-AI-Review-Detector
Qwen3-4B-AI-Review-Detector is a text generation model from jedimark. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
This model is a fine-tuned version of unsloth/qwen3-4b-base-unsloth-bnb-4bit designed to detect whether a Korean cosmetics review is Human-Written (HWR) or LLM-Generated (LGR).
Downloads · 30 days
6
5% of all-time downloads
All-time downloads
124
Public
Repo size
1.9 GB
Likes
3
Public
Click a slice to open those files.
.safetensors1.8 GB · 95%
From the Hugging Face model README
This model is a fine-tuned version of unsloth/qwen3-4b-base-unsloth-bnb-4bit designed to detect whether a Korean cosmetics review is Human-Written (HWR) or LLM-Generated (LGR).
It has been trained using TRL and Unsloth for efficient fine-tuning.
unsloth/qwen3-4b-base-unsloth-bnb-4bitYou can use the pipeline from the transformers library to run inference.
from transformers import pipeline
# Load the model
# Replace 'None' with your Hugging Face model ID (e.g., "username/Qwen3-4B-AI-Review-Detector")
model_id = "jedimark/Qwen3-4B-AI-Review-Detector"
generator = pipeline("text-generation", model=model_id, device_map="auto")
# Example review
review_text = "이 제품 정말 좋아요! 배송도 빠르고 품질도 만족합니다."
# Construct the prompt
prompt = f"""다음 리뷰 텍스트가 사람이 작성한 것인지(Human Written) LLM이 생성한 것인지 판단하여 분류하세요.
{review_text}
Classify this review into one of the following:
class 0: HWR (Human Written Review)
class 1: LGR (LLM Generated Review)
SOLUTION
The correct answer is: class"""
# Run inference
output = generator(prompt, max_new_tokens=1, return_full_text=False)[0]
print(f"Predicted Class: {output['generated_text']}")
# Output: 0 (Human Written) or 1 (LLM Generated)
This model was trained using SFT (Supervised Fine-Tuning) with the following configuration:
bitsandbytes (BnB) for memory efficiency.q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj (All linear layers)Unsloth for faster training and lower memory usage.