Loading…
Loading…
INTRIQ-SmolLM2-135M-Instruct is an instruction-tuned, surgically weight-edited 135M parameter language model based on HuggingFaceTB/SmolLM2-135M-Instruct. It is engineered for structured multi-turn engineering workflows, robust instruction following, and mathematical/scientific Python code generation.
lm-eval v0.4.13 on CPU):| Benchmark | Task Focus | Sample Size | Raw Accuracy | Normalized (acc_norm) |
Real-World Takeaway |
|---|---|---|---|---|---|
| ARC-Easy | Elementary grade science QA | 50 | 50.0% | 44.0% | Moderate baseline matching base SmolLM2. |
| ARC-Challenge | Multi-hop complex scientific deduction | 50 | 26.0% | 26.0% | Near random baseline (25% on 4-choice MCQ). |
| HellaSwag | Situational continuation | 50 | 44.0% | 44.0% | Typical for ultra-compact 135M architectures. |
| OpenBookQA | Multi-hop open-book facts | 50 | 16.0% | 38.0% | Low zero-shot factual recall. |
| WinoGrande | Coreference ambiguity resolution | 50 | 52.0% | 52.0% | Near 50% binary baseline. |
new_planet_identification and Bio-Sync-AI). The single-layer weight update produced zero net delta on broad repository-level reasoning.status: pending, commit df4040f0...).import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "BRR1154/INTRIQ-SmolLM2-135M-Instruct"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float32)
messages = [
{"role": "user", "content": "For a biosignal telemetry pipeline, write a Python function with type hints to compute the rolling Z-score across a 1D NumPy array with window size W."}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt")
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=180,
do_sample=False,
repetition_penalty=1.15
)
print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
| Evaluation Suite | Base SmolLM2-135M | INTRIQ-SmolLM2-135M | Status |
|---|---|---|---|
| Conversational Workflow Suite | 90.33 / 300.0 (30.1%) | 300.0 / 300.0 (100.0%) | PASSED |
| Promptfoo Behavioral Suite | 0 / 5 (0.0%) | 5 / 5 (100.0%) | PASSED |
| WeightWatcher RMT Matrix Health | Healthy ($\alpha=6.4079$) | Healthy ($\alpha=6.4121$) | NO COLLAPSE |
| Benchmark | Focus | INTRIQ Accuracy | Normalized Accuracy | Base Expected Range |
|---|---|---|---|---|
| ARC-Easy | Scientific fact retrieval & reasoning | 50.00% | 44.00% | 49.8% – 53.0% |
| ARC-Challenge | Grade-school scientific reasoning (complex) | 26.00% | 26.00% | 25.0% – 28.0% |
| HellaSwag | Situational commonsense reasoning & completion | 44.00% | 44.00% | 41.5% – 43.5% |
| OpenBookQA | Elementary science open-book deduction | 16.00% | 38.00% | 36.0% – 39.0% |
| WinoGrande | Coreference ambiguity resolution | 52.00% | 52.00% | 51.0% – 53.0% |
HuggingFaceTB/SmolLM2-135M-Instruct)HuggingFaceTB/SmolLM2-135M-Instruct