CoolFace
Modelpublic

WizardWang01/depo-paraphrase

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
0likes19downloads
Model Card

DEPO-Paraphrase

DEPODetector-Evasive Paraphrase via Constrained Policy Optimization

LoRA adapter on Qwen/Qwen3-4B-Instruct-2507. Trained with constrained RL using the MAGE detector reward and BERTScore semantic reward (CRL target τ = 0.85, checkpoint-750).

Usage

python
from inference import load_paraphrase_model

pm = load_paraphrase_model("WizardWang01/depo-paraphrase")
out = pm.rewrite("Your text here.")
print(out)
bash
pip install torch transformers peft accelerate
python inference.py --adapter_path WizardWang01/depo-paraphrase

Generation defaults

ParameterValue
Prompt templatepreserve-meaning paraphrase (eval_rl)
maxnewtokens512
temperature0.9
top_p0.95
torch_dtypebfloat16

Intended use

Research and evaluation only. Not for academic dishonesty, spam, or circumventing platform policies.

Citation

If you use this model, please cite the DEPO paper (Detector-Evasive Paraphrase via Constrained Policy Optimization).