Text Generation
GGUF
Spanish
English
unreal-engine
blueprints-assistant
llama-3.1
q4_k_m
conversational
Instructions to use SuNavar/Pygenesis-Unreal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SuNavar/Pygenesis-Unreal with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf SuNavar/Pygenesis-Unreal # Run inference directly in the terminal: llama cli -hf SuNavar/Pygenesis-Unreal
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SuNavar/Pygenesis-Unreal # Run inference directly in the terminal: llama cli -hf SuNavar/Pygenesis-Unreal
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf SuNavar/Pygenesis-Unreal # Run inference directly in the terminal: ./build/bin/llama cli -hf SuNavar/Pygenesis-Unreal
Use Docker
docker model run hf.co/SuNavar/Pygenesis-Unreal
- Llama new
- LM Studio
- Jan
- vLLM
How to use SuNavar/Pygenesis-Unreal with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SuNavar/Pygenesis-Unreal" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SuNavar/Pygenesis-Unreal", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SuNavar/Pygenesis-Unreal
- Ollama
How to use SuNavar/Pygenesis-Unreal with Ollama:
ollama run hf.co/SuNavar/Pygenesis-Unreal
- Unsloth Desktop
- Pi
How to use SuNavar/Pygenesis-Unreal with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SuNavar/Pygenesis-Unreal
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "SuNavar/Pygenesis-Unreal" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use SuNavar/Pygenesis-Unreal with Docker Model Runner:
docker model run hf.co/SuNavar/Pygenesis-Unreal
- Lemonade
How to use SuNavar/Pygenesis-Unreal with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SuNavar/Pygenesis-Unreal
Run and chat with the model
lemonade run user.Pygenesis-Unreal-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use SuNavar/Pygenesis-Unreal with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SuNavar/Pygenesis-Unreal
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default SuNavar/Pygenesis-Unreal
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use SuNavar/Pygenesis-Unreal with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SuNavar/Pygenesis-Unreal
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "SuNavar/Pygenesis-Unreal" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Update README.md
Browse files
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 |
+
|