Text Generation
Transformers
Safetensors
GGUF
English
qwen3_5_moe_text
Merge
custom-merge
layer-wise-merge
depth-aligned-merge
coding
code-generation
abliterated
reasoning
qwen3
qwen3-coder
reap
Mixture of Experts
conversational
Instructions to use Johnblick187/Nexus-Coder-5Q3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Johnblick187/Nexus-Coder-5Q3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Johnblick187/Nexus-Coder-5Q3") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Johnblick187/Nexus-Coder-5Q3") model = AutoModelForCausalLM.from_pretrained("Johnblick187/Nexus-Coder-5Q3") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - llama-cpp-python
How to use Johnblick187/Nexus-Coder-5Q3 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Johnblick187/Nexus-Coder-5Q3", filename="heretic-nexus-coder-Q3_K_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Johnblick187/Nexus-Coder-5Q3 with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Johnblick187/Nexus-Coder-5Q3:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Johnblick187/Nexus-Coder-5Q3:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Johnblick187/Nexus-Coder-5Q3:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Johnblick187/Nexus-Coder-5Q3: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 Johnblick187/Nexus-Coder-5Q3:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Johnblick187/Nexus-Coder-5Q3: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 Johnblick187/Nexus-Coder-5Q3:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Johnblick187/Nexus-Coder-5Q3:Q4_K_M
Use Docker
docker model run hf.co/Johnblick187/Nexus-Coder-5Q3:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Johnblick187/Nexus-Coder-5Q3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Johnblick187/Nexus-Coder-5Q3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Johnblick187/Nexus-Coder-5Q3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Johnblick187/Nexus-Coder-5Q3:Q4_K_M
- SGLang
How to use Johnblick187/Nexus-Coder-5Q3 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Johnblick187/Nexus-Coder-5Q3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Johnblick187/Nexus-Coder-5Q3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Johnblick187/Nexus-Coder-5Q3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Johnblick187/Nexus-Coder-5Q3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Johnblick187/Nexus-Coder-5Q3 with Ollama:
ollama run hf.co/Johnblick187/Nexus-Coder-5Q3:Q4_K_M
- Unsloth Studio new
How to use Johnblick187/Nexus-Coder-5Q3 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 Johnblick187/Nexus-Coder-5Q3 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 Johnblick187/Nexus-Coder-5Q3 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Johnblick187/Nexus-Coder-5Q3 to start chatting
- Pi new
How to use Johnblick187/Nexus-Coder-5Q3 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Johnblick187/Nexus-Coder-5Q3:Q4_K_M
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": "Johnblick187/Nexus-Coder-5Q3:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Johnblick187/Nexus-Coder-5Q3 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Johnblick187/Nexus-Coder-5Q3:Q4_K_M
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 Johnblick187/Nexus-Coder-5Q3:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use Johnblick187/Nexus-Coder-5Q3 with Docker Model Runner:
docker model run hf.co/Johnblick187/Nexus-Coder-5Q3:Q4_K_M
- Lemonade
How to use Johnblick187/Nexus-Coder-5Q3 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Johnblick187/Nexus-Coder-5Q3:Q4_K_M
Run and chat with the model
lemonade run user.Nexus-Coder-5Q3-Q4_K_M
List all available models
lemonade list
Delete llama.cpp/models
Browse files- llama.cpp/models/ggml-vocab-aquila.gguf +0 -3
- llama.cpp/models/ggml-vocab-baichuan.gguf +0 -3
- llama.cpp/models/ggml-vocab-bert-bge.gguf +0 -3
- llama.cpp/models/ggml-vocab-command-r.gguf +0 -3
- llama.cpp/models/ggml-vocab-deepseek-coder.gguf +0 -3
- llama.cpp/models/ggml-vocab-deepseek-llm.gguf +0 -3
- llama.cpp/models/ggml-vocab-falcon.gguf +0 -3
- llama.cpp/models/ggml-vocab-gemma-4.gguf +0 -3
- llama.cpp/models/ggml-vocab-gpt-2.gguf +0 -3
- llama.cpp/models/ggml-vocab-gpt-neox.gguf +0 -3
- llama.cpp/models/ggml-vocab-llama-bpe.gguf +0 -3
- llama.cpp/models/ggml-vocab-llama-spm.gguf +0 -3
- llama.cpp/models/ggml-vocab-mpt.gguf +0 -3
- llama.cpp/models/ggml-vocab-nomic-bert-moe.gguf +0 -3
- llama.cpp/models/ggml-vocab-phi-3.gguf +0 -3
- llama.cpp/models/ggml-vocab-qwen2.gguf +0 -3
- llama.cpp/models/ggml-vocab-refact.gguf +0 -3
- llama.cpp/models/ggml-vocab-starcoder.gguf +0 -3
llama.cpp/models/ggml-vocab-aquila.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7c53c3c516ac67c7ca12977b9690fdea3d2ef13bbaed6378f98191a13ef5ca00
|
| 3 |
-
size 4825676
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-baichuan.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4f5b955697f3bd3108070b1d5936c7eb9fc542b81c6932e59abddec75bca1963
|
| 3 |
-
size 1340998
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-bert-bge.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fbcbe22278fb302694d5f4a41bfe48c5f90e8e3554eab1c0435387dff654a854
|
| 3 |
-
size 627549
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-command-r.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a2f8cfea952ef7c391a6d92a1c309d0bd32e36384d9b9230569a7425732f27d9
|
| 3 |
-
size 10874545
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-deepseek-coder.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:91cb1379f2e33af1c4866b194622b7a0e12e8f0c9dba7ba2f10d55978730bec1
|
| 3 |
-
size 1156067
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-deepseek-llm.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:867f77537b54565f0d81d508c04edc41aa1d4ffc1a92745f225b4c1b02755f76
|
| 3 |
-
size 3970167
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-falcon.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9f0bf8b0733680398b72e652e90f260f43782f326e75545fc0e49611a5ba35ad
|
| 3 |
-
size 2287728
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-gemma-4.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:58b1ba0b57f3b4d7c468ba4ffd91ad85190346a3d7ad7e71d1cabaae8a14bb65
|
| 3 |
-
size 15776467
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-gpt-2.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cedc56ca6e2e89f63e781696d1fd76b4b1d49e6720dee86463e915f6e90016ac
|
| 3 |
-
size 1766807
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-gpt-neox.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ae593a7f9b8bb174ed4f5019e41530463e4dac7aa06e42dee8aa650d2bdac53d
|
| 3 |
-
size 1771431
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-llama-bpe.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:97272e430d53bc7688f52d5e0ad8ea8f163ede9f1bbd1694feaa504797d5d96e
|
| 3 |
-
size 7818140
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-llama-spm.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:16c3724582d59aa8bf84711894e833f916ee46a31d80e21312759c48bf8d0e69
|
| 3 |
-
size 723869
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-mpt.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:59dc382612866d1fc6c11ea531318d327598f3412d9c8f8600607cdf3030898f
|
| 3 |
-
size 1771393
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-nomic-bert-moe.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:90a6746926454784a98389ad36a36d89bc9cfc81db9cb0f33c941bcc959fe5f9
|
| 3 |
-
size 6821877
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-phi-3.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:967d7190d11c4842eab697079d98d56c2116e10eb617be355a2733bfc132e326
|
| 3 |
-
size 726019
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-qwen2.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:44c2f46b715f585c6ab513970e8a006bfa5badd6108560054921cf598d154d8c
|
| 3 |
-
size 5928681
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-refact.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ac3ceda902fed91ccf74312b305d9b86c37e4f8e35fa9cc6ef3ce34fca7d4678
|
| 3 |
-
size 1720710
|
|
|
|
|
|
|
|
|
|
|
|
llama.cpp/models/ggml-vocab-starcoder.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fedb892b4e1bd3c1f2fcdae356440b14fb458f4264d586e5c987ed93df4e174d
|
| 3 |
-
size 1719346
|
|
|
|
|
|
|
|
|
|
|
|