Run this model with HF Jobs
Run ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16", trust_remote_code=True, device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16
- SGLang
How to use ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16 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 "ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16" \ --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": "ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16", "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 "ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16" \ --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": "ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16 with Docker Model Runner:
docker model run hf.co/ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-bf16
Kimi-Linear-48B-A3B-Instruct-abliterated-bf16
DEPRECATED — Superseded by
ashwin-sreedhar/Kimi-Linear-48B-A3B-Instruct-abliterated-v2-bf16This v1 checkpoint is retained strictly for provenance. Please use the verified v2 release in the
dissident-v2Collection instead (L16 pos=-2rank-1 biprojected: 1/100 JBBQwen3Guard-Gen-4Brefusals vs. 92/100 base, 90/100 unsafe, 0/50 benign over-refusals vs. 9/50 base, 90.7% GSM8K vs. 93.3% base, 0.658% mechanical projection ratio, 0.0830 held-out KL; full evaluation inTECHNICAL_REPORT_V2.md).
Public experimental weight-edited checkpoint derived from moonshotai/Kimi-Linear-48B-A3B-Instruct. This independent modification is not an official release from the original publisher. Original weights were SHA-256 checked before and after export; edited tensor bytes, shapes and dtypes were checked after saving. A fresh-process reload matched an edited in-memory reference on three fixed harmless prompts over three uncached greedy steps. These checks establish serialization integrity.
Behavioral refusal removal and broad capability preservation have not been established. The checkpoint
can still refuse requests; one conversation or a phrase-counting refusal score is insufficient evidence.
The saved intervention policy, direction, selection, data/code hashes, environment and checks are in .pipeline/.
Long-context and multi-turn behavior are untested.
Export diagnostics
Held-out harmless first-token KL (100 prompts): 0.075608. Maximum edited/base projection ratio: 0.636%. The 1% mechanical diagnostic passes. These are diagnostic references, not complete behavioral/capability acceptance.
Modification and distribution notice
The weight files were modified by dissident (formerly persona-lab) using the intervention recorded in the export metadata.
Each safetensors file carries a modification notice in its header. This release packaging changes
header metadata only: every tensor's dtype, shape, offsets and payload bytes remain the same as the
verified edited checkpoint. The original local checkpoint is not rewritten.
Upstream licenses, attribution and usage restrictions continue to apply. See the included license, notice and policy files. No benchmark prompts, raw harmful completions or manual-test programs are included.
Loading
Use dissident’s dissident chat (pip install dissident with pinned requirements/cuda.txt for Kimi's compatibility bridge and explicit --trust-remote-code). Example: dissident chat --model /path/to/downloaded/checkpoint --trust-remote-code --max-tokens 1024. The verified 96 GB GPU configuration uses batch size one and expandable CUDA allocator segments.
Built with dissident (MIT; pip install dissident on PyPI) · Technical Report: TECHNICAL_REPORT_V2.md · Verified v2 checkpoints: dissident-v2 Collection.
- Downloads last month
- 987