smoky1496 commited on
Commit
521eb3b
·
verified ·
1 Parent(s): 42eb554

SpawnPoint-Coder-7B v2: better briefs and Vietnamese, Godot model card

Browse files
README.md CHANGED
@@ -7,9 +7,19 @@ tags: [gamedev, godot, json, spawn-point, awq]
7
 
8
  # SpawnPoint-Coder-7B
9
 
10
- A 7B model fine-tuned for [Spawn Point](https://github.com/leluong141996-dev/Spawn-Point): it turns a game idea
11
- into a game brief, applies tweaks ("jump 20% higher, add a dash") and edits a single entity
12
- ("double its health and make it shoot fireballs") as strict JSON. 4-bit AWQ, runs on a single 12 GB GPU.
 
 
 
 
 
 
 
 
 
 
13
 
14
  ## Run it
15
 
@@ -22,14 +32,27 @@ Then Spawn Point finds it automatically at `http://localhost:8000/v1`.
22
 
23
  ## Evaluation
24
 
25
- Exact-match rate on a held-out set of Spawn Point tasks (same prompts and JSON schemas as production):
 
26
 
27
- | task | base model | SpawnPoint-Coder-7B |
28
  |---|---|---|
29
- | brief | 0% | 67% |
30
- | tweak | 62% | 97% |
31
- | entity | 47% | 100% |
32
- | translate | 9% | 91% |
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  ## License
35
 
 
7
 
8
  # SpawnPoint-Coder-7B
9
 
10
+ **A 7B model that generates Godot 4 games.** Fine-tuned for [Spawn Point](https://github.com/leluong141996-dev/Spawn-Point),
11
+ an open-source autonomous game studio: you describe a game in plain English or Vietnamese, the model writes
12
+ the game design as strict JSON, and Spawn Point compiles it into a playable Godot 4 project (scenes, GDScript
13
+ components, levels, sprites) that runs on desktop or in the browser.
14
+
15
+ What it does inside the pipeline:
16
+
17
+ - **Design** — game idea → game brief (genre, character, abilities, enemies, hazards, pickups, goal, feel).
18
+ - **Tweak** — "jump 20% higher, add a dash, more enemies" → a precise patch of the game.
19
+ - **Edit an entity** — "double its health and make it shoot fireballs" → component and parameter changes.
20
+ - **Translate** — Vietnamese game ideas → English briefs.
21
+
22
+ 4-bit AWQ, runs on a single 12 GB GPU.
23
 
24
  ## Run it
25
 
 
32
 
33
  ## Evaluation
34
 
35
+ Held-out Spawn Point tasks (same prompts and JSON schemas as production) plus 30 human-written game ideas
36
+ (English and Vietnamese, 153 checks):
37
 
38
+ | benchmark | v1 | v2 (this release) |
39
  |---|---|---|
40
+ | held-out brief (exact match) | 36% | 88% |
41
+ | held-out tweak (exact match) | 100% | 98% |
42
+ | held-out entity (exact match) | 100% | 91% |
43
+ | held-out translate (exact match) | 52% | 97% |
44
+ | human-written prompts fully right | 73% | 87% |
45
+ | human-written prompts, checks passed | 94% | 97% |
46
+
47
+ ## Limitations
48
+
49
+ - Fine-tuned only for **2D platformers and 2D top-down games** built with Spawn Point's component
50
+ library. Other genres (3D, RPG systems, strategy, card games, racing…) and free-form Godot coding were
51
+ not part of the training data, so expect results no better than a general 7B coder model there.
52
+ - It writes Spawn Point's JSON formats; the GDScript itself comes from Spawn Point's tested component
53
+ library, not from the model. Outside Spawn Point it is a general coding model with a narrow specialty.
54
+ - Occasionally one detail of a request is missed (e.g. a pickup or one enemy type); Spawn Point's
55
+ validator and normalizer catch most of these.
56
 
57
  ## License
58
 
model-00001-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b9f4f3da600eccdfd10fca96c01b0f93cd071a70246bfd20c2c983a843263e0
3
  size 4480835056
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c63c4d808b401ccb67b058f73ed55fb78dc7f983f34f5d3d4085fc3b2832c797
3
  size 4480835056
tokenizer_config.json CHANGED
@@ -205,4 +205,4 @@
205
  "split_special_tokens": false,
206
  "tokenizer_class": "Qwen2Tokenizer",
207
  "unk_token": null
208
- }
 
205
  "split_special_tokens": false,
206
  "tokenizer_class": "Qwen2Tokenizer",
207
  "unk_token": null
208
+ }