Instructions to use mradermacher/dqncode2-preview-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/dqncode2-preview-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/dqncode2-preview-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/dqncode2-preview-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/dqncode2-preview-GGUF", filename="dqncode2-preview.IQ4_XS.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/dqncode2-preview-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/dqncode2-preview-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/dqncode2-preview-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 mradermacher/dqncode2-preview-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/dqncode2-preview-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 mradermacher/dqncode2-preview-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/dqncode2-preview-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 mradermacher/dqncode2-preview-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/dqncode2-preview-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/dqncode2-preview-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/dqncode2-preview-GGUF with Ollama:
ollama run hf.co/mradermacher/dqncode2-preview-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/dqncode2-preview-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 mradermacher/dqncode2-preview-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 mradermacher/dqncode2-preview-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/dqncode2-preview-GGUF to start chatting
- Pi
How to use mradermacher/dqncode2-preview-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf mradermacher/dqncode2-preview-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": "mradermacher/dqncode2-preview-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use mradermacher/dqncode2-preview-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 mradermacher/dqncode2-preview-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 mradermacher/dqncode2-preview-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use mradermacher/dqncode2-preview-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/dqncode2-preview-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/dqncode2-preview-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/dqncode2-preview-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.dqncode2-preview-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from rich1
Browse files- .gitattributes +12 -0
- dqncode2-preview.IQ4_XS.gguf +3 -0
- dqncode2-preview.Q2_K.gguf +3 -0
- dqncode2-preview.Q3_K_L.gguf +3 -0
- dqncode2-preview.Q3_K_M.gguf +3 -0
- dqncode2-preview.Q3_K_S.gguf +3 -0
- dqncode2-preview.Q4_K_M.gguf +3 -0
- dqncode2-preview.Q4_K_S.gguf +3 -0
- dqncode2-preview.Q5_K_M.gguf +3 -0
- dqncode2-preview.Q5_K_S.gguf +3 -0
- dqncode2-preview.Q6_K.gguf +3 -0
- dqncode2-preview.Q8_0.gguf +3 -0
- dqncode2-preview.f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
dqncode2-preview.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
dqncode2-preview.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
dqncode2-preview.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
dqncode2-preview.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
dqncode2-preview.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
dqncode2-preview.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
dqncode2-preview.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
dqncode2-preview.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
dqncode2-preview.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
dqncode2-preview.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
dqncode2-preview.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
dqncode2-preview.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
dqncode2-preview.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:acd23fc9be04296d1e0884bb4681defed92d1fb5d583143bc350cfde59ae47e1
|
| 3 |
+
size 2286316000
|
dqncode2-preview.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e5c4d9e5472255da36ba127149db0cec35ce3ac97578568652eb182d0532104
|
| 3 |
+
size 1669499360
|
dqncode2-preview.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b43d41508883f4785a568eb7a18f090e7bd9a507a0d3869d1fabe279c8e663e
|
| 3 |
+
size 2239785440
|
dqncode2-preview.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d422f2a79976bd5e4623702f2a8a5f98906c82958dae360b877832bd516daf50
|
| 3 |
+
size 2075617760
|
dqncode2-preview.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4de8e9004849a7f4145913dd4f3d15455421b83e02c6406424810367e496fccf
|
| 3 |
+
size 1886996960
|
dqncode2-preview.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f904effc253d53ae2f35fad9428cad40ed073894c08ef9ad0da08702b6dfa6e3
|
| 3 |
+
size 2497280480
|
dqncode2-preview.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f938a3c9076880ecc16defc18e21a02cc098ad7699326812474940805d17d8c4
|
| 3 |
+
size 2383309280
|
dqncode2-preview.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b57ceae01caf3c0e6be190a7971c216c42defda0965cebfd6c996a369f219bc0
|
| 3 |
+
size 2889513440
|
dqncode2-preview.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6415be8ab42e2b594f420c281849c816b0e5e86be73e55d71fba960830f95b43
|
| 3 |
+
size 2823711200
|
dqncode2-preview.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12294aafeb750ca7d34a1c38c9011f2ad4e4d76e25e9599b67aa4635ed23ccf8
|
| 3 |
+
size 3306260960
|
dqncode2-preview.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab658707761b579e4a048a0ab006030d37f9303417e6da50c8113542c37bb355
|
| 3 |
+
size 4280404960
|
dqncode2-preview.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6687e436684894ee15b97f8c7bbc309aaa32a8d414b795dd10fff704e313ad5
|
| 3 |
+
size 8051284960
|