Gemma-3-DnD (fine-tuned)

This model is a Gemma 3.88B parameter model fine-tuned specifically on Dungeons & Dragons content, including the Basic Rules and the Curse of Strahd campaign, using the Unsloth fine-tuning framework.

Model Details

  • Base Model: Gemma-3-4b-it
  • Fine-tuning: LoRA fine-tuning using Unsloth
  • Content: D&D Basic Rules, Curse of Strahd, and related content.

Usage Example

You can load the model easily with the Hugging Face Transformers library:

from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
import torch

model_name = "YFolla/gemma-3-dnd"
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
tokenizer = AutoTokenizer.from_pretrained(model_name)

prompt = "What are the core mechanics of Dungeons & Dragons?"

inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
streamer = TextStreamer(tokenizer)

output = model.generate(**inputs, max_new_tokens=100, streamer=streamer)
Downloads last month
20
Safetensors
Model size
3.88B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for YFolla/gemma-3-dnd

Finetuned
(79)
this model
Quantizations
1 model