supersamdev/dailydialog-chatml
Viewer • Updated • 11.1k • 4
How to use supersamdev/gemma-4-e4b-dailydialog-16bit with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for supersamdev/gemma-4-e4b-dailydialog-16bit to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for supersamdev/gemma-4-e4b-dailydialog-16bit to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for supersamdev/gemma-4-e4b-dailydialog-16bit to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="supersamdev/gemma-4-e4b-dailydialog-16bit",
max_seq_length=2048,
)Merged fine-tune of google/gemma-4-E4B-it for natural, casual conversational dialogue.
Designed for interactive voice assistants that require realistic, human-like conversation. Responds naturally to everyday social exchanges — greetings, small talk, emotional check-ins — without sounding robotic or over-formal.
from transformers import AutoProcessor, AutoModelForImageTextToText
import torch
model = AutoModelForImageTextToText.from_pretrained(
"supersamdev/gemma-4-e4b-dailydialog-16bit",
torch_dtype=torch.bfloat16,
device_map="auto",
)
processor = AutoProcessor.from_pretrained("supersamdev/gemma-4-e4b-dailydialog-16bit")
history = [{"role": "user", "content": [{"type": "text", "text": "Hey, how was your day?"}]}]
inputs = processor.apply_chat_template(history, add_generation_prompt=True, tokenize=True, return_tensors="pt").to(model.device)
input_len = inputs["input_ids"].shape[1]
outputs = model.generate(**inputs, max_new_tokens=150, temperature=0.7, do_sample=True, repetition_penalty=1.1)
print(processor.decode(outputs[0][input_len:], skip_special_tokens=True))
Derivative of Gemma — governed by the Gemma Terms of Use.
Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms