Run this model with HF Jobs
Run prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated 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/prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated. 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/prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated 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/prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated. 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/prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated. 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 prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated") model = AutoModelForMultimodalLM.from_pretrained("prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated
- SGLang
How to use prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated 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 "prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated" \ --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": "prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated" \ --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": "prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated with Docker Model Runner:
docker model run hf.co/prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated
Inkling-2-Mini-pi-adapted-abliterated
Inkling-2-Mini-pi-adapted-abliterated is a standalone, abliterated checkpoint created by merging the harness-hub/Inkling-2-Mini-pi-adapted LoRA adapter into
thinkingmachines/Inkling-2-Miniand applying refusal-direction ablation, while retaining NVFP4 and MXFP8 numerics support so it can be served without runtime LoRA support. The underlying adapter (r = 32, alpha = 64, dropout 0, targeting the language model'sq,k,v, andoattention projections) was trained for 100 steps with AsyncGRPO reinforcement learning in TRL across Harbor sandbox environments on coding and cybersecurity tasks fromUltraTerminalto make the model work as the backbone of the pi coding agent at reasoning efforthigh(131k context window, up to 32k output tokens per turn). As an abliterated variant, its refusal behavior differs from that of the standard base and adapter checkpoints. According to the adapter's model card, under pi at reasoning efforthighit achieves comparable accuracy to the base model under generous time budgets while reducing tool calls by 22% on Terminal-Bench 2.1 and 33% on SWE-bench Pro (hard 51) and cutting output tokens by 38% and 40% on solved tasksβturning into a gain from 44.2% to 56.9% avg@3 (56.2% to 70.8% pass@3) under a 1-hour Terminal-Bench 2.1 limit, while remaining compatible with theInkling-2-Mini-dsparkspeculative decoding drafter. These figures were measured for the un-abliterated adapter on the base model and have not been re-evaluated on this merged, abliterated checkpoint.
Inkling-2-Mini-pi-adapted-abliterated-GGUF β Link
Model Files
| File Name | File Type | File Size | File Link | Description |
|---|---|---|---|---|
| chat_template.jinja | Jinja Template | 6.87 kB | Link | Chat template for formatting conversations and prompts. |
| config.json | JSON | 2.72 kB | Link | Core model architecture and configuration parameters. |
| generation_config.json | JSON | 98 Bytes | Link | Default text generation parameters (e.g., temperature, top_p). |
| hf_quant_config.json | JSON | 67.9 kB | Link | Configuration file detailing quantization parameters. |
| model-00001-of-00001.safetensors | Safetensors | 19.5 GB | Link | Unsharded model weights (single shard). Required to load the model. |
| model.safetensors.index.json | JSON | 109 kB | Link | Index file mapping model weights to their respective shards. |
| mtp.safetensors | Safetensors | 636 MB | Link | Multi-Token Prediction (MTP) weights for the dspark speculative decoding framework, used to accelerate generation. |
| processor_config.json | JSON | 461 Bytes | Link | Configuration for the multimodal (vision/image) processor. |
| special_tokens_map.json | JSON | 529 Bytes | Link | Mapping of special tokens (e.g., BOS, EOS, PAD) to their string representations. |
| tokenizer.json | JSON | 26.2 MB | Link | Complete tokenizer vocabulary and encoding rules. |
| tokenizer_config.json | JSON | 13.2 kB | Link | Tokenizer-specific configuration parameters. |
License and Attribution
This model is based on and/or incorporates the following open-source projects and models:
- Inkling-2-Mini: https://huggingface.co/thinkingmachines/Inkling-2-Mini
- Inkling-2-Mini-pi-adapted: https://huggingface.co/harness-hub/Inkling-2-Mini-pi-adapted
This model is released under the Apache License 2.0.
- Downloads last month
- -
Model tree for prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated
Base model
thinkingmachines/Inkling-2-Mini
docker model run hf.co/prithivMLmods/Inkling-2-Mini-pi-adapted-abliterated