Instructions to use Nikhil0097/refract-hsmall-blend2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Nikhil0097/refract-hsmall-blend2 with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
refract-hsmall-blend2 β divergent decision refraction (research adapters)
LoRA adapters for ibm-granite/granite-4.0-h-small (32B total / ~9B active, hybrid Mamba+MoE), trained to refract a hard decision into four strategic threads β each intended to describe a different kind of move (confront, evade, co-opt, transform, delegate, endure). Distinctness and practical viability are evaluation targets, not guaranteed properties of every generated answer.
This is the released result of a concluded 8-round research program. The methods, round-by-round results, and negative results are in the project's working paper: github.com/Nikhiljangra07/divergence-formula.
What's in this repo
| Path | Role |
|---|---|
dec_blend2/ |
Decomposer adapter β problem β 4 distinct strategic angles |
wrk_blend2/ |
Worker adapter β one angle β a concrete, viable thread with projected consequences |
eval/ |
Raw eval outputs (DAV harness JSON + per-thread JSONL, held-out + benchmark sets) |
Both adapters: LoRA r=64 / Ξ±=64, all-linear targets, SFT on 6,745 judge-gated synthetic rows (1,349 decomposer / 5,396 worker), including a targeted "viable-cunning" influence round.
Headline result
Single-session model-blind judging (Gemini 2.5 Pro, temp 0) on a 48-problem modern-decision benchmark, with Claude Haiku 4.5 responses generated fresh for the comparison. This benchmark was reused across development rounds; it is not an untouched final test set.
| model | overall | viability | distinctness | decisiveness | foresight |
|---|---|---|---|---|---|
| this model (BLEND2) | 4.55 | 3.56 | 4.90 | 4.83 | 4.21 |
| Claude Haiku 4.5 | 4.72 | 4.25 | 4.75 | 4.83 | 4.52 |
In this comparison, BLEND2 had a higher distinctness point estimate (4.90 vs 4.75) and the same decisiveness mean (4.83). Its overall mean was lower by 0.17, with lower viability and foresight. These are task-specific ratings from one judge model; they do not establish statistical superiority, human preference, or general capability over Haiku.
Note on the two eval harnesses: the table above is the same-session comparative re-judge (working paper Β§14β15). The JSON files in
eval/are from the project's internal DAV harness (a stricter per-dimension rubric on the same problem sets) β different scale, same model. Both are documented in the working paper. Scores from these different rubrics should not be combined or directly compared.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = "ibm-granite/granite-4.0-h-small"
tok = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(base, torch_dtype="bfloat16", device_map="auto")
# Stage 1: decompose the problem into 4 distinct angles
dec = PeftModel.from_pretrained(model, "Nikhil0097/refract-hsmall-blend2", subfolder="dec_blend2")
# ... generate angles, then per-angle:
# Stage 2: swap to the worker adapter and expand each angle into a full thread
The exact two-stage prompts and generation settings are in the GitHub repo
(round2_kit/dav_eval_v5.py). The base model needs the Mamba kernels; the training/inference
engineering traps are documented in the working paper Β§13.
Honest scope
- Specialist scoreboard, not a general benchmark win: the rubric measures the one operation the model was trained for.
- Known weaknesses: viability (3.56 vs Haiku's 4.25) and foresight (4.21 vs 4.52).
- Levers identified but not run (program concluded): hard-negative DPO at 9B-active scale, inference-time viability checking, a foresight-targeted corpus.
- Training examples were generated synthetically and filtered with LLM judges; generation and gating procedures are documented in the working paper.
- Results are exploratory and judge-dependent. Repeated benchmark use and model selection can make reported gains optimistic; there is no independent human validation here.
Provenance & findings
The working paper records the data interventions, SFT/DPO experiments, model comparisons, and approximate program cost (~$175). The larger-model results are consistent with a capacity hypothesis, but the models also differ in architecture and pretraining; parameter count was not isolated as a causal explanation. Built solo by Nikhil Jangra.
Documentation updated 2026-10-27 to clarify methods and limitations. Reported results and checkpoint files are unchanged; no new training or evaluation was performed for this update.
- Downloads last month
- -
Model tree for Nikhil0097/refract-hsmall-blend2
Base model
ibm-granite/granite-4.0-h-small