Downloads · 30 days
17
12% of all-time downloads
QuietImpostor/Gemma-3-4b-it-Opusfied
Gemma-3-4b-it-Opusfied is a text generation model from QuietImpostor. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
A full fine-tune of Google's Gemma 3 4B IT optimized for specific voice emulation and writing style transfer while maintaining long-context reasoning capabilities.
Downloads · 30 days
17
12% of all-time downloads
All-time downloads
139
Public
Parameters
4.3B
8.6 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors8.6 GB · 100%
From the Hugging Face model README
A full fine-tune of Google's Gemma 3 4B IT optimized for specific voice emulation and writing style transfer while maintaining long-context reasoning capabilities.
Unlike standard LoRA adapters, this is a native weight fine-tune trained on an A100 80GB using the Muon optimizer to effectively converge dense layers at a 12k context window.
google/gemma-3-4b-itThe model was trained on a mix of capability retention and style injection:
Trained on Modal using a single NVIDIA A100 (80GB).
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "QuietImpostor/Gemma-3-4b-it-Opusfied"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
attn_implementation="flash_attention_2"
)
messages = [
{"role": "user", "content": "Explain the concept of entropy in the style of a weary time traveler."},
]
input_ids = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
return_tensors="pt"
).to(model.device)
outputs = model.generate(
input_ids,
max_new_tokens=512,
temperature=0.7,
do_sample=True
)
print(tokenizer.decode(outputs[0][input_ids.shape[-1]:], skip_special_tokens=True))