Instructions to use WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF 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 WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF 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 WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M
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 WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M
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 WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M
- Ollama
How to use WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF with Ollama:
ollama run hf.co/WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF with Docker Model Runner:
docker model run hf.co/WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M
- Lemonade
How to use WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull WithinUsAI/GPT5.1-High.Reasoning.Codex-0.4B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.GPT5.1-High.Reasoning.Codex-0.4B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Guy DuGan II commited on
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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13 |
+
- en
|
| 14 |
+
model_type: gguf
|
| 15 |
+
inference: false
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# GPT5.1-high-reasoning-codex-0.4B-GGUF
|
| 19 |
+
|
| 20 |
+
**GPT5.1-high-reasoning-codex-0.4B-GGUF** is a compact GGUF language model release from **WithIn Us AI**, intended for local inference and lightweight coding or reasoning-oriented experiments.
|
| 21 |
+
|
| 22 |
+
This repository provides quantized GGUF builds for efficient use with **llama.cpp** and compatible runtimes.
|
| 23 |
+
|
| 24 |
+
## Model Summary
|
| 25 |
+
|
| 26 |
+
This model is designed for:
|
| 27 |
+
|
| 28 |
+
- lightweight local inference
|
| 29 |
+
- coding and prompt-based development assistance
|
| 30 |
+
- compact reasoning-style experiments
|
| 31 |
+
- offline chat and text generation workflows
|
| 32 |
+
- small-footprint deployments
|
| 33 |
+
|
| 34 |
+
Because this is a **0.4B** parameter class model, it is best suited for fast iteration, simple coding tasks, prompt experiments, structured text generation, and lightweight assistant workflows rather than heavy long-context reasoning or complex production-grade coding autonomy.
|
| 35 |
+
|
| 36 |
+
## Repository Contents
|
| 37 |
+
|
| 38 |
+
This repository currently includes the following files:
|
| 39 |
+
|
| 40 |
+
- `GPT5.1-high-reasoning-codex-0.4B.Q4_K_M.gguf`
|
| 41 |
+
- `GPT5.1-high-reasoning-codex-0.4B.Q5_K_M.gguf`
|
| 42 |
+
- `GPT5.1-high-reasoning-codex-0.4B.f16.gguf`
|
| 43 |
+
|
| 44 |
+
## Quantization Variants
|
| 45 |
+
|
| 46 |
+
### Q4_K_M
|
| 47 |
+
A smaller and more memory-efficient quantization for lower RAM usage and faster local inference.
|
| 48 |
+
|
| 49 |
+
### Q5_K_M
|
| 50 |
+
A slightly larger quantization that may provide somewhat better output quality while remaining efficient.
|
| 51 |
+
|
| 52 |
+
### F16
|
| 53 |
+
A higher-precision GGUF variant intended for users who want the least quantization loss and have more memory available.
|
| 54 |
+
|
| 55 |
+
## Architecture
|
| 56 |
+
|
| 57 |
+
The repository metadata currently identifies the architecture as:
|
| 58 |
+
|
| 59 |
+
- **gpt2**
|
| 60 |
+
|
| 61 |
+
## Intended Use
|
| 62 |
+
|
| 63 |
+
Recommended use cases include:
|
| 64 |
+
|
| 65 |
+
- local coding assistant experiments
|
| 66 |
+
- toy and lightweight software-help workflows
|
| 67 |
+
- code completion and code drafting
|
| 68 |
+
- debugging ideas and implementation suggestions
|
| 69 |
+
- instruction-following tests
|
| 70 |
+
- prompt engineering experiments
|
| 71 |
+
- low-resource local deployments
|
| 72 |
+
|
| 73 |
+
## Out-of-Scope Use
|
| 74 |
+
|
| 75 |
+
This model should not be relied on for:
|
| 76 |
+
|
| 77 |
+
- legal advice
|
| 78 |
+
- medical advice
|
| 79 |
+
- financial advice
|
| 80 |
+
- safety-critical automation
|
| 81 |
+
- production code generation without review
|
| 82 |
+
- security-sensitive decisions without human verification
|
| 83 |
+
|
| 84 |
+
All generated code should be reviewed, tested, and validated before use.
|
| 85 |
+
|
| 86 |
+
## Performance Expectations
|
| 87 |
+
|
| 88 |
+
As a compact **0.4B** model, this release trades raw capability for speed, portability, and lower hardware requirements. It may perform well for:
|
| 89 |
+
|
| 90 |
+
- short code snippets
|
| 91 |
+
- compact prompts
|
| 92 |
+
- structured assistant replies
|
| 93 |
+
- lightweight reasoning-style tasks
|
| 94 |
+
|
| 95 |
+
It may struggle with:
|
| 96 |
+
|
| 97 |
+
- long and complex codebases
|
| 98 |
+
- deep multi-step reasoning
|
| 99 |
+
- strict factual reliability
|
| 100 |
+
- advanced tool orchestration
|
| 101 |
+
- heavy instruction retention over long prompts
|
| 102 |
+
|
| 103 |
+
## Prompting Tips
|
| 104 |
+
|
| 105 |
+
For best results, use prompts that are:
|
| 106 |
+
|
| 107 |
+
- specific
|
| 108 |
+
- short to medium length
|
| 109 |
+
- explicit about the desired language or format
|
| 110 |
+
- clear about constraints
|
| 111 |
+
- direct about whether you want code, explanation, or both
|
| 112 |
+
|
| 113 |
+
### Example prompts
|
| 114 |
+
|
| 115 |
+
**Code generation**
|
| 116 |
+
> Write a Python function that reads a JSON file, validates required fields, and returns a cleaned list of records.
|
| 117 |
+
|
| 118 |
+
**Refactoring**
|
| 119 |
+
> Refactor this JavaScript function to be more readable and add basic error handling.
|
| 120 |
+
|
| 121 |
+
**Debugging**
|
| 122 |
+
> Explain why this Python code raises a KeyError and show a corrected version.
|
| 123 |
+
|
| 124 |
+
## Hardware and Runtime Notes
|
| 125 |
+
|
| 126 |
+
This model is packaged in **GGUF** format, which is suitable for **llama.cpp**-style local inference stacks and related frontends / runtimes that support GGUF models.
|
| 127 |
+
|
| 128 |
+
Typical choices:
|
| 129 |
+
|
| 130 |
+
- use **Q4_K_M** for smaller memory usage
|
| 131 |
+
- use **Q5_K_M** for a quality / size balance
|
| 132 |
+
- use **F16** when memory allows and you want higher precision
|
| 133 |
+
|
| 134 |
+
## Limitations
|
| 135 |
+
|
| 136 |
+
Like other small language models, this model may:
|
| 137 |
+
|
| 138 |
+
- hallucinate APIs, functions, or package behavior
|
| 139 |
+
- generate incorrect code
|
| 140 |
+
- produce insecure code patterns
|
| 141 |
+
- make reasoning mistakes
|
| 142 |
+
- lose instruction fidelity on longer prompts
|
| 143 |
+
- require prompt retries for acceptable output quality
|
| 144 |
+
|
| 145 |
+
Human oversight is strongly recommended.
|
| 146 |
+
|
| 147 |
+
## Training / Lineage
|
| 148 |
+
|
| 149 |
+
This repository is presented as a **WithIn Us AI** model release and GGUF packaging distribution.
|
| 150 |
+
|
| 151 |
+
If you want, this section can be expanded later with:
|
| 152 |
+
|
| 153 |
+
- base model lineage
|
| 154 |
+
- fine-tuning details
|
| 155 |
+
- merge methodology
|
| 156 |
+
- dataset attribution
|
| 157 |
+
- training objective
|
| 158 |
+
- chat template recommendations
|
| 159 |
+
|
| 160 |
+
## License
|
| 161 |
+
|
| 162 |
+
This repository currently uses a custom / non-standard license field approach in this model card draft:
|
| 163 |
+
|
| 164 |
+
- `license: other`
|
| 165 |
+
|
| 166 |
+
You can replace this section with your exact **WithIn Us AI custom license terms**. If this model is derived from upstream weights or datasets, include:
|
| 167 |
+
|
| 168 |
+
- attribution to the original base model creators
|
| 169 |
+
- attribution to any third-party datasets used
|
| 170 |
+
- clear statement that WithIn Us AI claims authorship of the fine-tuning / merging / packaging process, not ownership of third-party source materials unless applicable
|
| 171 |
+
|
| 172 |
+
## Acknowledgments
|
| 173 |
+
|
| 174 |
+
Thanks to:
|
| 175 |
+
|
| 176 |
+
- the open-source local inference ecosystem
|
| 177 |
+
- GGUF and llama.cpp tooling contributors
|
| 178 |
+
- the broader Hugging Face community
|
| 179 |
+
- all upstream creators whose work may have contributed to the model’s lineage
|
| 180 |
+
|
| 181 |
+
## Disclaimer
|
| 182 |
+
|
| 183 |
+
This model may produce inaccurate, biased, insecure, or incomplete outputs.
|
| 184 |
+
Use responsibly, and verify important results before real-world use.
|