Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
Answers Unity game development questions and writes C# scripts, XR code and editor tools, as a fine-tune of Qwen2.5-Coder-7B-Instruct. For Unity developers who want a local coding assistant.
Unity Coder 7B is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download vishnuOI/unity-coder-7b
Unity Coder 7B is a fine-tune of Qwen2.5-Coder-7B-Instruct for Unity game development in C#. It was trained with QLoRA on 1,687 Unity C# instruction pairs over three epochs. The record lists about 7.6B parameters.
It suits Unity developers who want help with scripts, XR developers, and tool builders who write editor extensions.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Game development | Unity developers | Ask for C# scripts and fixes | How to detect a collision between two objects |
| XR and VR | XR developers | Get help with OpenXR and the XR Interaction Toolkit | Ask how to set up a grab interaction |
| Tools | Editor tool authors | Draft editor scripts and tooling | Ask for an editor script that automates a repeated task |
Anyone who works outside Unity or C# can skip it, since the tuning targets that one area.
| Use case | Who | What they get back |
|---|---|---|
| Unity C# scripting | Unity developers | Code for MonoBehaviour, ScriptableObjects and coroutines |
| XR development | XR developers | Guidance on OpenXR and the XR Interaction Toolkit |
| Physics, animation and UI | Game developers | Help with physics, animation and UI Toolkit |
| Performance work | Developers | Optimization patterns |
pip install -U huggingface_hub hf download vishnuOI/unity-coder-7b
Load the model and tokenizer, build a chat prompt with a system message and your question, then call generate and decode the reply.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "vishnuOI/unity-coder-7b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "system", "content": "You are an expert Unity game developer specializing in C# scripting and XR development."},
{"role": "user", "content": "How do I detect collision between two objects in Unity?"},
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7, do_sample=True)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))| Tool | What it does |
|---|---|
| from_pretrained | Loads the tokenizer and the model in bfloat16 |
| apply_chat_template | Turns the system and user messages into one prompt |
| generate | Writes the reply, up to 512 new tokens at temperature 0.7 |
You send the snippet's question about detecting a collision between two objects in Unity, with a system message that names the model an expert Unity developer. It replies with a written answer, and you test the code in your own project.
Think of it as a coding helper that already knows Unity vocabulary. Run the snippet as written, then swap in your own question.
The tuning used QLoRA with 4-bit NF4 weights, rank 16 and alpha 32. The dataset of 1,687 pairs is small, so expect it to cover common Unity tasks better than rare ones.
Answers Unity game development questions and writes C# scripts, XR code and editor tools, as a fine-tune of Qwen2.5-Coder-7B-Instruct. For Unity developers who want a local coding assistant.
Made by vishnuOI on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Unity Coder 7B is a fine-tune of Qwen2.5-Coder-7B-Instruct for Unity game development in C#. It was trained with QLoRA on 1,687 Unity C# instruction pairs over three epochs. The record lists about 7.6B parameters.
Who it suits: It suits Unity developers who want help with scripts, XR developers, and tool builders who write editor extensions.
Industry | Who uses it | How they use it | Example
Game development | Unity developers | Ask for C# scripts and fixes | How to detect a collision between two objects
XR and VR | XR developers | Get help with OpenXR and the XR Interaction Toolkit | Ask how to set up a grab interaction
Tools | Editor tool authors | Draft editor scripts and tooling | Ask for an editor script that automates a repeated task
Anyone who works outside Unity or C# can skip it, since the tuning targets that one area.
Where to use it:
Use case | Who | What they get back
Unity C# scripting | Unity developers | Code for MonoBehaviour, ScriptableObjects and coroutines
XR development | XR developers | Guidance on OpenXR and the XR Interaction Toolkit
Physics, animation and UI | Game developers | Help with physics, animation and UI Toolkit
Performance work | Developers | Optimization patterns
How to set it up:
pip install -U huggingface_hub
hf download vishnuOI/unity-coder-7b
How to use it: Load the model and tokenizer, build a chat prompt with a system message and your question, then call generate and decode the reply.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "vishnuOI/unity-coder-7b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "system", "content": "You are an expert Unity game developer specializing in C# scripting and XR development."},
{"role": "user", "content": "How do I detect collision between two objects in Unity?"},
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7, do_sample=True)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Tool | What it does
from_pretrained | Loads the tokenizer and the model in bfloat16
apply_chat_template | Turns the system and user messages into one prompt
generate | Writes the reply, up to 512 new tokens at temperature 0.7
Example: You send the snippet's question about detecting a collision between two objects in Unity, with a system message that names the model an expert Unity developer. It replies with a written answer, and you test the code in your own project.
For newcomers and experts: Think of it as a coding helper that already knows Unity vocabulary. Run the snippet as written, then swap in your own question.
The tuning used QLoRA with 4-bit NF4 weights, rank 16 and alpha 32. The dataset of 1,687 pairs is small, so expect it to cover common Unity tasks better than rare ones.
Start from Qwen2.5-Coder-7B-Instruct
Fine-tune with QLoRA on Unity C# pairs
Load the result with Transformers
Ask a Unity question and read the reply
Good to know:
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download vishnuOI/unity-coder-7b
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Unity Coder 7B This page | 146 | 4 | 7.6B | cc-by-4.0 | |
| Qwen2.5-Coder-14B-InstructShares qwen2 · code · safetensors | 1,860,327 | 214 | 14.8B | apache-2.0 | |
| Qwen2.5-Coder-7B-InstructShares qwen2 · code · safetensors | 1,505,999 | 872 | 7.6B | apache-2.0 | |
| Qwen2.5-Coder-32B-InstructShares qwen2 · code · safetensors | 546,583 | 2,211 | 32.8B | apache-2.0 | |
| Qwen2.5-Coder-7BShares qwen2 · code · safetensors | 334,246 | 200 | 7.6B | apache-2.0 | |
| Qwen2.5-Coder-0.5B-InstructShares qwen2 · code · safetensors | 71,013 | 96 | 494M | apache-2.0 |
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…