Text Generation
Transformers
Safetensors
English
Chinese
kimi_k3
feature-extraction
kimi-k3
derisked
mxfp4
Mixture of Experts
lossless
residual-intervention
conversational
access-gated
research
security
cybersecurity
model-security
security-research
red-teaming
adversarial-testing
evaluation
Not-For-All-Audiences
custom_code
8-bit precision
Instructions to use Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2
- SGLang
How to use Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2 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 "Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2 with Docker Model Runner:
docker model run hf.co/Blackfrost-Research/KIMI-K3-MXFP4-DERISKED-V2
Gated model You can list files but not access them
Preview of files found in this repository
- __pycache__
- assets
- 1.64 kB
- 3.07 kB
- 12.1 kB
- 7.01 kB
- 11.3 kB
- 22.8 kB
- 53 Bytes
- 7.66 kB
- 6.69 kB
- 13.8 kB
- 2.34 GB xet
- 17 GB xet
- 17 GB xet
- 16.6 GB xet
- 17 GB xet
- 17 GB xet
- 17 GB xet
- 16.6 GB xet
- 17 GB xet
- 17 GB xet
- 17 GB xet
- 16.6 GB xet
- 17 GB xet
- 17 GB xet
- 17 GB xet
- 16.6 GB xet
- 17 GB xet
- 17 GB xet
- 17 GB xet
- 16.6 GB xet
- 17 GB xet
- 17 GB xet
- 17 GB xet
- 16.6 GB xet
- 17 GB xet
- 17 GB xet
- 17 GB xet
- 16.6 GB xet
- 17 GB xet
- 17 GB xet
- 17 GB xet
- 16.6 GB xet
- 17 GB xet
- 17 GB xet
- 17 GB xet
- 16.6 GB xet
- 17 GB xet
- 17 GB xet