Instructions to use Mungert/DeepMedix-R1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Mungert/DeepMedix-R1-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Mungert/DeepMedix-R1-GGUF", filename="DeepMedix-R1-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/DeepMedix-R1-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/DeepMedix-R1-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Mungert/DeepMedix-R1-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/DeepMedix-R1-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Mungert/DeepMedix-R1-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/DeepMedix-R1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Mungert/DeepMedix-R1-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/DeepMedix-R1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Mungert/DeepMedix-R1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Mungert/DeepMedix-R1-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Mungert/DeepMedix-R1-GGUF with Ollama:
ollama run hf.co/Mungert/DeepMedix-R1-GGUF:Q4_K_M
- Unsloth Studio new
How to use Mungert/DeepMedix-R1-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/DeepMedix-R1-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/DeepMedix-R1-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/DeepMedix-R1-GGUF to start chatting
- Pi new
How to use Mungert/DeepMedix-R1-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/DeepMedix-R1-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/DeepMedix-R1-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Mungert/DeepMedix-R1-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/DeepMedix-R1-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/DeepMedix-R1-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use Mungert/DeepMedix-R1-GGUF with Docker Model Runner:
docker model run hf.co/Mungert/DeepMedix-R1-GGUF:Q4_K_M
- Lemonade
How to use Mungert/DeepMedix-R1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Mungert/DeepMedix-R1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.DeepMedix-R1-GGUF-Q4_K_M
List all available models
lemonade list
Commit ·
cd74df4
verified ·
0
Parent(s):
Super-squash history to reclaim storage
Browse files- .gitattributes +67 -0
- DeepMedix-R1-bf16.gguf +3 -0
- DeepMedix-R1-bf16.mmproj +3 -0
- DeepMedix-R1-bf16_q8_0.gguf +3 -0
- DeepMedix-R1-f16.mmproj +3 -0
- DeepMedix-R1-f16_q8_0.gguf +3 -0
- DeepMedix-R1-f32.mmproj +3 -0
- DeepMedix-R1-imatrix.gguf +3 -0
- DeepMedix-R1-iq1_m.gguf +3 -0
- DeepMedix-R1-iq1_s.gguf +3 -0
- DeepMedix-R1-iq2_m.gguf +3 -0
- DeepMedix-R1-iq2_s.gguf +3 -0
- DeepMedix-R1-iq2_xs.gguf +3 -0
- DeepMedix-R1-iq2_xxs.gguf +3 -0
- DeepMedix-R1-iq3_m.gguf +3 -0
- DeepMedix-R1-iq3_xs.gguf +3 -0
- DeepMedix-R1-iq3_xxs.gguf +3 -0
- DeepMedix-R1-iq4_nl.gguf +3 -0
- DeepMedix-R1-iq4_xs.gguf +3 -0
- DeepMedix-R1-q2_k_m.gguf +3 -0
- DeepMedix-R1-q2_k_s.gguf +3 -0
- DeepMedix-R1-q3_k_m.gguf +3 -0
- DeepMedix-R1-q3_k_s.gguf +3 -0
- DeepMedix-R1-q4_0.gguf +3 -0
- DeepMedix-R1-q4_1.gguf +3 -0
- DeepMedix-R1-q4_k_m.gguf +3 -0
- DeepMedix-R1-q4_k_s.gguf +3 -0
- DeepMedix-R1-q5_0.gguf +3 -0
- DeepMedix-R1-q5_1.gguf +3 -0
- DeepMedix-R1-q5_k_m.gguf +3 -0
- DeepMedix-R1-q6_k_m.gguf +3 -0
- DeepMedix-R1-q8_0.gguf +3 -0
- DeepMedix-R1-q8_0.mmproj +3 -0
- README.md +168 -0
.gitattributes
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
DeepMedix-R1-f16_q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
DeepMedix-R1-bf16_q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
DeepMedix-R1-q2_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
DeepMedix-R1-q2_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
DeepMedix-R1-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
DeepMedix-R1-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
DeepMedix-R1-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
DeepMedix-R1-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
DeepMedix-R1-q6_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
DeepMedix-R1-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
DeepMedix-R1-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
DeepMedix-R1-q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
DeepMedix-R1-q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
DeepMedix-R1-q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
DeepMedix-R1-q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
DeepMedix-R1-iq1_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
DeepMedix-R1-iq1_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
DeepMedix-R1-iq2_xs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
DeepMedix-R1-iq2_xxs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
DeepMedix-R1-iq2_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
DeepMedix-R1-iq2_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
DeepMedix-R1-iq3_xs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
DeepMedix-R1-iq3_xxs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
DeepMedix-R1-iq3_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
DeepMedix-R1-iq4_xs.gguf filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
DeepMedix-R1-iq4_nl.gguf filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
DeepMedix-R1-imatrix.gguf filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
DeepMedix-R1-f32.mmproj filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
DeepMedix-R1-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
DeepMedix-R1-f16.mmproj filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
DeepMedix-R1-q8_0.mmproj filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
DeepMedix-R1-bf16.mmproj filter=lfs diff=lfs merge=lfs -text
|
DeepMedix-R1-bf16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e53002b08eb33a466aa2dd4ab163b76420659ba76e96b5db4de580dce69597b4
|
| 3 |
+
size 15237853184
|
DeepMedix-R1-bf16.mmproj
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf5651afd1de8bbc429e4f97a15a1190322b26d831ba881e16b1b6b2f295b83e
|
| 3 |
+
size 1357173408
|
DeepMedix-R1-bf16_q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed229630b608edb4666ae924890ad6f95449315512aefff508ad04f14aca21d7
|
| 3 |
+
size 11287998464
|
DeepMedix-R1-f16.mmproj
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29e35a75d3472b4858d44d905f38dd86b1e9bd407bffa4a983cdb322f5ae9937
|
| 3 |
+
size 1354162848
|
DeepMedix-R1-f16_q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d0702eca3eb9719e4ac64e052b20af43eff7a39c9e8dc12a20ff07ec2be61de
|
| 3 |
+
size 11287998464
|
DeepMedix-R1-f32.mmproj
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b208454e38a68add118b565d795dfaec489c1992db36fb749fe5ac2c04b37bde
|
| 3 |
+
size 2706231968
|
DeepMedix-R1-imatrix.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfca0910d5b2ed1db14751bcbf920b3b18fd40efae28add535a21fc785deafc9
|
| 3 |
+
size 4560416
|
DeepMedix-R1-iq1_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd85c97ed6a4ec0f8034c4b51cfedf60a0960b35e5d94bdc4760bd9499b2214b
|
| 3 |
+
size 2571997504
|
DeepMedix-R1-iq1_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:caf912d9d091732b5ba0946486f02177f222de1eca59355be021039f4fc09c18
|
| 3 |
+
size 2278224192
|
DeepMedix-R1-iq2_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fab4982517117823eb0b4755ab560d8b8052f696212df8caa7298229bd8f7c0
|
| 3 |
+
size 3041730880
|
DeepMedix-R1-iq2_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9596421244237aee1cfbc7622db63268ca314a1ce36cfc7520712ec4f9afa53
|
| 3 |
+
size 2915574080
|
DeepMedix-R1-iq2_xs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b08ce348b9dabcc289a1f98394e88d40c529e25f9ef76fad3e89fc4c6dada38c
|
| 3 |
+
size 2839335232
|
DeepMedix-R1-iq2_xxs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c2307ae5740ee7dc67af04af2927f0e29a139a1a440053eff897d9fa8b65727
|
| 3 |
+
size 2652107072
|
DeepMedix-R1-iq3_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6c45e5d5337d535d9c8c8edf849b67443778e11bc3ca78ae2b0f0e414875f59
|
| 3 |
+
size 3924455744
|
DeepMedix-R1-iq3_xs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:963bf94382932f8e846649b9da7ef9c93da149fd3f53134a901af44ca13e03b4
|
| 3 |
+
size 3594813760
|
DeepMedix-R1-iq3_xxs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b59b912b5780fc779abdb6a2ffbfff380f55a48c04b6238ea9f319cb8b23415
|
| 3 |
+
size 3524567360
|
DeepMedix-R1-iq4_nl.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1075d31e83f3f477810597f1cf3c98e526dc53d73380f8df037c0b075727b2bc
|
| 3 |
+
size 4297306432
|
DeepMedix-R1-iq4_xs.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3326eae5693154baf9fc805fc282b77c29429c319620c77a8dd422b40448166f
|
| 3 |
+
size 4376011072
|
DeepMedix-R1-q2_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c0b19c45e18036cfcac5ddb4ddd32be9dddabd949d6c02a991b8e64f69844d82
|
| 3 |
+
size 3119345984
|
DeepMedix-R1-q2_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c86dd4788d7ec6e2782b778da8844b4914305f21aaa5d25b9460c9d58d2a259
|
| 3 |
+
size 2983096640
|
DeepMedix-R1-q3_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bd397b7bc9f94c9bf1824161df7ac665049ffa0c7ba9a10f1ea430ef8e3e7b1
|
| 3 |
+
size 4003504448
|
DeepMedix-R1-q3_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbe10a04035436adf2d8405f1bbd326c2a3d7d0982ee38375f06367776c058e0
|
| 3 |
+
size 3858739520
|
DeepMedix-R1-q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b20f747fc62482993874794036bb0a354a1a1c24bd6112d1b59e3c682835077e
|
| 3 |
+
size 4835881280
|
DeepMedix-R1-q4_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40d9bbb5b4572fcdaf905b3eed64b2d813d9bdc4d15c235786adfbb909c300a0
|
| 3 |
+
size 4834963776
|
DeepMedix-R1-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2242b6ae311de10bd1cd0e51e2bc6c472251474914ee5934f28be13f114a4bb
|
| 3 |
+
size 5041631552
|
DeepMedix-R1-q4_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7988bd5fc4bfbfb70fbb90fc9fa0493b61fd61926c261696f8f5b14abedae3b6
|
| 3 |
+
size 4634059072
|
DeepMedix-R1-q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee6c08ac9ba4f5bdc4a27889946e4b55ce32c7f6b40c7f84378b7783765c5713
|
| 3 |
+
size 5651542336
|
DeepMedix-R1-q5_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f68a8d83e56d78c7ba3ad03e549d23baacdbf9640a2e240353f8a15533391aa
|
| 3 |
+
size 6059372864
|
DeepMedix-R1-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c420ba0f6103f46553524407847b9dc8e651614d9fb2ae9f9a57750b27f3c8ef
|
| 3 |
+
size 5791433024
|
DeepMedix-R1-q6_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:978bd627a6b5d0ba995b468baa3974b9a38a64e236001e06d2f1ba08ac26a9d7
|
| 3 |
+
size 6518182208
|
DeepMedix-R1-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6cf9770d75cbfd8d1acf629303087bbb4ae8ceeff3b1f1217a174e1b5e542a21
|
| 3 |
+
size 8098525184
|
DeepMedix-R1-q8_0.mmproj
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10805ca2677b6c4e8254d821d392262cdbce8d11ea8e4c48fddb083167fd1d8c
|
| 3 |
+
size 856130208
|
README.md
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# <span style="color: #7FFF7F;">DeepMedix-R1 GGUF Models</span>
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
## <span style="color: #7F7FFF;">Model Generation Details</span>
|
| 9 |
+
|
| 10 |
+
This model was generated using [llama.cpp](https://github.com/ggerganov/llama.cpp) at commit [`fb15d649`](https://github.com/ggerganov/llama.cpp/commit/fb15d649ed14ab447eeab911e0c9d21e35fb243e).
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
## <span style="color: #7FFF7F;">Quantization Beyond the IMatrix</span>
|
| 19 |
+
|
| 20 |
+
I've been experimenting with a new quantization approach that selectively elevates the precision of key layers beyond what the default IMatrix configuration provides.
|
| 21 |
+
|
| 22 |
+
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:
|
| 23 |
+
👉 [Layer bumping with llama.cpp](https://github.com/Mungert69/GGUFModelBuilder/blob/main/model-converter/tensor_list_builder.py)
|
| 24 |
+
|
| 25 |
+
While this does increase model file size, it significantly improves precision for a given quantization level.
|
| 26 |
+
|
| 27 |
+
### **I'd love your feedback—have you tried this? How does it perform for you?**
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
<a href="https://readyforquantum.com/huggingface_gguf_selection_guide.html" style="color: #7FFF7F;">
|
| 35 |
+
Click here to get info on choosing the right GGUF model format
|
| 36 |
+
</a>
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
<!--Begin Original Model Card-->
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
Model Usage:
|
| 46 |
+
|
| 47 |
+
~~~
|
| 48 |
+
from transformers import Qwen2_5_VLForConditionalGeneration, AutoTokenizer, AutoProcessor
|
| 49 |
+
from qwen_vl_utils import process_vision_info
|
| 50 |
+
|
| 51 |
+
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
| 52 |
+
model_path,
|
| 53 |
+
torch_dtype=torch.bfloat16,
|
| 54 |
+
attn_implementation="flash_attention_2",
|
| 55 |
+
device_map="auto",
|
| 56 |
+
)
|
| 57 |
+
processor = AutoProcessor.from_pretrained(model_path, max_pixels=262144)
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
reason_prompt = r"You FIRST think about the reasoning process as an internal monologue and then provide the final answer. The reasoning process MUST BE enclosed within <think> </think> tags. During this reasoning process, prioritize analyzing the local regions of the image by leveraging the bounding box coordinates in the format [x_min, y_min, x_max, y_max]. The final answer MUST BE put in \boxed{}. An example is like: <think> reasoning process 1 with [x_min1, y_min1, x_max1, y_max1]; reasoning process 2 with [x_min2, y_min2, x_max2, y_max2] </think>. The answer is: \boxed{answer}."
|
| 61 |
+
|
| 62 |
+
def get_label(images, content1):
|
| 63 |
+
content_list = []
|
| 64 |
+
for image_url in images:
|
| 65 |
+
content_list.append({
|
| 66 |
+
"type": "image",
|
| 67 |
+
"image": image_url,
|
| 68 |
+
})
|
| 69 |
+
if mode == 'think':
|
| 70 |
+
content_list.append({"type": "text",
|
| 71 |
+
"text": content1 + '\n' + reason_prompt + '\n'})
|
| 72 |
+
else:
|
| 73 |
+
content_list.append({"type": "text",
|
| 74 |
+
"text": content1})
|
| 75 |
+
messages = [
|
| 76 |
+
{
|
| 77 |
+
"role": "user",
|
| 78 |
+
"content": content_list
|
| 79 |
+
}
|
| 80 |
+
]
|
| 81 |
+
|
| 82 |
+
# Preparation for inference
|
| 83 |
+
text = processor.apply_chat_template(
|
| 84 |
+
messages, tokenize=False, add_generation_prompt=True
|
| 85 |
+
)
|
| 86 |
+
# print(text)
|
| 87 |
+
image_inputs, video_inputs = process_vision_info(messages)
|
| 88 |
+
inputs = processor(
|
| 89 |
+
text=[text],
|
| 90 |
+
images=image_inputs,
|
| 91 |
+
videos=video_inputs,
|
| 92 |
+
padding=True,
|
| 93 |
+
return_tensors="pt",
|
| 94 |
+
)
|
| 95 |
+
inputs = inputs.to("cuda")
|
| 96 |
+
|
| 97 |
+
# Inference: Generation of the output
|
| 98 |
+
generated_ids = model.generate(**inputs, max_new_tokens=4096, do_sample=True, temperature=0.6)
|
| 99 |
+
generated_ids_trimmed = [
|
| 100 |
+
out_ids[len(in_ids):] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
|
| 101 |
+
]
|
| 102 |
+
output_text = processor.batch_decode(
|
| 103 |
+
generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
|
| 104 |
+
)
|
| 105 |
+
# print(output_text)
|
| 106 |
+
# print(output_text[0])
|
| 107 |
+
return output_text[0]
|
| 108 |
+
|
| 109 |
+
~~~
|
| 110 |
+
|
| 111 |
+
<!--End Original Model Card-->
|
| 112 |
+
|
| 113 |
+
---
|
| 114 |
+
|
| 115 |
+
# <span id="testllm" style="color: #7F7FFF;">🚀 If you find these models useful</span>
|
| 116 |
+
|
| 117 |
+
Help me test my **AI-Powered Quantum Network Monitor Assistant** with **quantum-ready security checks**:
|
| 118 |
+
|
| 119 |
+
👉 [Quantum Network Monitor](https://readyforquantum.com/?assistant=open&utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme)
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
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)
|
| 123 |
+
|
| 124 |
+
💬 **How to test**:
|
| 125 |
+
Choose an **AI assistant type**:
|
| 126 |
+
- `TurboLLM` (GPT-4.1-mini)
|
| 127 |
+
- `HugLLM` (Hugginface Open-source models)
|
| 128 |
+
- `TestLLM` (Experimental CPU-only)
|
| 129 |
+
|
| 130 |
+
### **What I’m Testing**
|
| 131 |
+
I’m pushing the limits of **small open-source models for AI network monitoring**, specifically:
|
| 132 |
+
- **Function calling** against live network services
|
| 133 |
+
- **How small can a model go** while still handling:
|
| 134 |
+
- Automated **Nmap security scans**
|
| 135 |
+
- **Quantum-readiness checks**
|
| 136 |
+
- **Network Monitoring tasks**
|
| 137 |
+
|
| 138 |
+
🟡 **TestLLM** – Current experimental model (llama.cpp on 2 CPU threads on huggingface docker space):
|
| 139 |
+
- ✅ **Zero-configuration setup**
|
| 140 |
+
- ⏳ 30s load time (slow inference but **no API costs**) . No token limited as the cost is low.
|
| 141 |
+
- 🔧 **Help wanted!** If you’re into **edge-device AI**, let’s collaborate!
|
| 142 |
+
|
| 143 |
+
### **Other Assistants**
|
| 144 |
+
🟢 **TurboLLM** – Uses **gpt-4.1-mini** :
|
| 145 |
+
- **It performs very well but unfortunatly OpenAI charges per token. For this reason tokens usage is limited.
|
| 146 |
+
- **Create custom cmd processors to run .net code on Quantum Network Monitor Agents**
|
| 147 |
+
- **Real-time network diagnostics and monitoring**
|
| 148 |
+
- **Security Audits**
|
| 149 |
+
- **Penetration testing** (Nmap/Metasploit)
|
| 150 |
+
|
| 151 |
+
🔵 **HugLLM** – Latest Open-source models:
|
| 152 |
+
- 🌐 Runs on Hugging Face Inference API. Performs pretty well using the lastest models hosted on Novita.
|
| 153 |
+
|
| 154 |
+
### 💡 **Example commands you could test**:
|
| 155 |
+
1. `"Give me info on my websites SSL certificate"`
|
| 156 |
+
2. `"Check if my server is using quantum safe encyption for communication"`
|
| 157 |
+
3. `"Run a comprehensive security audit on my server"`
|
| 158 |
+
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!
|
| 159 |
+
|
| 160 |
+
### Final Word
|
| 161 |
+
|
| 162 |
+
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.
|
| 163 |
+
|
| 164 |
+
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.
|
| 165 |
+
|
| 166 |
+
I'm also open to job opportunities or sponsorship.
|
| 167 |
+
|
| 168 |
+
Thank you! 😊
|