Instructions to use drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32") model = AutoModelForCausalLM.from_pretrained("drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32
- SGLang
How to use drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32 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 "drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32 with Docker Model Runner:
docker model run hf.co/drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32
You need to agree to share your contact information to access this model
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
Responsible Use Agreement
This model has had safety refusals removed. That makes it useful for red-teaming, security research, evaluation, and unfiltered assistant tasks — and also removes guardrails a user must therefore supply themselves.
Prohibited uses (you must agree before access is granted):
- Anything involving the sexual exploitation or endangerment of minors.
- You must be of age 18 years or older to use and download this model.
- You agree any information generated that can cause harm in terms of generating recipe, knowledge to make any materials/substances is your own input and responsibility. You will be accountable for any harm/damage caused by your action/input.
- Content promoting self-harm or suicide.
- Generation of material that is illegal in your jurisdiction, or that targets real individuals for harassment, doxxing, or fraud.
- Any use prohibited by the upstream DeepSeek license.
You are responsible for adding appropriate safety filtering, human review, and access controls for your deployment. The weights are provided as-is, with no warranty. The license is inherited from the upstream DeepSeek base model — review and comply with it before use or redistribution.
Log in or Sign Up to review the conditions and access this model content.
keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated 32/32
Drop-in uncensored / abliterated weights for official DeepSeek-V4-Flash-0731 (GA), with DSpark MTP modules kept stock, for dual DGX Spark / Anemll + MiaAI-Lab serve.
| Base | deepseek-ai/DeepSeek-V4-Flash-0731 @ 9e165c30 |
| Refusal suite | 32/32 BYPASS (QuantTrio-style hard suite) · 0 refuse · 0 garble · 0 errors |
| Ablit | L10–42 · λ=3.5 · k=1 · MTP stock (33× attn.wo_b) · mean Δrel ≈ 0.0556 |
| Scales | float8_e8m0fnu preserved (e8m0) |
| Runtime | Anemll ghcr.io/anemll/dspark-vllm-gx10:0.1.1 + MiaAI 2× TP=2 · MTP=5 · nvfp4_ds_mla · util ≤ 0.85 |
Full credit: Anemll/dspark-vllm-gx10 · MiaAI-Lab/DeepSeek-v4-Flash-DSpark-2x-DGX-Spark · DeepSeek-AI
⚠️ Responsible Use & gated access (required)
WARNING: This model has had safety refusals removed. That makes it useful for red-teaming, security research, evaluation, and unfiltered assistant tasks — and also removes guardrails you must supply yourself.
Access is gated. By requesting Hugging Face access, downloading, or using these weights, you agree to the terms below (same gate family as the other Keys DSV4F abliterated releases).
See RESPONSIBLE_USE.md for the full agreement text.
Access request fields
| Field | Description |
|---|---|
| Username | Your name or handle (form may default to your HF username) |
| Contact email (form may default to your HF account email) | |
| Reason for intended use | e.g. red-teaming, security research, evaluation, local assistant |
Plus all agreement checkboxes under Prohibited uses.
Prohibited uses
- Anything involving the sexual exploitation or endangerment of minors.
- You must be of age 18 years or older to use and download this model.
- You agree any information generated that can cause harm in terms of generating recipe, knowledge to make any materials/substances is your own input and responsibility. You will be accountable for any harm/damage caused by your action/input.
- Content promoting self-harm or suicide.
- Generation of material that is illegal in your jurisdiction, or that targets real individuals for harassment, doxxing, or fraud.
- Any use prohibited by the upstream DeepSeek license.
Abliteration
| Method | Layer-range FP8 attn.wo_b SRA / projection |
| Layers | 10–42 (L0–9 + MTP stock) |
| λ | 3.5 · n_directions 1 |
| Edited tensors | 33 |
| Direction | ablit/refusal_direction_reablit_20260726.pt |
| Meta | ABLIT_META.json |
Files of interest
| Path | Purpose |
|---|---|
model-*-of-00048.safetensors + index |
Full FP8 checkpoint (incl. embedded DSpark MTP stock) |
encoding/encoding_dsv4.py |
0731 tokenizer encoding helper for Anemll/Mia serve |
ABLIT_META.json |
Edit stats / recipe fingerprint |
ablit/refusal_direction_reablit_20260726.pt |
Direction used for this reablit |
ablit/refusal_direction_r1.pt |
Related SRA direction artifact |
results/refusal32-clean-*.json |
Live 32/32 suite summary |
Download
# after access is approved
hf download drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32 \
--local-dir ~/models/DeepSeek-V4-Flash-0731-ablit-100
Serve (2× DGX Spark, Mia + Anemll)
docker pull ghcr.io/anemll/dspark-vllm-gx10:0.1.1
# Point MiaAI DeepSeek-v4-Flash-DSpark-2x-DGX-Spark-0731 recipe at the local dir
# DSPARK_MODEL=... SERVED_MODEL_NAME=deepseek-v4-flash-0731-ablit-100
# MTP_NUM_TOKENS=5 GPU_MEMORY_UTILIZATION≤0.85 MAX_MODEL_LEN=1048576
Benches (this fleet, clean exclusive run)
Refusal: 32/32 BYPASS.
Decode (short monologue, accept ~0.3): C1 ~31 · C4 ~71 · C6 ~87 tok/s aggregate.
Code-like prompts (accept ~0.7): C1 ~46–65 tok/s.
Stage-C knobs (local argmax / Markov / etc.) are not exposed on Anemll 0.1.1; historical champion peaks used Stage-C runtime.
Credits
- DeepSeek-AI — DeepSeek-V4-Flash-0731
- Anemll — https://github.com/Anemll/dspark-vllm-gx10
- MiaAI-Lab — https://github.com/MiaAI-Lab/DeepSeek-v4-Flash-DSpark-2x-DGX-Spark
- Keys (drowzeys) — abliteration + packaging
Base model
- Downloads last month
- -
Model tree for drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32
Base model
deepseek-ai/DeepSeek-V4-Flash-0731