Instructions to use unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF 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 unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
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 unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: ./llama-cli -hf unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
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 unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama-cli -hf unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
Use Docker
docker model run hf.co/unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
- LM Studio
- Jan
- Ollama
How to use unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF with Ollama:
ollama run hf.co/unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
- Unsloth Studio
How to use unsloth/cogito-v2-preview-deepseek-671B-MoE-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 unsloth/cogito-v2-preview-deepseek-671B-MoE-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 unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF to start chatting
- Pi
How to use unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
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": "unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
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 "unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL" \ --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 unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF with Docker Model Runner:
docker model run hf.co/unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
- Lemonade
How to use unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
Run and chat with the model
lemonade run user.cogito-v2-preview-deepseek-671B-MoE-GGUF-UD-Q4_K_XL
List all available models
lemonade list
- Hermes Agent
How to use unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
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 unsloth/cogito-v2-preview-deepseek-671B-MoE-GGUF:UD-Q4_K_XL
Run Hermes
hermes
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +5 -0
- Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00001-of-00005.gguf +3 -0
- Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00002-of-00005.gguf +3 -0
- Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00003-of-00005.gguf +3 -0
- Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00004-of-00005.gguf +3 -0
- Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00005-of-00005.gguf +3 -0
.gitattributes
CHANGED
|
@@ -132,3 +132,8 @@ Q3_K_M/cogito-v2-preview-deepseek-671B-MoE-Q3_K_M-00004-of-00007.gguf filter=lfs
|
|
| 132 |
Q3_K_M/cogito-v2-preview-deepseek-671B-MoE-Q3_K_M-00005-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
| 133 |
Q3_K_M/cogito-v2-preview-deepseek-671B-MoE-Q3_K_M-00006-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
| 134 |
Q3_K_M/cogito-v2-preview-deepseek-671B-MoE-Q3_K_M-00007-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
Q3_K_M/cogito-v2-preview-deepseek-671B-MoE-Q3_K_M-00005-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
| 133 |
Q3_K_M/cogito-v2-preview-deepseek-671B-MoE-Q3_K_M-00006-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
| 134 |
Q3_K_M/cogito-v2-preview-deepseek-671B-MoE-Q3_K_M-00007-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
| 135 |
+
Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00001-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
| 136 |
+
Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00002-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
| 137 |
+
Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00003-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
| 138 |
+
Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00004-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
| 139 |
+
Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00005-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00001-of-00005.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54b1015df36de1e396ba220d0dc537a78527f861af03b21245d249fb1573005c
|
| 3 |
+
size 49766961696
|
Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00002-of-00005.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20b2099940e713a94d6a3857c8a03a3abf0ce0dd0a7c94acdf48f21522eaf76d
|
| 3 |
+
size 48659478208
|
Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00003-of-00005.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38d2d1847b9ae5f1066f9396f67af68c9c28ae935db3e0cc8446aa1bba956106
|
| 3 |
+
size 48956970080
|
Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00004-of-00005.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:831cc94d3b7452ba3dc51343b9df7fc52e87364498f2a999cce618b78ec2c88c
|
| 3 |
+
size 49035281984
|
Q2_K_L/cogito-v2-preview-deepseek-671B-MoE-Q2_K_L-00005-of-00005.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dd0337bca204ce742c5b2adfccab784e9f165e531560d932fce9d68e12f8efa
|
| 3 |
+
size 48573797472
|