Image-Text-to-Text
Transformers
Safetensors
inkling2_loop
inkling2
Mixture of Experts
expert-pruning
la-reap
reap
looped-transformer
multimodal
vision
code
coder
tool-calling
domain-specialized
conversational
8-bit precision
modelopt
Run this model with HF Jobs
Run saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder 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/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder. 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/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder 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/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder. 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.
Instructions to use saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder") 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("saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder") model = AutoModelForMultimodalLM.from_pretrained("saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder", 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 saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder", "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/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder
- SGLang
How to use saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder 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 "saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder" \ --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": "saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder", "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 "saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder" \ --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": "saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder", "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 saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder with Docker Model Runner:
docker model run hf.co/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder
Download pruning_manifest.json from saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder: direct link, hf CLI and curl.
- Browser
- Download file 47.6 kB
-
https://huggingface.co/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder/resolve/main/pruning_manifest.json
- Command line
-
hf download hf://saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder/pruning_manifest.json
-
curl -L -o pruning_manifest.json https://huggingface.co/saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder/resolve/main/pruning_manifest.json
47.6 kB
{
"schema_version": "1.0.0",
"toolkit": "inkling-prune",
"toolkit_version": "0.1.0",
"generated_at_utc": "2026-12-01T06:39:26.945555+00:00",
"upstream": {
"repo": "thinkingmachines/Inkling-2-Mini",
"commit_sha": "c9d028302cd0f035fdf8e7e91f089a4ce94d2195",
"original_experts": 128,
"num_hidden_layers": 24,
"core_start": 6,
"core_end": 18,
"num_passes": 3
},
"pruning": {
"method": "la_reap",
"saliency_variant": "hybrid",
"target_experts": 64,
"expert_sparsity": 0.5,
"alpha": 0.5,
"pass_weights": [
0.25,
0.35,
0.4
],
"min_token_floor": 1,
"vision_floor_ratio": 0.1,
"vision_floor_layers": [
0,
1,
2,
3,
4,
5
],
"sliced_tensor_count": 184
},
"calibration": {
"resumed_from_hf": "saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder/saliency_stats_64e_coder.npz",
"total_sequences": 600,
"domain_counts": {
"web_stem": 0,
"code_swe": 240,
"code_multilang": 120,
"reasoning_math": 60,
"tool_calling": 120,
"vision_ui": 60
},
"removed_contaminated": 0,
"total_tokens": 201379,
"vision_tokens": 8640
},
"layers": {
"0": {
"role": "prelude",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
2,
4,
6,
7,
9,
10,
11,
13,
14,
15,
16,
18,
24,
25,
26,
28,
29,
30,
33,
34,
39,
42,
43,
44,
46,
49,
50,
53,
54,
55,
58,
63,
64,
65,
67,
68,
69,
71,
74,
75,
77,
81,
85,
87,
88,
89,
90,
93,
96,
97,
99,
101,
103,
104,
106,
108,
116,
117,
118,
119,
123,
124,
125
],
"pruned_indices": [
1,
3,
5,
8,
12,
17,
19,
20,
21,
22,
23,
27,
31,
32,
35,
36,
37,
38,
40,
41,
45,
47,
48,
51,
52,
56,
57,
59,
60,
61,
62,
66,
70,
72,
73,
76,
78,
79,
80,
82,
83,
84,
86,
91,
92,
94,
95,
98,
100,
102,
105,
107,
109,
110,
111,
112,
113,
114,
115,
120,
121,
122,
126,
127
],
"vision_protected_indices": [
0,
6,
18,
39,
90,
119
],
"score_min": 0.2752355802601456,
"score_max": 2.9948279469365864,
"score_mean": 0.9999999999993505
},
"1": {
"role": "prelude",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
5,
9,
10,
13,
16,
19,
21,
26,
27,
28,
32,
34,
36,
37,
38,
39,
43,
45,
47,
48,
51,
53,
55,
56,
57,
61,
62,
63,
67,
69,
70,
71,
74,
75,
76,
77,
78,
79,
80,
81,
83,
84,
85,
87,
88,
89,
91,
92,
93,
95,
96,
98,
99,
100,
103,
104,
106,
108,
111,
112,
114,
117,
125
],
"pruned_indices": [
1,
2,
3,
4,
6,
7,
8,
11,
12,
14,
15,
17,
18,
20,
22,
23,
24,
25,
29,
30,
31,
33,
35,
40,
41,
42,
44,
46,
49,
50,
52,
54,
58,
59,
60,
64,
65,
66,
68,
72,
73,
82,
86,
90,
94,
97,
101,
102,
105,
107,
109,
110,
113,
115,
116,
118,
119,
120,
121,
122,
123,
124,
126,
127
],
"vision_protected_indices": [
45,
62,
77,
81,
98,
114
],
"score_min": 0.11860323857858852,
"score_max": 4.501929555590355,
"score_mean": 0.999999999999648
},
"2": {
"role": "prelude",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
2,
3,
5,
6,
7,
8,
9,
12,
13,
15,
16,
17,
20,
22,
24,
30,
32,
33,
34,
35,
37,
38,
39,
43,
44,
45,
47,
50,
54,
56,
58,
59,
65,
66,
72,
74,
75,
82,
83,
85,
86,
87,
88,
89,
90,
94,
100,
102,
103,
104,
106,
107,
109,
110,
112,
114,
115,
116,
118,
119,
120,
123,
126,
127
],
"pruned_indices": [
0,
1,
4,
10,
11,
14,
18,
19,
21,
23,
25,
26,
27,
28,
29,
31,
36,
40,
41,
42,
46,
48,
49,
51,
52,
53,
55,
57,
60,
61,
62,
63,
64,
67,
68,
69,
70,
71,
73,
76,
77,
78,
79,
80,
81,
84,
91,
92,
93,
95,
96,
97,
98,
99,
101,
105,
108,
111,
113,
117,
121,
122,
124,
125
],
"vision_protected_indices": [
7,
30,
32,
65,
83,
94
],
"score_min": 0.19907037663201194,
"score_max": 3.4458723596827454,
"score_mean": 0.9999999999997199
},
"3": {
"role": "prelude",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
2,
3,
5,
6,
7,
10,
12,
14,
16,
17,
20,
23,
24,
26,
27,
28,
29,
30,
33,
35,
38,
42,
46,
48,
50,
55,
56,
59,
61,
62,
63,
68,
69,
70,
72,
75,
78,
80,
82,
86,
87,
88,
89,
91,
94,
95,
97,
98,
99,
100,
101,
103,
104,
105,
113,
115,
117,
120,
121,
122,
125,
126,
127
],
"pruned_indices": [
1,
4,
8,
9,
11,
13,
15,
18,
19,
21,
22,
25,
31,
32,
34,
36,
37,
39,
40,
41,
43,
44,
45,
47,
49,
51,
52,
53,
54,
57,
58,
60,
64,
65,
66,
67,
71,
73,
74,
76,
77,
79,
81,
83,
84,
85,
90,
92,
93,
96,
102,
106,
107,
108,
109,
110,
111,
112,
114,
116,
118,
119,
123,
124
],
"vision_protected_indices": [
6,
24,
33,
59,
87,
113
],
"score_min": 0.24965230579278028,
"score_max": 2.5432501839573702,
"score_mean": 0.9999999999997401
},
"4": {
"role": "prelude",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
3,
4,
6,
9,
10,
11,
15,
19,
20,
25,
27,
29,
30,
34,
39,
40,
41,
42,
43,
44,
47,
49,
51,
53,
54,
55,
60,
61,
62,
63,
65,
68,
69,
70,
72,
76,
78,
79,
80,
82,
84,
85,
86,
89,
91,
92,
93,
95,
96,
101,
102,
103,
105,
108,
109,
110,
113,
117,
118,
122,
123,
125,
126
],
"pruned_indices": [
1,
2,
5,
7,
8,
12,
13,
14,
16,
17,
18,
21,
22,
23,
24,
26,
28,
31,
32,
33,
35,
36,
37,
38,
45,
46,
48,
50,
52,
56,
57,
58,
59,
64,
66,
67,
71,
73,
74,
75,
77,
81,
83,
87,
88,
90,
94,
97,
98,
99,
100,
104,
106,
107,
111,
112,
114,
115,
116,
119,
120,
121,
124,
127
],
"vision_protected_indices": [
9,
47,
54,
65,
70,
123
],
"score_min": 0.27827978440547274,
"score_max": 2.8669613438129957,
"score_mean": 0.9999999999997523
},
"5": {
"role": "prelude",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
2,
6,
9,
11,
12,
14,
15,
16,
17,
18,
19,
20,
21,
23,
24,
28,
29,
30,
32,
33,
35,
36,
37,
38,
40,
43,
45,
48,
49,
50,
52,
55,
56,
58,
59,
61,
64,
66,
69,
71,
72,
73,
75,
77,
78,
80,
82,
84,
86,
87,
89,
90,
94,
96,
98,
101,
106,
108,
110,
113,
114,
122,
125,
127
],
"pruned_indices": [
0,
1,
3,
4,
5,
7,
8,
10,
13,
22,
25,
26,
27,
31,
34,
39,
41,
42,
44,
46,
47,
51,
53,
54,
57,
60,
62,
63,
65,
67,
68,
70,
74,
76,
79,
81,
83,
85,
88,
91,
92,
93,
95,
97,
99,
100,
102,
103,
104,
105,
107,
109,
111,
112,
115,
116,
117,
118,
119,
120,
121,
123,
124,
126
],
"vision_protected_indices": [
16,
30,
35,
45,
61,
82
],
"score_min": 0.2090985678484904,
"score_max": 3.663601251160218,
"score_mean": 0.9999999999998805
},
"6": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
1,
4,
6,
7,
10,
11,
16,
20,
22,
24,
26,
30,
31,
33,
34,
40,
43,
45,
47,
48,
49,
50,
54,
55,
56,
57,
60,
62,
64,
66,
67,
68,
73,
74,
75,
76,
78,
80,
83,
85,
88,
89,
91,
92,
93,
96,
97,
99,
102,
103,
104,
106,
107,
108,
111,
112,
115,
118,
119,
122,
123,
125,
126,
127
],
"pruned_indices": [
0,
2,
3,
5,
8,
9,
12,
13,
14,
15,
17,
18,
19,
21,
23,
25,
27,
28,
29,
32,
35,
36,
37,
38,
39,
41,
42,
44,
46,
51,
52,
53,
58,
59,
61,
63,
65,
69,
70,
71,
72,
77,
79,
81,
82,
84,
86,
87,
90,
94,
95,
98,
100,
101,
105,
109,
110,
113,
114,
116,
117,
120,
121,
124
],
"vision_protected_indices": [],
"score_min": 0.015206551944920777,
"score_max": 2.005551194152618,
"score_mean": 0.6249999999991681
},
"7": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
3,
4,
7,
8,
10,
11,
14,
19,
21,
27,
29,
31,
33,
34,
35,
36,
37,
41,
43,
44,
47,
48,
50,
52,
53,
58,
59,
62,
63,
64,
65,
66,
67,
68,
71,
74,
76,
80,
83,
84,
85,
86,
89,
90,
91,
92,
94,
97,
99,
100,
103,
108,
109,
111,
118,
120,
123,
124,
125,
126,
127
],
"pruned_indices": [
5,
6,
9,
12,
13,
15,
16,
17,
18,
20,
22,
23,
24,
25,
26,
28,
30,
32,
38,
39,
40,
42,
45,
46,
49,
51,
54,
55,
56,
57,
60,
61,
69,
70,
72,
73,
75,
77,
78,
79,
81,
82,
87,
88,
93,
95,
96,
98,
101,
102,
104,
105,
106,
107,
110,
112,
113,
114,
115,
116,
117,
119,
121,
122
],
"vision_protected_indices": [],
"score_min": 0.10867190492200327,
"score_max": 2.46250507165173,
"score_mean": 0.6249999999996205
},
"8": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
4,
7,
8,
9,
10,
11,
12,
13,
15,
17,
18,
19,
21,
22,
23,
27,
30,
32,
34,
35,
36,
38,
41,
43,
44,
46,
47,
48,
51,
55,
57,
59,
62,
65,
66,
67,
68,
69,
70,
71,
73,
74,
76,
81,
83,
84,
87,
91,
92,
97,
102,
104,
106,
107,
109,
110,
112,
114,
122,
123,
125
],
"pruned_indices": [
3,
5,
6,
14,
16,
20,
24,
25,
26,
28,
29,
31,
33,
37,
39,
40,
42,
45,
49,
50,
52,
53,
54,
56,
58,
60,
61,
63,
64,
72,
75,
77,
78,
79,
80,
82,
85,
86,
88,
89,
90,
93,
94,
95,
96,
98,
99,
100,
101,
103,
105,
108,
111,
113,
115,
116,
117,
118,
119,
120,
121,
124,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.08561631888127698,
"score_max": 2.8334694606215627,
"score_mean": 0.6249999999997051
},
"9": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
2,
3,
4,
8,
9,
10,
11,
12,
15,
17,
19,
21,
23,
24,
25,
27,
28,
30,
32,
34,
35,
39,
43,
46,
51,
52,
54,
57,
58,
60,
63,
64,
65,
72,
75,
81,
83,
84,
86,
88,
91,
94,
97,
98,
103,
105,
106,
107,
109,
110,
111,
112,
113,
114,
115,
116,
119,
120,
121,
122,
123,
124,
125
],
"pruned_indices": [
1,
5,
6,
7,
13,
14,
16,
18,
20,
22,
26,
29,
31,
33,
36,
37,
38,
40,
41,
42,
44,
45,
47,
48,
49,
50,
53,
55,
56,
59,
61,
62,
66,
67,
68,
69,
70,
71,
73,
74,
76,
77,
78,
79,
80,
82,
85,
87,
89,
90,
92,
93,
95,
96,
99,
100,
101,
102,
104,
108,
117,
118,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.03304825073691376,
"score_max": 2.178164734866525,
"score_mean": 0.6249999999997419
},
"10": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
2,
5,
7,
9,
12,
15,
16,
17,
19,
20,
21,
24,
25,
35,
37,
39,
42,
44,
45,
46,
47,
48,
49,
50,
51,
52,
54,
57,
59,
60,
62,
63,
66,
67,
68,
69,
70,
71,
75,
76,
77,
78,
81,
84,
86,
87,
88,
89,
91,
94,
96,
97,
98,
100,
103,
105,
108,
112,
115,
117,
118,
119,
127
],
"pruned_indices": [
1,
3,
4,
6,
8,
10,
11,
13,
14,
18,
22,
23,
26,
27,
28,
29,
30,
31,
32,
33,
34,
36,
38,
40,
41,
43,
53,
55,
56,
58,
61,
64,
65,
72,
73,
74,
79,
80,
82,
83,
85,
90,
92,
93,
95,
99,
101,
102,
104,
106,
107,
109,
110,
111,
113,
114,
116,
120,
121,
122,
123,
124,
125,
126
],
"vision_protected_indices": [],
"score_min": 0.021846708338873602,
"score_max": 1.7794005587627,
"score_mean": 0.6249999999997687
},
"11": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
4,
6,
8,
9,
11,
13,
14,
16,
18,
21,
22,
23,
24,
25,
26,
27,
30,
31,
32,
35,
37,
39,
42,
43,
52,
55,
59,
62,
64,
68,
72,
73,
74,
77,
78,
79,
80,
81,
82,
85,
89,
90,
91,
94,
95,
96,
98,
99,
100,
105,
107,
109,
110,
111,
112,
114,
119,
121,
122,
126,
127
],
"pruned_indices": [
3,
5,
7,
10,
12,
15,
17,
19,
20,
28,
29,
33,
34,
36,
38,
40,
41,
44,
45,
46,
47,
48,
49,
50,
51,
53,
54,
56,
57,
58,
60,
61,
63,
65,
66,
67,
69,
70,
71,
75,
76,
83,
84,
86,
87,
88,
92,
93,
97,
101,
102,
103,
104,
106,
108,
113,
115,
116,
117,
118,
120,
123,
124,
125
],
"vision_protected_indices": [],
"score_min": 0.0,
"score_max": 2.7668531846214512,
"score_mean": 0.6249999999998127
},
"12": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
2,
5,
6,
7,
9,
12,
13,
16,
19,
20,
21,
22,
24,
25,
26,
27,
30,
32,
35,
37,
41,
43,
46,
49,
53,
54,
57,
61,
63,
65,
66,
68,
70,
71,
73,
76,
77,
79,
81,
84,
86,
88,
89,
90,
92,
93,
95,
96,
100,
101,
102,
103,
104,
105,
110,
111,
112,
116,
119,
120,
122,
123,
124,
126
],
"pruned_indices": [
0,
1,
3,
4,
8,
10,
11,
14,
15,
17,
18,
23,
28,
29,
31,
33,
34,
36,
38,
39,
40,
42,
44,
45,
47,
48,
50,
51,
52,
55,
56,
58,
59,
60,
62,
64,
67,
69,
72,
74,
75,
78,
80,
82,
83,
85,
87,
91,
94,
97,
98,
99,
106,
107,
108,
109,
113,
114,
115,
117,
118,
121,
125,
127
],
"vision_protected_indices": [],
"score_min": 0.0695929216862033,
"score_max": 1.8697762879546413,
"score_mean": 0.6249999999996074
},
"13": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
2,
3,
4,
6,
7,
10,
11,
13,
14,
16,
17,
21,
22,
23,
29,
34,
37,
39,
41,
42,
43,
46,
49,
51,
52,
53,
54,
62,
63,
64,
66,
69,
70,
72,
73,
75,
76,
78,
79,
83,
84,
87,
91,
93,
94,
98,
102,
105,
106,
107,
109,
111,
112,
113,
116,
117,
118,
119,
120,
121,
123,
124,
125,
126
],
"pruned_indices": [
0,
1,
5,
8,
9,
12,
15,
18,
19,
20,
24,
25,
26,
27,
28,
30,
31,
32,
33,
35,
36,
38,
40,
44,
45,
47,
48,
50,
55,
56,
57,
58,
59,
60,
61,
65,
67,
68,
71,
74,
77,
80,
81,
82,
85,
86,
88,
89,
90,
92,
95,
96,
97,
99,
100,
101,
103,
104,
108,
110,
114,
115,
122,
127
],
"vision_protected_indices": [],
"score_min": 0.0,
"score_max": 2.3296386168775887,
"score_mean": 0.6249999999997264
},
"14": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
3,
6,
7,
9,
10,
12,
15,
17,
18,
20,
21,
23,
25,
26,
27,
28,
30,
31,
32,
34,
38,
39,
41,
42,
43,
45,
46,
47,
49,
50,
55,
57,
58,
59,
60,
62,
63,
65,
69,
70,
71,
73,
80,
81,
83,
88,
89,
90,
97,
98,
99,
101,
102,
103,
106,
107,
110,
113,
115,
118,
121,
123,
124,
125
],
"pruned_indices": [
0,
1,
2,
4,
5,
8,
11,
13,
14,
16,
19,
22,
24,
29,
33,
35,
36,
37,
40,
44,
48,
51,
52,
53,
54,
56,
61,
64,
66,
67,
68,
72,
74,
75,
76,
77,
78,
79,
82,
84,
85,
86,
87,
91,
92,
93,
94,
95,
96,
100,
104,
105,
108,
109,
111,
112,
114,
116,
117,
119,
120,
122,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.02276707719205838,
"score_max": 1.4463235130600283,
"score_mean": 0.6249999999998123
},
"15": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
6,
7,
9,
10,
11,
12,
15,
18,
19,
21,
22,
28,
30,
33,
37,
38,
41,
43,
44,
45,
46,
51,
52,
54,
56,
57,
58,
60,
61,
62,
64,
65,
67,
69,
71,
72,
77,
79,
80,
82,
83,
84,
85,
88,
89,
95,
96,
98,
99,
101,
102,
103,
107,
115,
116,
117,
118,
119,
122,
123,
124,
127
],
"pruned_indices": [
2,
3,
4,
5,
8,
13,
14,
16,
17,
20,
23,
24,
25,
26,
27,
29,
31,
32,
34,
35,
36,
39,
40,
42,
47,
48,
49,
50,
53,
55,
59,
63,
66,
68,
70,
73,
74,
75,
76,
78,
81,
86,
87,
90,
91,
92,
93,
94,
97,
100,
104,
105,
106,
108,
109,
110,
111,
112,
113,
114,
120,
121,
125,
126
],
"vision_protected_indices": [],
"score_min": 0.020317455862667203,
"score_max": 1.9320729737114426,
"score_mean": 0.6249999999998366
},
"16": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63
],
"pruned_indices": [
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.0,
"score_max": 0.0,
"score_mean": 0.0
},
"17": {
"role": "loop_core",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63
],
"pruned_indices": [
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.0,
"score_max": 0.0,
"score_mean": 0.0
},
"18": {
"role": "coda",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63
],
"pruned_indices": [
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.0,
"score_max": 0.0,
"score_mean": 0.0
},
"19": {
"role": "coda",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63
],
"pruned_indices": [
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.0,
"score_max": 0.0,
"score_mean": 0.0
},
"20": {
"role": "coda",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63
],
"pruned_indices": [
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.0,
"score_max": 0.0,
"score_mean": 0.0
},
"21": {
"role": "coda",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63
],
"pruned_indices": [
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.0,
"score_max": 0.0,
"score_mean": 0.0
},
"22": {
"role": "coda",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63
],
"pruned_indices": [
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.0,
"score_max": 0.0,
"score_mean": 0.0
},
"23": {
"role": "coda",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63
],
"pruned_indices": [
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127
],
"vision_protected_indices": [],
"score_min": 0.0,
"score_max": 0.0,
"score_mean": 0.0
}
},
"checksums": {
"chat_template.jinja": "53a9035f3255945704b5857657cfb00c1165090c0641c4f782a0cbf268cc16dc",
"config.json": "401522614971c11db9f001a7442f01ad8ca3a537b9e33d4dd6ab7041d3dc4b59",
"generation_config.json": "a08737c07a65a8fdf69f7cf086576210e5aad4b241437090b26d7b0c4f7905f7",
"hf_quant_config.json": "7c656207d3ce37879c7be209a036b0dde43bf01f78159bff06880b868ed57143",
"model-00001-of-00001.safetensors": "7c6ee9507e01d3c4307c0d8a9d343dda973fad418008dcf192eb65f0aa859994",
"model.safetensors.index.json": "68e797a3d911bfe7df31c7a7bb664bc6ea2e6cc89257107640e9f903ae1010fb",
"mtp.safetensors": "7c3b651317f01f73bcf4e1dceba66ef8b7e1a1eac6bc171e882e690a4b10a1d2",
"processor_config.json": "d7350adce18c8be4b607f261c8f0f7eabbf720bb7aaf648a43d4f8372bbacc2d",
"special_tokens_map.json": "c16f44b3594563d82743ddb0417a2be1bfe3e2000dfad2da4b8f32554593e1a0",
"tiktoken/tokenizer.model": "f170372dd655728909228220d77cf6b8104a59f38a91262a7d2c4027906ec0d8",
"tokenizer.json": "7f332727f9a3f093dd452a39cc978e6757627e5dad1b0673aa4e75174f236dd6",
"tokenizer_config.json": "bf09342d285139fd37ce10c70878af1d52cb390e9901e10248654293a80ee636"
}
}
{
"schema_version": "1.0.0",
"toolkit": "inkling-prune",
"toolkit_version": "0.1.0",
"generated_at_utc": "2026-12-01T06:39:26.945555+00:00",
"upstream": {
"repo": "thinkingmachines/Inkling-2-Mini",
"commit_sha": "c9d028302cd0f035fdf8e7e91f089a4ce94d2195",
"original_experts": 128,
"num_hidden_layers": 24,
"core_start": 6,
"core_end": 18,
"num_passes": 3
},
"pruning": {
"method": "la_reap",
"saliency_variant": "hybrid",
"target_experts": 64,
"expert_sparsity": 0.5,
"alpha": 0.5,
"pass_weights": [
0.25,
0.35,
0.4
],
"min_token_floor": 1,
"vision_floor_ratio": 0.1,
"vision_floor_layers": [
0,
1,
2,
3,
4,
5
],
"sliced_tensor_count": 184
},
"calibration": {
"resumed_from_hf": "saimcodes/Inkling-2-Mini-LA-REAP-64E-Coder/saliency_stats_64e_coder.npz",
"total_sequences": 600,
"domain_counts": {
"web_stem": 0,
"code_swe": 240,
"code_multilang": 120,
"reasoning_math": 60,
"tool_calling": 120,
"vision_ui": 60
},
"removed_contaminated": 0,
"total_tokens": 201379,
"vision_tokens": 8640
},
"layers": {
"0": {
"role": "prelude",
"n_original_experts": 128,
"target_experts": 64,
"keep_indices": [
0,
2,
4,
6,
7,
9,
10,
11,
13,
14,
15,
16,
18,
24,
25,
26,
28,
29,
30,
33,
34,
39,
42,
43,
44,
46,
49,
50,
53,
54,
55,
58,
63,
64,
65,
67,
68,
69,
71,
74,
75,
77,