Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -11,37 +11,82 @@ pipeline_tag: text-generation
|
|
| 11 |
|
| 12 |
# EditorAI Mini
|
| 13 |
|
| 14 |
-
A fine-tuned Qwen2.5-0.5B-Instruct model that generates Geometry Dash levels as JSON.
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
```bash
|
| 21 |
# Download the GGUF
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
ollama run entity12208/editorai:mini
|
| 25 |
```
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
| 30 |
-
2. Set provider to **Ollama** and select `entity12208/editorai:mini`
|
| 31 |
-
3. Generate levels!
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
##
|
| 41 |
|
| 42 |
-
-
|
| 43 |
-
-
|
| 44 |
-
-
|
| 45 |
|
| 46 |
## License
|
| 47 |
|
|
|
|
| 11 |
|
| 12 |
# EditorAI Mini
|
| 13 |
|
| 14 |
+
A fine-tuned Qwen2.5-0.5B-Instruct model that generates Geometry Dash levels as JSON — with blocks, spikes, platforms, triggers, groups, color channels, and more.
|
| 15 |
|
| 16 |
+
Part of the [EditorAI](https://github.com/Entity12208/EditorAI) project — an AI-powered level generator mod for Geometry Dash.
|
| 17 |
|
| 18 |
+
## About EditorAI
|
| 19 |
+
|
| 20 |
+
[EditorAI](https://github.com/Entity12208/EditorAI) is a [Geode](https://geode-sdk.org) mod for Geometry Dash that lets you describe a level in plain text and have AI build it in the editor. It supports 8 AI providers (Gemini, Claude, OpenAI, Mistral, HuggingFace, Ollama, LM Studio, llama.cpp) and features blueprint preview, feedback learning, 15+ trigger types, and an in-game settings UI.
|
| 21 |
+
|
| 22 |
+
## Model Details
|
| 23 |
+
|
| 24 |
+
- **Base model:** Qwen2.5-0.5B-Instruct
|
| 25 |
+
- **Training:** QLoRA (4-bit, rank 8) on hand-crafted expert GD level examples
|
| 26 |
+
- **Features:** Blocks, spikes, platforms, color triggers, move triggers, alpha triggers, rotate triggers, toggle triggers, pulse triggers, speed portals, groups, color channels
|
| 27 |
+
- **GGUF quantization:** q4_k_m (379 MB)
|
| 28 |
+
|
| 29 |
+
## Files
|
| 30 |
+
|
| 31 |
+
| File | Size | Description |
|
| 32 |
+
|------|------|-------------|
|
| 33 |
+
| `model.safetensors` | 943 MB | Merged fp16 model weights |
|
| 34 |
+
| `editorai-mini.gguf` | 379 MB | Quantized GGUF (q4_k_m) for llama.cpp / LM Studio |
|
| 35 |
+
| `config.json` | — | Model architecture config |
|
| 36 |
+
| `tokenizer.json` | — | Tokenizer |
|
| 37 |
+
|
| 38 |
+
## Usage with llama.cpp
|
| 39 |
|
| 40 |
```bash
|
| 41 |
# Download the GGUF
|
| 42 |
+
wget https://huggingface.co/EditorAI-Geode/editorai-mini/resolve/main/editorai-mini.gguf
|
| 43 |
+
|
| 44 |
+
# Run the server
|
| 45 |
+
llama-server -m editorai-mini.gguf --port 8080
|
| 46 |
+
|
| 47 |
+
# In the EditorAI mod: set provider to "llama-cpp", URL to http://localhost:8080
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Usage with LM Studio
|
| 51 |
+
|
| 52 |
+
1. Download `editorai-mini.gguf` from this repo
|
| 53 |
+
2. Place it in your LM Studio models folder
|
| 54 |
+
3. Load the model in LM Studio and start the server
|
| 55 |
+
4. In the EditorAI mod: set provider to "lm-studio", URL to `http://localhost:1234`
|
| 56 |
+
|
| 57 |
+
## Usage with Ollama
|
| 58 |
+
|
| 59 |
+
This model is also available on Ollama:
|
| 60 |
+
|
| 61 |
+
```bash
|
| 62 |
+
ollama pull entity12208/editorai:mini
|
| 63 |
ollama run entity12208/editorai:mini
|
| 64 |
```
|
| 65 |
|
| 66 |
+
In the EditorAI mod: set provider to "ollama" and select `entity12208/editorai:mini`.
|
| 67 |
|
| 68 |
+
## Output Format
|
|
|
|
|
|
|
| 69 |
|
| 70 |
+
The model generates JSON in this format:
|
| 71 |
|
| 72 |
+
```json
|
| 73 |
+
{
|
| 74 |
+
"analysis": "A medium modern level with color transitions and moving platforms.",
|
| 75 |
+
"objects": [
|
| 76 |
+
{"type": "block_black_gradient_square", "x": 0, "y": 0, "color_channel": 10},
|
| 77 |
+
{"type": "spike_black_gradient_spike", "x": 50, "y": 0},
|
| 78 |
+
{"type": "color_trigger", "x": 80, "y": 0, "color_channel": 1, "color": "#0066FF", "duration": 1.5},
|
| 79 |
+
{"type": "move_trigger", "x": 90, "y": 0, "target_group": 1, "move_x": 0, "move_y": 20, "duration": 1.0, "easing": 1},
|
| 80 |
+
{"type": "end_trigger", "x": 400, "y": 0}
|
| 81 |
+
]
|
| 82 |
+
}
|
| 83 |
+
```
|
| 84 |
|
| 85 |
+
## Links
|
| 86 |
|
| 87 |
+
- **Mod:** [github.com/Entity12208/EditorAI](https://github.com/Entity12208/EditorAI)
|
| 88 |
+
- **Ollama:** [ollama.com/entity12208/editorai](https://ollama.com/entity12208/editorai)
|
| 89 |
+
- **Discord:** [discord.gg/5hwCqMUYNj](https://discord.gg/5hwCqMUYNj)
|
| 90 |
|
| 91 |
## License
|
| 92 |
|