Text Generation
Transformers
Safetensors
English
qwen3_moe
agent
open-source
miromind
deep-research
conversational
Instructions to use jarradh/MiroThinker-v1.5-30B-heretic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jarradh/MiroThinker-v1.5-30B-heretic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jarradh/MiroThinker-v1.5-30B-heretic") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jarradh/MiroThinker-v1.5-30B-heretic") model = AutoModelForCausalLM.from_pretrained("jarradh/MiroThinker-v1.5-30B-heretic") 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jarradh/MiroThinker-v1.5-30B-heretic with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jarradh/MiroThinker-v1.5-30B-heretic" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jarradh/MiroThinker-v1.5-30B-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jarradh/MiroThinker-v1.5-30B-heretic
- SGLang
How to use jarradh/MiroThinker-v1.5-30B-heretic 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 "jarradh/MiroThinker-v1.5-30B-heretic" \ --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": "jarradh/MiroThinker-v1.5-30B-heretic", "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 "jarradh/MiroThinker-v1.5-30B-heretic" \ --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": "jarradh/MiroThinker-v1.5-30B-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use jarradh/MiroThinker-v1.5-30B-heretic with Docker Model Runner:
docker model run hf.co/jarradh/MiroThinker-v1.5-30B-heretic
MiroThinker v1.5 30B - Heretic (Abliterated)
An abliterated version of MiroMind's MiroThinker v1.5 30B created using Heretic (spikymoth:implement-mpoa). This model has reduced refusals while maintaining model quality.
GGUF Models kindly provided by mradermacher
- https://huggingface.co/mradermacher/MiroThinker-v1.5-30B-heretic-GGUF
- https://huggingface.co/mradermacher/MiroThinker-v1.5-30B-heretic-i1-GGUF
Model Details
- Base Model: miromind-ai/MiroThinker-v1.5-30B
- Abliteration Method: Heretic v1.1.0
- Trial Selected: Trial 257
- Refusals: 3/100 (originally 100/100)
- KL Divergence: 0.1229
Parameters
abliteration_orthogonal_project = true, abliteration_preserve_magnitude = true
| Parameter | Value |
|---|---|
| direction_index | per layer |
| attn.o_proj.max_weight | 6.07 |
| attn.o_proj.max_weight_position | 29.01 |
| attn.o_proj.min_weight | 2.54 |
| attn.o_proj.min_weight_distance | 11.36 |
| mlp.down_proj.max_weight | 7.58 |
| mlp.down_proj.max_weight_position | 30.54 |
| mlp.down_proj.min_weight | 5.25 |
| mlp.down_proj.min_weight_distance | 4.94 |
- Downloads last month
- 2