Instructions to use Nerdsking/Nerdsking-python-coder-7B-i 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 Nerdsking/Nerdsking-python-coder-7B-i 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 Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I # Run inference directly in the terminal: llama cli -hf Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I # Run inference directly in the terminal: llama cli -hf Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
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 Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I # Run inference directly in the terminal: ./llama-cli -hf Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
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 Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I # Run inference directly in the terminal: ./build/bin/llama-cli -hf Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
Use Docker
docker model run hf.co/Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
- LM Studio
- Jan
- vLLM
How to use Nerdsking/Nerdsking-python-coder-7B-i with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Nerdsking/Nerdsking-python-coder-7B-i" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Nerdsking/Nerdsking-python-coder-7B-i", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
- Ollama
How to use Nerdsking/Nerdsking-python-coder-7B-i with Ollama:
ollama run hf.co/Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
- Unsloth Studio
How to use Nerdsking/Nerdsking-python-coder-7B-i 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 Nerdsking/Nerdsking-python-coder-7B-i 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 Nerdsking/Nerdsking-python-coder-7B-i to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Nerdsking/Nerdsking-python-coder-7B-i to start chatting
- Pi
How to use Nerdsking/Nerdsking-python-coder-7B-i with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
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": "Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use Nerdsking/Nerdsking-python-coder-7B-i with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
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:8080/v1 \ --custom-model-id "Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I" \ --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"
- Docker Model Runner
How to use Nerdsking/Nerdsking-python-coder-7B-i with Docker Model Runner:
docker model run hf.co/Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
- Lemonade
How to use Nerdsking/Nerdsking-python-coder-7B-i with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
Run and chat with the model
lemonade run user.Nerdsking-python-coder-7B-i-Q6_K_I
List all available models
lemonade list
- Hermes Agent
How to use Nerdsking/Nerdsking-python-coder-7B-i with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
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 Nerdsking/Nerdsking-python-coder-7B-i:Q6_K_I
Run Hermes
hermes
- Atomic Chat
File size: 5,095 Bytes
ecbef7b f89a0a3 ecbef7b 72b895a ad330f0 8308a2f ecbef7b f89a0a3 ecbef7b 1406d0e ecbef7b 1928b85 ecbef7b 29465a4 ecbef7b f960301 29465a4 c7484ec 29465a4 b5c1e1f ecbef7b 976e4f5 ecbef7b bf5f34f 816dd37 bf5f34f 816dd37 bf5f34f 816dd37 ecbef7b 816dd37 ecbef7b 5968c84 ecbef7b 07d63bc ecbef7b 46c8773 ecbef7b 6376183 f89a0a3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | ---
license: apache-2.0
language:
- en
- pt
- zh
- es
- de
- it
- fr
metrics:
- type:
HumanEval zero-shot pass@1: null
value:
'86.99': null
base_model:
- Qwen/Qwen2.5-Coder-7B-Instruct
pipeline_tag: text-generation
tags:
- code
---
<!-- Provide a quick summary of what the model is/does. -->
#### Model Details
<p class="justified-text">
<b>Nerdsking-python-coder-7B-i</b> is a 7B parameter partially uncensored model focused in <b> coding</b>. It was massively trained in python, therefore despite the fact it can code in other languages as well, the performance will be not in the same level as the one achieved while using python.
</p>
<i>Key Characteristics:</i>
- Parameter count: 7B
- Primary domain: Python programming
- Secondary capabilities: General coding, technical English
- Training focus: Python logic, standard library usage, algorithmic reasoning
- Alignment: Partially uncensored (developer-oriented)
<br>
<p>
#### Nerdsking Python Coder Family
🧠 <a href="https://huggingface.co/Nerdsking/nerdsking-python-coder-3B-i"> Nerdsking Python Coder 3B-i </a><br>
🧠 <a href="https://huggingface.co/Nerdsking/Nerdsking-python-coder-7B-i"> Nerdsking Python Coder 7B-i </a>
<br>
<p>
#### Benchmark
<p class="justified-text">
After intense refining, <b>Nerdsking-python-coder-7B-i</b> has achieved <b>86.99 in HumanEval (bf16)</b>, ranking it amongst the highest-performing Python-focused 7B models ever reported on HumanEval. Surpassing even much bigger models in that area.
</p>
<i>Benchmark details (164 tasks):</i>
- official HumanEval execution protocol - test suites executed via `exec()`
- zero-shot pass@1
- dtype == "bfloat16"
- temperature = 0.1
- do_sample = False
- evaluated on fully merged weights
- Prompting: Chat-formatted with a fixed system prompt (“You are an expert Python coding assistant.”)
- Quantization: None (unquantized weights - bf16)
<p class="justified-text">
<i>The configuration above is fully disclosed to support reproducibility and fair comparison.</i>
</p>
<p class="justified-text">
<i> Note: Quantized variants (INT4/INT6) may exhibit lower HumanEval scores due to reduced numerical precision.</i>
</p>
#### Comparison Table
<table>
<thead>
<tr>
<th>Model name</th>
<th>Approx. HumanEval Pass@1 (%)</th>
<th>Notes / Source</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Nerdsking-python-coder-7B-i</strong></td>
<td><strong>86.99</strong></td>
<td>Evaluated score (zero-shot, strict HumanEval pass@1, using unquantized weigths bf16)</td>
</tr>
<tr>
<td>Qwen2.5-Coder-7B</td>
<td>~74–76</td>
<td>Community evaluation (OpenCompass run); figures vary by harness/settings</td>
</tr>
<tr>
<td>DeepSeek-Coder-6.7B</td>
<td>~72–73</td>
<td>Official DeepSeek report and independent replications; close to strict HumanEval protocol</td>
</tr>
<tr>
<td>CodeLlama-7B</td>
<td>~33–35</td>
<td>Meta technical report</td>
</tr>
<tr>
<td>Wizard Coder 7B*</td>
<td>~57–59</td>
<td>Community benchmarks; strong instruction-following but less consistent zero-shot behavior</td>
</tr>
</tbody>
</table>
<p class="justified-text">
</p>
<hr>
#### Benchmark tool used
https://github.com/nerdskingcom/gguf-humaneval-benchmark
Install it using:
<code>
pip install gguf-humaneval-benchmark
</code>
Instructions after install:
<code>
gguf-humaneval-benchmark --help
</code>
<hr>
#### S.o.n.n.
<p class="justified-text">
The model was treated under <b>"s.o.n.n."</b> (<i>single omni neural network</i>), a concept created by IPMN at Nerdsking.com that is both a precise way of fine tunning/altering existing models, as well a foundational concept for a broader AI architecture standard currently under active research and development.
</p>
<i>When applied to pre-existing models, allows:</i>
- parameter-preserving refinement methodology
- focused global behavioral shaping, instead of task-local adapters
- avoidance of fragmentation, very common in multi-adapter or task-siloed approaches
#### Quick Start (Inference)
<code>
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Nerdsking/Nerdsking-python-coder-7B-i"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="bfloat16",
device_map="auto"
)
prompt = "Write a Python function that checks if a number is prime."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
</code>
#### Ethical & Safety Notes
<p class="justified-text">
This model is intended for technical and research use.
Due to relaxed alignment constraints, outputs should be reviewed before deployment in production or public-facing systems.
</p>
#### Citation
If you use this model in research and/or benchmarking, please cite:
Nerdsking-python-coder-7B-i,
Iran Necho (IPMN) / Nerdsking.com |