MemGhost

MemGhost is the released PEFT LoRA adapter for the MemGhost paper artifact. It loads on top of Qwen/Qwen3-4B and is intended for controlled WhisperBench reproduction and analysis.

Adapter SHA256: 85cad4f606b002797a102e55fae31a39df22b2d4a0d07bc1fcbca51fb1bbe572.

Use

Authenticate first while this repository is private:

pip install "transformers>=4.51" peft accelerate safetensors
huggingface-cli login
import torch
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

base_id = "Qwen/Qwen3-4B"
memghost_id = "Yechao/MemGhost"

tokenizer = AutoTokenizer.from_pretrained(memghost_id, trust_remote_code=True)
base = AutoModelForCausalLM.from_pretrained(
    base_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
    trust_remote_code=True,
)
model = PeftModel.from_pretrained(base, memghost_id)
model.eval()

Use only in controlled research environments.

Downloads last month
7
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Yechao/MemGhost

Finetuned
Qwen/Qwen3-4B
Adapter
(1135)
this model