Sign inSign up

ai/granite-4.0-h-nano

Verified Publisher

By Docker

•Updated 11 months ago

Granite-4.0-h-nano: lightweight instruct model trained via SFT, RL, and merging on diverse data.

Model
1

10K+

ai/granite-4.0-h-nano repository overview

⁠Granite 4.0 H Nano

logo

⁠Description

Granite-4.0-H-1B and granite-4.0-h-350M are lightweight instruct model finetuned from Granite-4.0-H-1B-Base and Granite-4.0-H-350M-Base using a combination of open source instruction datasets with permissive license and internally collected synthetic datasets. This model is developed using a diverse set of techniques including supervised finetuning, reinforcement learning, and model merging.

⁠Characteristics

AttributeDetails
ProviderGranite Team, IBM
Architecturegranitehybrid
Cutoff dateNot disclosed
LanguagesEnglish, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, Chinese (extensible via finetuning)
Tool calling✅
Input modalitiesText
Output modalitiesText
LicenseApache 2.0

⁠Intended use

Intended use: Granite 4.0 Nano instruct models feature strong instruction following capabilities bringing advanced AI capabilities within reach for on-device deployments and research use cases. Additionally, their compact size makes them well-suited for fine-tuning on specialized domains without requiring massive compute resources.

⁠Available model variants

Model variantParametersQuantizationContext windowVRAM¹Size
ai/granite-4.0-h-nano:1B

ai/granite-4.0-h-nano:1B-Q8_0

ai/granite-4.0-h-nano:latest
1BMOSTLY_Q8_01M tokens1.92 GiB1.45 GB
ai/granite-4.0-h-nano:350M-Q8_0350MMOSTLY_Q8_01M tokens0.76 GiB345.83 MB

¹: VRAM estimated based on model characteristics.

latest → 1B

⁠Use this AI model with Docker Model Runner

docker model run ai/granite-4.0-h-nano

⁠Considerations

  • Optimized for instruction following, tool/function calling, and long-context (up to 128K tokens) scenarios.
  • Strong generalist capabilities: summarization, classification, extraction, QA/RAG, coding, function-calling, and multilingual dialogue.
  • Multilingual: best performance in English; a few-shot approach or light finetuning can help close gaps for other languages.
  • Safety & reliability: despite alignment, the model can still produce inaccurate or biased outputs—apply domain-specific evaluation and guardrails.
  • Infrastructure note: trained on NVIDIA GB200 NVL72 at CoreWeave; use acceleration libraries (e.g., accelerate, optimized attention/KV cache settings) for efficient inference.

⁠Benchmark performance

BenchmarksMetric350M DenseH 350M Dense1B DenseH 1B Dense
General Tasks
MMLU5-shot35.0136.2159.3959.74
MMLU-Pro5-shot, CoT12.1314.3834.0232.86
BBH3-shot, CoT33.0733.2860.3759.68
AGI EVAL0-shot, CoT26.2229.6149.2252.44
GPQA0-shot, CoT24.1126.1229.9129.69
Alignment Tasks
IFEvalInstruct, Strict61.6367.6380.8282.37
IFEvalPrompt, Strict49.1755.6473.9474.68
IFEvalAverage55.4061.6377.3878.53
Math Tasks
GSM8K8-shot30.7139.2776.3569.83
GSM Symbolic8-shot26.7633.7072.3065.72
Minerva Math0-shot, CoT13.045.7645.2849.40
DeepMind Math0-shot, CoT8.456.2034.0034.98
Code Tasks
HumanEvalpass@139.0038.0074.0073.00
HumanEval+pass@137.0035.0069.0068.00
MBPPpass@148.0049.0065.0069.00
MBPP+pass@138.0044.0057.0060.00
CRUXEval-Opass@123.7525.5033.1336.00
BigCodeBenchpass@111.1411.2330.1829.12
Tool Calling Tasks
BFCL v3—39.3243.3254.8250.21
Multilingual Tasks
MULTIPLEpass@115.9914.3132.2436.11
MMMLU5-shot28.2327.9545.0049.43
INCLUDE5-shot27.7427.0942.1243.35
MGSM8-shot14.7216.1637.8427.52
Safety
SALAD-Bench—97.1296.5593.4496.40
AttaQ—82.5381.7685.2682.85

Tag summary

Content type

Model

Digest

sha256:91eb206d6…

Size

1.5 GB

Last updated

11 months ago

docker model pull ai/granite-4.0-h-nano

This week's pulls

Pulls:

42

Last week