Downloads · 30 days
10
19% of all-time downloads
vishnusm/mysterydungeonGPT
mysterydungeonGPT is a machine learning model from vishnusm. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
LoRA fine-tuned adapter for Qwen3-0.6B on Mystery Dungeon map generation.
Downloads · 30 days
10
19% of all-time downloads
All-time downloads
53
Public
Repo size
173 MB
Likes
0
Public
Click a slice to open those files.
.safetensors162 MB · 91%
From the Hugging Face model README
LoRA fine-tuned adapter for Qwen3-0.6B on Mystery Dungeon map generation.
This is a LoRA (Low-Rank Adaptation) fine-tuned adapter for Qwen/Qwen3-0.6B.
Fine-tuned on: Mystery Dungeon map generation data (56x32 maps with 6-12 rooms)
Format: Coordinate-based JSON output (walkable tiles as [x, y] coordinates)
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-0.6B") base_model = AutoModelForCausalLM.from_pretrained( "Qwen/Qwen3-0.6B", torch_dtype=torch.float16, device_map="auto" )
model = PeftModel.from_pretrained(base_model, "vishnusm/mysterydungeonGPT")
prompt = "Generate a medium difficulty dungeon with 6 rooms" messages = [{"role": "user", "content": prompt}] inputs = tokenizer.apply_chat_template( messages, tokenize=True, return_dict=True, return_tensors="pt" ).to(model.device)
outputs = model.generate( **inputs, max_new_tokens=2=4000, temperature=0.7, top_p=0.9, do_sample=True )## Training Details