| | --- |
| | license: llama3 |
| | language: |
| | - en |
| | - code |
| | pipeline_tag: text-generation |
| | tags: |
| | - python |
| | - software-architecture |
| | - clean-code |
| | - senior-level |
| | - optimization |
| | - devnexai |
| | base_model: meta-llama/Meta-Llama-3-8B |
| | widget: |
| | - text: "Refactor this function to use a Decorator for logging execution time and memory usage:" |
| | - text: "Explain the difference between threading and asyncio in Python with a thread-safe Singleton example." |
| | --- |
| | |
| | # π DevNexAI-v1-Pro: The Senior Python Architect |
| |
|
| | **Model by [DevNexAi]** | *Part of the DevNexAI Ecosystem* |
| |
|
| | > **"Stop generating Junior code. Start generating Architecture."** |
| |
|
| | **DevNexAI-v1-Pro** is a specialized fine-tuned Large Language Model based on **Llama-3-8B**, engineered specifically for Senior Software Engineers, System Architects, and Tech Leads. |
| |
|
| | Unlike generalist models that prioritize speed or generic scripting, this model has been rigorously trained on a curated dataset of **Senior-Level Python**, focusing on maintainability, performance, and enterprise-grade best practices. |
| |
|
| | ## π§ Senior-Level Capabilities |
| | This model doesn't just write code; it understands the engineering behind it. |
| | * **π Idiomatic Python (Pythonic):** Expert usage of List Comprehensions, Generators, Context Managers, and Metaclasses. |
| | * **ποΈ Clean Architecture:** Strict application of SOLID principles, Design Patterns (Factory, Strategy, Observer), and Hexagonal Architecture concepts. |
| | * **β‘ Optimization & Concurrency:** Correct implementation of `asyncio`, `multiprocessing`, and efficient memory management. |
| | * **π‘οΈ Robustness:** Strict Type Hinting, professional Docstrings, and defensive error handling. |
| |
|
| | ## π» How to Use (Local Inference) |
| |
|
| | The most efficient way to run this model locally while keeping your data private is using **Ollama** or **LM Studio**. |
| |
|
| | ### Option A: Ollama (Recommended) |
| | 1. Download the `.gguf` file from this repository. |
| | 2. Create a file named `Modelfile` with the following content: |
| | ```dockerfile |
| | FROM ./devnexai-v1-pro.Q4_K_M.gguf |
| | SYSTEM "You are a Senior Software Architect. You write efficient, documented, and idiomatic Python code. You prefer clean architecture over quick hacks." |
| | |