Instructions to use SuNavar/Pygenesis-Unity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use SuNavar/Pygenesis-Unity with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="SuNavar/Pygenesis-Unity", filename="pygenesis-unity-q4km.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SuNavar/Pygenesis-Unity 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-Unity # Run inference directly in the terminal: llama cli -hf SuNavar/Pygenesis-Unity
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SuNavar/Pygenesis-Unity # Run inference directly in the terminal: llama cli -hf SuNavar/Pygenesis-Unity
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf SuNavar/Pygenesis-Unity # Run inference directly in the terminal: ./llama-cli -hf SuNavar/Pygenesis-Unity
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf SuNavar/Pygenesis-Unity # Run inference directly in the terminal: ./build/bin/llama-cli -hf SuNavar/Pygenesis-Unity
Use Docker
docker model run hf.co/SuNavar/Pygenesis-Unity
- LM Studio
- Jan
- Ollama
How to use SuNavar/Pygenesis-Unity with Ollama:
ollama run hf.co/SuNavar/Pygenesis-Unity
- Unsloth Studio
How to use SuNavar/Pygenesis-Unity with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SuNavar/Pygenesis-Unity to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SuNavar/Pygenesis-Unity to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for SuNavar/Pygenesis-Unity to start chatting
- Pi
How to use SuNavar/Pygenesis-Unity 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-Unity
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "SuNavar/Pygenesis-Unity" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use SuNavar/Pygenesis-Unity 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-Unity
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:8080/v1 hermes config set model.default SuNavar/Pygenesis-Unity
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use SuNavar/Pygenesis-Unity with Docker Model Runner:
docker model run hf.co/SuNavar/Pygenesis-Unity
- Lemonade
How to use SuNavar/Pygenesis-Unity with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SuNavar/Pygenesis-Unity
Run and chat with the model
lemonade run user.Pygenesis-Unity-{{QUANT_TAG}}List all available models
lemonade list
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
| 1 |
---
|
| 2 |
license: gfdl
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: gfdl
|
| 3 |
+
language:
|
| 4 |
+
- es
|
| 5 |
+
- en
|
| 6 |
---
|
| 7 |
+
# Pygenesis Unity GGUF (Qwen 2.5 Coder Fine-Tuned)
|
| 8 |
+
|
| 9 |
+
**Pygenesis Unity** is a specialized, fine-tuned LLM based on the Qwen 2.5 Coder architecture, optimized for **Unity game development and advanced C# scripting**. This repository contains the model weights in **GGUF format**, making it perfect for efficient local inference.
|
| 10 |
+
|
| 11 |
+
The model was fine-tuned using a curated dataset of nearly 1,000 high-quality, domain-specific instruction-response pairs sourced from official Unity documentation, advanced C# manuals, and high-tier synthetic data.
|
| 12 |
+
|
| 13 |
+
## Model Description
|
| 14 |
+
|
| 15 |
+
- **Developed by:** Pygenesis Association
|
| 16 |
+
- **Base Model:** Qwen 2.5 Coder
|
| 17 |
+
- **Format:** GGUF (Optimized for local deployment)
|
| 18 |
+
- **Specialization:** Unity Engine & C# Language
|
| 19 |
+
|
| 20 |
+
## Training Details
|
| 21 |
+
|
| 22 |
+
The training pipeline focused heavily on structure and logic:
|
| 23 |
+
* Full coverage of Unity Manual best practices, Monobehaviours, Scriptable Objects, and performance optimization.
|
| 24 |
+
* Advanced C# scripting patterns applied to game design.
|
| 25 |
+
* Instructional data distillation using frontier models to maximize code accuracy and deep reasoning capabilities.
|
| 26 |
+
|
| 27 |
+
## Intended Use
|
| 28 |
+
|
| 29 |
+
Pygenesis Unity is tailored for indie developers and technical leads who want a privacy-first, offline assistant to:
|
| 30 |
+
* Generate clean, optimized C# scripts for Unity loops and systems.
|
| 31 |
+
* Debug engine-specific code and refactor legacy scripts.
|
| 32 |
+
* Implement performance-oriented architecture (such as object pooling, memory management, or basic DOTS structures).
|
| 33 |
+
|
| 34 |
+
## How to Use
|
| 35 |
+
|
| 36 |
+
Since this model is provided in GGUF format, you can run it locally using various inference engines.
|
| 37 |
+
|
| 38 |
+
### Example using Llama.cpp CLI:
|
| 39 |
+
```bash
|
| 40 |
+
./llama-cli -m pygenesis-unity-qwen2.5-coder.gguf -p "Write a highly optimized C# script for an object pooling system in Unity." -n 512
|