Instructions to use Mungert/DiffuCoder-7B-cpGRPO-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Mungert/DiffuCoder-7B-cpGRPO-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Mungert/DiffuCoder-7B-cpGRPO-GGUF", filename="DiffuCoder-7B-cpGRPO-bf16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Mungert/DiffuCoder-7B-cpGRPO-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Mungert/DiffuCoder-7B-cpGRPO-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 Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Mungert/DiffuCoder-7B-cpGRPO-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 Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Mungert/DiffuCoder-7B-cpGRPO-GGUF with Ollama:
ollama run hf.co/Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M
- Unsloth Studio new
How to use Mungert/DiffuCoder-7B-cpGRPO-GGUF 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 Mungert/DiffuCoder-7B-cpGRPO-GGUF 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 Mungert/DiffuCoder-7B-cpGRPO-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Mungert/DiffuCoder-7B-cpGRPO-GGUF to start chatting
- Pi new
How to use Mungert/DiffuCoder-7B-cpGRPO-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Mungert/DiffuCoder-7B-cpGRPO-GGUF: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": "Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Mungert/DiffuCoder-7B-cpGRPO-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Mungert/DiffuCoder-7B-cpGRPO-GGUF: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 Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use Mungert/DiffuCoder-7B-cpGRPO-GGUF with Docker Model Runner:
docker model run hf.co/Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M
- Lemonade
How to use Mungert/DiffuCoder-7B-cpGRPO-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Mungert/DiffuCoder-7B-cpGRPO-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.DiffuCoder-7B-cpGRPO-GGUF-Q4_K_M
List all available models
lemonade list
Commit ·
eefa8fe
verified ·
0
Parent(s):
Super-squash history to reclaim storage
Browse files- .gitattributes +77 -0
- DiffuCoder-7B-cpGRPO-bf16.gguf +3 -0
- DiffuCoder-7B-cpGRPO-bf16_q8_0.gguf +3 -0
- DiffuCoder-7B-cpGRPO-f16_q8_0.gguf +3 -0
- DiffuCoder-7B-cpGRPO-iq2_m.gguf +3 -0
- DiffuCoder-7B-cpGRPO-iq2_s.gguf +3 -0
- DiffuCoder-7B-cpGRPO-iq2_xs.gguf +3 -0
- DiffuCoder-7B-cpGRPO-iq2_xxs.gguf +3 -0
- DiffuCoder-7B-cpGRPO-iq3_m.gguf +3 -0
- DiffuCoder-7B-cpGRPO-iq3_s.gguf +3 -0
- DiffuCoder-7B-cpGRPO-iq3_xs.gguf +3 -0
- DiffuCoder-7B-cpGRPO-iq3_xxs.gguf +3 -0
- DiffuCoder-7B-cpGRPO-iq4_nl.gguf +3 -0
- DiffuCoder-7B-cpGRPO-iq4_xs.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q2_k_m.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q2_k_s.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q3_k_m.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q3_k_s.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q4_0.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q4_1.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q4_k_m.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q4_k_s.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q5_0.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q5_1.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q5_k_m.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q5_k_s.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q6_k_m.gguf +3 -0
- DiffuCoder-7B-cpGRPO-q8_0.gguf +3 -0
- DiffuCoder-7B-cpGRPO.imatrix +3 -0
- README.md +171 -0
.gitattributes
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
DiffuCoder-7B-cpGRPO-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
DiffuCoder-7B-cpGRPO-f16_q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
DiffuCoder-7B-cpGRPO-bf16_q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
DiffuCoder-7B-cpGRPO-f16_q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
DiffuCoder-7B-cpGRPO-bf16_q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
DiffuCoder-7B-cpGRPO-f16_q4_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
DiffuCoder-7B-cpGRPO-bf16_q4_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
DiffuCoder-7B-cpGRPO-q2_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
DiffuCoder-7B-cpGRPO-q3_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
DiffuCoder-7B-cpGRPO-q4_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
DiffuCoder-7B-cpGRPO-q5_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
DiffuCoder-7B-cpGRPO-q6_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
DiffuCoder-7B-cpGRPO-q2_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
DiffuCoder-7B-cpGRPO-q2_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
DiffuCoder-7B-cpGRPO-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
DiffuCoder-7B-cpGRPO-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
DiffuCoder-7B-cpGRPO-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
DiffuCoder-7B-cpGRPO-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
DiffuCoder-7B-cpGRPO-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
DiffuCoder-7B-cpGRPO-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
DiffuCoder-7B-cpGRPO-q6_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
DiffuCoder-7B-cpGRPO-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
DiffuCoder-7B-cpGRPO-q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
DiffuCoder-7B-cpGRPO-q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
DiffuCoder-7B-cpGRPO-q4_0_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
DiffuCoder-7B-cpGRPO-q4_1_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
DiffuCoder-7B-cpGRPO-q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
DiffuCoder-7B-cpGRPO-q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
DiffuCoder-7B-cpGRPO-q5_0_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
DiffuCoder-7B-cpGRPO-q5_1_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
DiffuCoder-7B-cpGRPO-iq2_xs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
DiffuCoder-7B-cpGRPO-iq2_xxs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
DiffuCoder-7B-cpGRPO-iq2_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
DiffuCoder-7B-cpGRPO-iq2_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
DiffuCoder-7B-cpGRPO-iq3_xs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
DiffuCoder-7B-cpGRPO-iq3_xxs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
DiffuCoder-7B-cpGRPO-iq3_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
DiffuCoder-7B-cpGRPO-iq3_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
DiffuCoder-7B-cpGRPO-iq4_xs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
DiffuCoder-7B-cpGRPO-iq4_nl.gguf filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
DiffuCoder-7B-cpGRPO.imatrix filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
DiffuCoder-7B-cpGRPO-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
DiffuCoder-7B-cpGRPO-bf16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:939be7b581eac8b540a16c3332f8629e64d1c0330733c8948199d3e657c3f42e
|
| 3 |
+
size 15237853600
|
DiffuCoder-7B-cpGRPO-bf16_q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e906101c54eccb9d938fc4cab130e91caa66ed457355fc88493b5c3fa29220a
|
| 3 |
+
size 11287998880
|
DiffuCoder-7B-cpGRPO-f16_q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e31373b4ca18c27bc680d6cb75d3c7612897aba8c373a1d2a0ae3b3dfe257bb5
|
| 3 |
+
size 11287998880
|
DiffuCoder-7B-cpGRPO-iq2_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b76569bbacac212ad5a17f322ddf01a039d40f417189c966335f5ec599d027c4
|
| 3 |
+
size 3059565280
|
DiffuCoder-7B-cpGRPO-iq2_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e391a4b15c8cf49a1874b8e4fc2c6bc35f50ce85b0b1d7a96ed5ec89b5265c23
|
| 3 |
+
size 2933408480
|
DiffuCoder-7B-cpGRPO-iq2_xs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5836738739a96c44521b3193eeff8dbd02e0bc0217d7a71d4e589921d48249e9
|
| 3 |
+
size 2849141472
|
DiffuCoder-7B-cpGRPO-iq2_xxs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c5b739cb91317da497548d38695a1031980d5df81093c4ae930d9a897519980
|
| 3 |
+
size 2652035808
|
DiffuCoder-7B-cpGRPO-iq3_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87fa35e01f94d3ca08adae20402052446032e90a5eb9c626171faf6803b438cd
|
| 3 |
+
size 3820892896
|
DiffuCoder-7B-cpGRPO-iq3_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7da0065af55b03fb2da4388a8213ad0a271c10798f1f3c6f99e60a6c46765905
|
| 3 |
+
size 3780952800
|
DiffuCoder-7B-cpGRPO-iq3_xs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:264390b59653b44b44553324221091b71068b70bd008970ae9761ab193976c49
|
| 3 |
+
size 3455754976
|
DiffuCoder-7B-cpGRPO-iq3_xxs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ea7c71f0fc1687e2fb3ca218d80c80cbf8dbfe376f488d970690656d492d620
|
| 3 |
+
size 3385508576
|
DiffuCoder-7B-cpGRPO-iq4_nl.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5661de0b0f21c78d66536e36ea386e01962307cfd295a43d179eb121f6accef
|
| 3 |
+
size 4437813984
|
DiffuCoder-7B-cpGRPO-iq4_xs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe3991dde87c369e71ddc85599788f824c42d3e69363b950eb2adcd1360b744f
|
| 3 |
+
size 4218473184
|
DiffuCoder-7B-cpGRPO-q2_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e311de8dd9c08bf0023747cc3a266aa9848872e1aa18a9a5ccb76fb0f0583355
|
| 3 |
+
size 3284181728
|
DiffuCoder-7B-cpGRPO-q2_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7233bc7d0098dc5976c1f8e13a2fae2a3c03d4f2576529a963ee3c15fa1ea758
|
| 3 |
+
size 3137768160
|
DiffuCoder-7B-cpGRPO-q3_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a919c6eee68ce340eee490385cf117eba6e71a7cdc27cdd00396e6023973af64
|
| 3 |
+
size 4021281504
|
DiffuCoder-7B-cpGRPO-q3_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:effc1f2b5326aedc1847f0257b170ec27525746bdc60d9732b59e36564f5bcda
|
| 3 |
+
size 3858739936
|
DiffuCoder-7B-cpGRPO-q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d4f95953002e098ff0c877a32ef3a6d3499342955fb74ca7f52603f52599a20
|
| 3 |
+
size 4290884320
|
DiffuCoder-7B-cpGRPO-q4_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce71824f167cde42d316d28d12c8aaea187a593daf0f450e978163bc18710434
|
| 3 |
+
size 4766839520
|
DiffuCoder-7B-cpGRPO-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ac65aec0d575df0fb8fe859252e49d20172610b6ae3468f3a47e74b79a9597c
|
| 3 |
+
size 4833215200
|
DiffuCoder-7B-cpGRPO-q4_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84b338b4efeaf5030273098ce86453d4e003a335ffe4ccce7673656387ecc19a
|
| 3 |
+
size 4634059488
|
DiffuCoder-7B-cpGRPO-q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6940b449b4495713fc9b640535a1ae47f8e9ace442e3a8fedc3baa6db43bfac
|
| 3 |
+
size 5242794720
|
DiffuCoder-7B-cpGRPO-q5_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3a68bb8c2ecb0b7d4cf3011cf01051f46c3ade1fe9e1408b7a65622654f28ac
|
| 3 |
+
size 5718749920
|
DiffuCoder-7B-cpGRPO-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69bb33e95564ed0524188486617e2ddfbda298168769d4b6b636af9592092f8a
|
| 3 |
+
size 5527450336
|
DiffuCoder-7B-cpGRPO-q5_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1696f88556b987cc5b381c51aa275f1c85b9db3dc27647d37d0fba4f78f92474
|
| 3 |
+
size 5453361888
|
DiffuCoder-7B-cpGRPO-q6_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:890f85569cd503488701df8746576959cf7bb35fa4f1de94cbddda5493d415b5
|
| 3 |
+
size 6254199520
|
DiffuCoder-7B-cpGRPO-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:654f76521bad3c99602ca8f6f0658d72777ecfb92d4e3d1ec67538aa18f5b55a
|
| 3 |
+
size 8098525600
|
DiffuCoder-7B-cpGRPO.imatrix
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5a9fa3b0453c11edac5ec86960291a6dbfae8508f03ed04fa30abdc2e0f09fa
|
| 3 |
+
size 4536712
|
README.md
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: unknown
|
| 3 |
+
base_model:
|
| 4 |
+
- apple/DiffuCoder-7B-Instruct
|
| 5 |
+
tags:
|
| 6 |
+
- code
|
| 7 |
+
- text-diffusion-model
|
| 8 |
+
- diffusion large language model
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# <span style="color: #7FFF7F;">DiffuCoder-7B-cpGRPO GGUF Models</span>
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
## <span style="color: #7F7FFF;">Model Generation Details</span>
|
| 15 |
+
|
| 16 |
+
This model was generated using [llama.cpp](https://github.com/ggerganov/llama.cpp) at commit [`bf9087f5`](https://github.com/ggerganov/llama.cpp/commit/bf9087f59aab940cf312b85a67067ce33d9e365a).
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
## <span style="color: #7FFF7F;">Quantization Beyond the IMatrix</span>
|
| 25 |
+
|
| 26 |
+
I've been experimenting with a new quantization approach that selectively elevates the precision of key layers beyond what the default IMatrix configuration provides.
|
| 27 |
+
|
| 28 |
+
In my testing, standard IMatrix quantization underperforms at lower bit depths, especially with Mixture of Experts (MoE) models. To address this, I'm using the `--tensor-type` option in `llama.cpp` to manually "bump" important layers to higher precision. You can see the implementation here:
|
| 29 |
+
👉 [Layer bumping with llama.cpp](https://github.com/Mungert69/GGUFModelBuilder/blob/main/model-converter/tensor_list_builder.py)
|
| 30 |
+
|
| 31 |
+
While this does increase model file size, it significantly improves precision for a given quantization level.
|
| 32 |
+
|
| 33 |
+
### **I'd love your feedback—have you tried this? How does it perform for you?**
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
<a href="https://readyforquantum.com/huggingface_gguf_selection_guide.html" style="color: #7FFF7F;">
|
| 41 |
+
Click here to get info on choosing the right GGUF model format
|
| 42 |
+
</a>
|
| 43 |
+
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
<!--Begin Original Model Card-->
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
### DiffuCoder-7B-cpGRPO
|
| 52 |
+
|
| 53 |
+
The DiffuCoder-7B-cpGRPO variant further refines DiffuCoder-Instruct with reinforcement learning via Coupled-GRPO.
|
| 54 |
+
|
| 55 |
+
Training recipe:
|
| 56 |
+
|
| 57 |
+
- Initialized from DiffuCoder-7B-Instruct, post-training with coupled-GRPO on 21K code data (1 epoch).
|
| 58 |
+
- coupled-GRPO significantly improves DiffuCoder's performance on code generation benchmarks (+4.4\% on EvalPlus) and reduces reliance on AR bias during decoding.
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
#### More details and usage examples:
|
| 62 |
+
|
| 63 |
+
- Paper: [DiffuCoder: Understanding and Improving Masked Diffusion Models for Code Generation](https://arxiv.org/abs/2506.20639)
|
| 64 |
+
|
| 65 |
+
- GitHub: https://github.com/apple/ml-diffucoder
|
| 66 |
+
|
| 67 |
+
```
|
| 68 |
+
import torch
|
| 69 |
+
from transformers import AutoModel, AutoTokenizer
|
| 70 |
+
|
| 71 |
+
model_path = "apple/DiffuCoder-7B-cpGRPO"
|
| 72 |
+
model = AutoModel.from_pretrained(model_path, torch_dtype=torch.bfloat16, trust_remote_code=True)
|
| 73 |
+
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|
| 74 |
+
model = model.to("cuda").eval()
|
| 75 |
+
|
| 76 |
+
query = "Write a function to find the shared elements from the given two lists."
|
| 77 |
+
prompt = f"""<|im_start|>system
|
| 78 |
+
You are a helpful assistant.<|im_end|>
|
| 79 |
+
<|im_start|>user
|
| 80 |
+
{query.strip()}
|
| 81 |
+
<|im_end|>
|
| 82 |
+
<|im_start|>assistant
|
| 83 |
+
""" ## following the template of qwen; you can also use apply_chat_template function
|
| 84 |
+
|
| 85 |
+
TOKEN_PER_STEP = 1 # diffusion timesteps * TOKEN_PER_STEP = total new tokens
|
| 86 |
+
|
| 87 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
| 88 |
+
input_ids = inputs.input_ids.to(device="cuda")
|
| 89 |
+
attention_mask = inputs.attention_mask.to(device="cuda")
|
| 90 |
+
|
| 91 |
+
output = model.diffusion_generate(
|
| 92 |
+
input_ids,
|
| 93 |
+
attention_mask=attention_mask,
|
| 94 |
+
max_new_tokens=256,
|
| 95 |
+
output_history=True,
|
| 96 |
+
return_dict_in_generate=True,
|
| 97 |
+
steps=256//TOKEN_PER_STEP,
|
| 98 |
+
temperature=0.4,
|
| 99 |
+
top_p=0.95,
|
| 100 |
+
alg="entropy",
|
| 101 |
+
alg_temp=0.,
|
| 102 |
+
)
|
| 103 |
+
generations = [
|
| 104 |
+
tokenizer.decode(g[len(p) :].tolist())
|
| 105 |
+
for p, g in zip(input_ids, output.sequences)
|
| 106 |
+
]
|
| 107 |
+
|
| 108 |
+
print(generations[0].split('<|dlm_pad|>')[0])
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
#### Acknowledgement
|
| 112 |
+
To power this HuggingFace model release, we reuse [Dream](https://huggingface.co/Dream-org/Dream-v0-Base-7B)'s modeling architecture and generation utils.
|
| 113 |
+
|
| 114 |
+
<!--End Original Model Card-->
|
| 115 |
+
|
| 116 |
+
---
|
| 117 |
+
|
| 118 |
+
# <span id="testllm" style="color: #7F7FFF;">🚀 If you find these models useful</span>
|
| 119 |
+
|
| 120 |
+
Help me test my **AI-Powered Quantum Network Monitor Assistant** with **quantum-ready security checks**:
|
| 121 |
+
|
| 122 |
+
👉 [Quantum Network Monitor](https://readyforquantum.com/?assistant=open&utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme)
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
The full Open Source Code for the Quantum Network Monitor Service available at my github repos ( repos with NetworkMonitor in the name) : [Source Code Quantum Network Monitor](https://github.com/Mungert69). You will also find the code I use to quantize the models if you want to do it yourself [GGUFModelBuilder](https://github.com/Mungert69/GGUFModelBuilder)
|
| 126 |
+
|
| 127 |
+
💬 **How to test**:
|
| 128 |
+
Choose an **AI assistant type**:
|
| 129 |
+
- `TurboLLM` (GPT-4.1-mini)
|
| 130 |
+
- `HugLLM` (Hugginface Open-source models)
|
| 131 |
+
- `TestLLM` (Experimental CPU-only)
|
| 132 |
+
|
| 133 |
+
### **What I’m Testing**
|
| 134 |
+
I’m pushing the limits of **small open-source models for AI network monitoring**, specifically:
|
| 135 |
+
- **Function calling** against live network services
|
| 136 |
+
- **How small can a model go** while still handling:
|
| 137 |
+
- Automated **Nmap security scans**
|
| 138 |
+
- **Quantum-readiness checks**
|
| 139 |
+
- **Network Monitoring tasks**
|
| 140 |
+
|
| 141 |
+
🟡 **TestLLM** – Current experimental model (llama.cpp on 2 CPU threads on huggingface docker space):
|
| 142 |
+
- ✅ **Zero-configuration setup**
|
| 143 |
+
- ⏳ 30s load time (slow inference but **no API costs**) . No token limited as the cost is low.
|
| 144 |
+
- 🔧 **Help wanted!** If you’re into **edge-device AI**, let’s collaborate!
|
| 145 |
+
|
| 146 |
+
### **Other Assistants**
|
| 147 |
+
🟢 **TurboLLM** – Uses **gpt-4.1-mini** :
|
| 148 |
+
- **It performs very well but unfortunatly OpenAI charges per token. For this reason tokens usage is limited.
|
| 149 |
+
- **Create custom cmd processors to run .net code on Quantum Network Monitor Agents**
|
| 150 |
+
- **Real-time network diagnostics and monitoring**
|
| 151 |
+
- **Security Audits**
|
| 152 |
+
- **Penetration testing** (Nmap/Metasploit)
|
| 153 |
+
|
| 154 |
+
🔵 **HugLLM** – Latest Open-source models:
|
| 155 |
+
- 🌐 Runs on Hugging Face Inference API. Performs pretty well using the lastest models hosted on Novita.
|
| 156 |
+
|
| 157 |
+
### 💡 **Example commands you could test**:
|
| 158 |
+
1. `"Give me info on my websites SSL certificate"`
|
| 159 |
+
2. `"Check if my server is using quantum safe encyption for communication"`
|
| 160 |
+
3. `"Run a comprehensive security audit on my server"`
|
| 161 |
+
4. '"Create a cmd processor to .. (what ever you want)" Note you need to install a [Quantum Network Monitor Agent](https://readyforquantum.com/Download/?utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme) to run the .net code on. This is a very flexible and powerful feature. Use with caution!
|
| 162 |
+
|
| 163 |
+
### Final Word
|
| 164 |
+
|
| 165 |
+
I fund the servers used to create these model files, run the Quantum Network Monitor service, and pay for inference from Novita and OpenAI—all out of my own pocket. All the code behind the model creation and the Quantum Network Monitor project is [open source](https://github.com/Mungert69). Feel free to use whatever you find helpful.
|
| 166 |
+
|
| 167 |
+
If you appreciate the work, please consider [buying me a coffee](https://www.buymeacoffee.com/mahadeva) ☕. Your support helps cover service costs and allows me to raise token limits for everyone.
|
| 168 |
+
|
| 169 |
+
I'm also open to job opportunities or sponsorship.
|
| 170 |
+
|
| 171 |
+
Thank you! 😊
|