SuNavar commited on
Commit
ca86d6e
·
verified ·
1 Parent(s): 6c19104

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +97 -1
README.md CHANGED
@@ -12,4 +12,100 @@ tags:
12
  - llama-3.1
13
  - gguf
14
  - q4_k_m
15
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  - llama-3.1
13
  - gguf
14
  - q4_k_m
15
+ ---
16
+ # Model Card for SuNavar/Pygenesis-Unreal
17
+
18
+ Local Unreal Engine 5 assistant. Llama 3.1 8B Instruct, QLoRA-tuned, published as a Q4_K_M GGUF (`pygenesis-unreal-q4km.gguf`). It answers with one BP-Lite JSON graph, one Lighting-Spec JSON, or a short UE5 explanation in Spanish.
19
+
20
+ The Unreal Editor does not load this file. A local FastAPI bridge and an editor plugin turn that JSON into Blueprint nodes or level lighting.
21
+
22
+ This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1).
23
+
24
+ ## Model Details
25
+
26
+ ### Model Description
27
+
28
+ Pygenesis Unreal is a domain model for Unreal Engine 5. It was adapted from Llama 3.1 8B Instruct with 4-bit QLoRA on ShareGPT conversations about Blueprints, lighting, and UE5 troubleshooting, then merged and quantized to GGUF Q4_K_M for llama.cpp.
29
+
30
+ Blueprint requests are expected to come back as a single BP-Lite object (`graph_name`, `nodes`, exec wires). Lighting requests come back as a Lighting-Spec (`environment_type`, directional light, fog, post-process). Other UE5 questions come back as a short explanation. Graph JSON uses Unreal node names in English. Prose is in Spanish.
31
+
32
+ - **Developed by:** Pygenesis Asociation
33
+ - **Funded by:** Independent project. No external funder.
34
+ - **Shared by:** [SuNavar](https://huggingface.co/SuNavar)
35
+ - **Model type:** Causal language model, Llama 3.1 8B Instruct, QLoRA, GGUF Q4_K_M
36
+ - **Language(s):** Spanish for replies. English for Unreal Engine node and pin names. Prompts are written in Spanish.
37
+ - **License:** [Llama 3.1 Community License](https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE). Accept the license on `meta-llama/Llama-3.1-8B-Instruct` before use. The bridge and plugin source are Apache-2.0.
38
+ - **Finetuned from model:** [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct)]
39
+
40
+ ### Model Sources [optional]
41
+
42
+ **Repository:** [github.com/Asociacion-Pygenesis/Pygenesis_Unreal](https://github.com/Asociacion-Pygenesis/Pygenesis_Unreal)
43
+ - **Model weights:** [SuNavar/Pygenesis-Unreal](https://huggingface.co/SuNavar/Pygenesis-Unreal)
44
+ - **Paper:** None
45
+ - **Demo:** Local only. Window → Pygenesis Unreal inside the Unreal Editor, after the FastAPI bridge is running.
46
+ ## Uses
47
+
48
+ Foreseeable users are Unreal Engine developers who want a first draft of a Blueprint graph or a lighting setup on their own machine.
49
+ People affected are the same users: a wrong graph can be applied in the Editor if they accept it. The model does not connect to Epic services and does not send
50
+ the prompt off the machine once the GGUF is local.
51
+
52
+ ### Direct Use
53
+
54
+ Load `pygenesis-unreal-q4km.gguf` in llama.cpp or `llama-cpp-python` with the Llama 3.1 Instruct chat template.
55
+ Ask, in Spanish, for a Blueprint, a lighting preset, or a short UE5 explanation. Read the JSON before using it.
56
+ The file by itself does not create assets.
57
+
58
+ ### Downstream Use [optional]
59
+
60
+ The Pygenesis Unreal plugin is the intended downstream app. The bridge calls this GGUF locally, keeps one JSON object, and the plugin builds
61
+ the Blueprint or applies the lighting in the Editor. That app can drop an unresolved function and can ask the model to continue a graph that
62
+ closed too early. It does not invent nodes the model never wrote.
63
+
64
+
65
+ ### Out-of-Scope Use
66
+
67
+ - A general-purpose chatbot, a coding agent, or a replacement for Epic's documentation.
68
+ - Compiling a project, writing production C++, or shipping a game from the raw JSON.
69
+ - Treating every node name as a real Unreal function. Unknown functions must be checked.
70
+ - Any use that the Llama 3.1 Community License does not allow.
71
+
72
+
73
+ ## Bias, Risks, and Limitations
74
+
75
+ The model inherits Llama 3.1's training biases and adds a narrow Unreal corpus. It can close a graph before the request is covered,
76
+ repeat JSON keys, or keep writing after the object. It can name a pin or a function that does not exist in UE5. Q4_K_M is lossy relative
77
+ to the merged 16-bit weights. The documented training set is small (about 1,309 train conversations and 231 eval conversations) and mixes
78
+ synthetic ShareGPT turns with excerpts from Epic manuals, so answers can sound official while still being wrong.
79
+
80
+ Applying a bad graph in the Editor changes the open project. Review the JSON, then apply it.
81
+
82
+
83
+ ### Recommendations
84
+
85
+ Users should keep the GGUF local, read the JSON, and apply it only through a tool that rejects unresolved functions.
86
+ Do not treat a closed JSON object as proof that every requested node is present.
87
+ Do not use the model as the only source for Unreal API facts.
88
+
89
+
90
+
91
+ ### Training Data
92
+
93
+ ShareGPT conversations for this project. The set documented with the training scripts is about 1,309 training
94
+ examples and 231 evaluation examples. It covers BP-Lite graphs, Lighting-Spec presets, UE5 troubleshooting,
95
+ and chunks taken from official Epic manuals. The system prompt used in training is `UNREAL_SYSTEM`.
96
+ There is no public dataset card for this mix. The GGUF in this repo does not include the dataset.
97
+
98
+
99
+ ### Training Procedure
100
+
101
+ QLoRA, 4-bit, on `meta-llama/Llama-3.1-8B-Instruct`, with the Llama 3.1 Instruct chat template.
102
+ The target context in the project plan is 4,096 tokens. The adapter was merged into a full Hugging
103
+ Face model, exported to f16 GGUF, and quantized with `llama-quantize` to Q4_K_M.
104
+ The published file is that Q4_K_M GGUF, `pygenesis-unreal-q4km.gguf`.
105
+
106
+
107
+
108
+
109
+
110
+
111
+