Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
godot
godot-engine
gdscript
game-development
code
code-generation
qwen3
qlora
fine-tune
conversational
Instructions to use Ruler97/Godoter-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ruler97/Godoter-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Ruler97/Godoter-27B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Ruler97/Godoter-27B") model = AutoModelForMultimodalLM.from_pretrained("Ruler97/Godoter-27B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Ruler97/Godoter-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Ruler97/Godoter-27B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ruler97/Godoter-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Ruler97/Godoter-27B
- SGLang
How to use Ruler97/Godoter-27B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Ruler97/Godoter-27B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ruler97/Godoter-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Ruler97/Godoter-27B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ruler97/Godoter-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Ruler97/Godoter-27B with Docker Model Runner:
docker model run hf.co/Ruler97/Godoter-27B
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,9 +17,9 @@ language:
|
|
| 17 |
pipeline_tag: text-generation
|
| 18 |
---
|
| 19 |
|
| 20 |
-
#
|
| 21 |
|
| 22 |
-
>
|
| 23 |
|
| 24 |
**Godoter** is a 27-billion-parameter model specialized in writing **Godot 4 / GDScript**.
|
| 25 |
It is a QLoRA fine-tune of **Qwen3.6-27B**, with the adapter merged back into the base
|
|
@@ -32,14 +32,14 @@ weights so it loads as a normal model.
|
|
| 32 |
|
| 33 |
---
|
| 34 |
|
| 35 |
-
##
|
| 36 |
|
| 37 |
- Writing idiomatic **Godot 4** GDScript (nodes, signals, resources, `@export`/`@onready`, `await`, typed code).
|
| 38 |
- Building **complete, multi-file systems**: inventory, finite-state-machine AI, save/load, dialogue, multiplayer, shaders, combat (hitbox/hurtbox), navigation, crafting, skill trees, and more.
|
| 39 |
- **Not** confusing Godot 3 and Godot 4 APIs (`move_and_slide()`, `instantiate()`, `CharacterBody2D/3D`, `source_color`, `FileAccess`, signal `.connect()`/`.emit()`, `@rpc`, …).
|
| 40 |
- Staying in Godot instead of drifting to Unity, Python, web, or other frameworks.
|
| 41 |
|
| 42 |
-
##
|
| 43 |
|
| 44 |
Godoter vs. the base **Qwen3.6-27B**, both in the same **Q6_K** quant, same GPU, same prompts,
|
| 45 |
thinking enabled for both. A task "passes" only if the answer uses the correct **Godot 4** API
|
|
@@ -63,7 +63,7 @@ On the **hard set**, reading the actual answers shows *why* the base struggles:
|
|
| 63 |
(The 68% even *overstates* the base, since the keyword rubric credits wrong-language or
|
| 64 |
incomplete answers. The real gap is larger.)
|
| 65 |
|
| 66 |
-
##
|
| 67 |
|
| 68 |
- **Base model:** `unsloth/Qwen3.6-27B`
|
| 69 |
- **Method:** QLoRA, rank `r = 16`, `alpha = 16`, `adamw_8bit`, 4-bit base — adapter then merged to 16-bit.
|
|
@@ -73,7 +73,7 @@ incomplete answers. The real gap is larger.)
|
|
| 73 |
- **666 complete, multi-file Godot 4 systems** authored as build / explain / extend triples
|
| 74 |
- real Godot 4 GDScript completion pairs
|
| 75 |
|
| 76 |
-
##
|
| 77 |
|
| 78 |
This is a `qwen3_5` / Qwen3.6 architecture model — it needs **transformers 5.x**.
|
| 79 |
|
|
@@ -91,10 +91,10 @@ out = model.generate(ids, max_new_tokens=512)
|
|
| 91 |
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
|
| 92 |
```
|
| 93 |
|
| 94 |
-
|
| 95 |
**[Ruler97/Godoter-27B-GGUF](https://huggingface.co/Ruler97/Godoter-27B-GGUF)** (Q4 / Q6 / Q8).
|
| 96 |
|
| 97 |
-
##
|
| 98 |
|
| 99 |
- It's a **derivative of Qwen3.6-27B** — ~99% of its capability is the base model; the
|
| 100 |
fine-tune adds Godot-4 reliability, not new general reasoning.
|
|
@@ -103,7 +103,7 @@ print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
|
|
| 103 |
- The benchmark measures **API correctness**, not full architectural quality of generated code.
|
| 104 |
- Like any LLM, it can be confidently wrong — review generated code before shipping.
|
| 105 |
|
| 106 |
-
##
|
| 107 |
|
| 108 |
Godoter is a fine-tune of **Qwen3.6-27B**, which is licensed **Apache 2.0**, and Godoter is
|
| 109 |
released under **Apache 2.0** as well. Please keep attribution to the base model. Built with Unsloth.
|
|
|
|
| 17 |
pipeline_tag: text-generation
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# Godoter — a Qwen3.6-27B fine-tune for Godot 4 & GDScript
|
| 21 |
|
| 22 |
+
> **Unofficial hobby project — NOT made by Godot.** Godoter is a personal, non-commercial fine-tune made by an independent hobbyist for fun and learning. It is **not made, created, maintained, affiliated with, sponsored by, or endorsed by the Godot Foundation or the Godot Engine team**. *"Godot"* is a trademark of the Godot Foundation, used here only to describe what the model is for. Training data includes the official **Godot documentation (CC-BY 4.0)**; the base model is **Qwen3.6-27B** (Apache 2.0).
|
| 23 |
|
| 24 |
**Godoter** is a 27-billion-parameter model specialized in writing **Godot 4 / GDScript**.
|
| 25 |
It is a QLoRA fine-tune of **Qwen3.6-27B**, with the adapter merged back into the base
|
|
|
|
| 32 |
|
| 33 |
---
|
| 34 |
|
| 35 |
+
## What it's good at
|
| 36 |
|
| 37 |
- Writing idiomatic **Godot 4** GDScript (nodes, signals, resources, `@export`/`@onready`, `await`, typed code).
|
| 38 |
- Building **complete, multi-file systems**: inventory, finite-state-machine AI, save/load, dialogue, multiplayer, shaders, combat (hitbox/hurtbox), navigation, crafting, skill trees, and more.
|
| 39 |
- **Not** confusing Godot 3 and Godot 4 APIs (`move_and_slide()`, `instantiate()`, `CharacterBody2D/3D`, `source_color`, `FileAccess`, signal `.connect()`/`.emit()`, `@rpc`, …).
|
| 40 |
- Staying in Godot instead of drifting to Unity, Python, web, or other frameworks.
|
| 41 |
|
| 42 |
+
## Benchmark
|
| 43 |
|
| 44 |
Godoter vs. the base **Qwen3.6-27B**, both in the same **Q6_K** quant, same GPU, same prompts,
|
| 45 |
thinking enabled for both. A task "passes" only if the answer uses the correct **Godot 4** API
|
|
|
|
| 63 |
(The 68% even *overstates* the base, since the keyword rubric credits wrong-language or
|
| 64 |
incomplete answers. The real gap is larger.)
|
| 65 |
|
| 66 |
+
## How it was trained
|
| 67 |
|
| 68 |
- **Base model:** `unsloth/Qwen3.6-27B`
|
| 69 |
- **Method:** QLoRA, rank `r = 16`, `alpha = 16`, `adamw_8bit`, 4-bit base — adapter then merged to 16-bit.
|
|
|
|
| 73 |
- **666 complete, multi-file Godot 4 systems** authored as build / explain / extend triples
|
| 74 |
- real Godot 4 GDScript completion pairs
|
| 75 |
|
| 76 |
+
## Usage
|
| 77 |
|
| 78 |
This is a `qwen3_5` / Qwen3.6 architecture model — it needs **transformers 5.x**.
|
| 79 |
|
|
|
|
| 91 |
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
|
| 92 |
```
|
| 93 |
|
| 94 |
+
**For local use, prefer the GGUF builds** (LM Studio / llama.cpp / Ollama):
|
| 95 |
**[Ruler97/Godoter-27B-GGUF](https://huggingface.co/Ruler97/Godoter-27B-GGUF)** (Q4 / Q6 / Q8).
|
| 96 |
|
| 97 |
+
## Limitations
|
| 98 |
|
| 99 |
- It's a **derivative of Qwen3.6-27B** — ~99% of its capability is the base model; the
|
| 100 |
fine-tune adds Godot-4 reliability, not new general reasoning.
|
|
|
|
| 103 |
- The benchmark measures **API correctness**, not full architectural quality of generated code.
|
| 104 |
- Like any LLM, it can be confidently wrong — review generated code before shipping.
|
| 105 |
|
| 106 |
+
## License & attribution
|
| 107 |
|
| 108 |
Godoter is a fine-tune of **Qwen3.6-27B**, which is licensed **Apache 2.0**, and Godoter is
|
| 109 |
released under **Apache 2.0** as well. Please keep attribution to the base model. Built with Unsloth.
|