inference-optimization / NemotronH-0.3B-A0.3B

huggingface.co
Total runs: 1.7K
24-hour runs: 0
7-day runs: 1.2K
30-day runs: 1.6K
Model's Last Updated: September 14 2026
text-generation

Introduction of NemotronH-0.3B-A0.3B

Model Details of NemotronH-0.3B-A0.3B

NemotronH-0.3B-A0.3B

This is a tiny version of nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-Base-BF16 created for testing and development.

Model Details
  • Base Model : nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-Base-BF16
  • Architecture : nemotron_h (hybrid Mamba-2 / attention / mixture-of-experts)
  • Total Parameters : 0.347B
  • Activated Parameters : ~0.309B

The nemotron_h architecture is a hybrid that interleaves three block types. This tiny model preserves at least one of each so the full architecture is exercised:

  • linear_attention — Mamba-2 SSM mixer
  • full_attention — grouped-query attention mixer
  • moe — mixture-of-experts FFN (non-gated experts + shared expert + latent projection)

The layer pattern is ["linear_attention", "moe", "linear_attention", "full_attention", "moe"] .

Configuration Changes

The following parameters were reduced from the original model:

Parameter Original Tiny
num layers (layers_block_type) 108 5
hidden_size 8192 1024
num_attention_heads 64 8
num_key_value_heads 2 2
head_dim 128 128
mamba_num_heads 256 32
mamba_head_dim 64 64
n_groups 8 8
intermediate_size 5120 1536
n_routed_experts 512 32
num_experts_per_tok 22 8
moe_intermediate_size 5120 768
moe_shared_expert_intermediate_size 10240 1536
moe_latent_size 2048 512
num_nextn_predict_layers 1 0
vocab_size 131072 131072 (unchanged)
Checkpoint Structure

Single-file checkpoint ( model.safetensors ). The tensor layout matches the original model: the backbone. prefix is used, and routed experts are stored as individual per-expert 2D tensors ( backbone.layers.N.mixer.experts.M.up_proj.weight / down_proj.weight ) rather than stacked 3D parameters. All non-MTP tensor names are identical (modulo layer/expert indices) to the original checkpoint. Multi-token-prediction ( mtp.* ) layers are intentionally omitted ( num_nextn_predict_layers = 0 ).

Usage
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("NemotronH-0.3B-A0.3B", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("NemotronH-0.3B-A0.3B")

input_ids = tokenizer("According to all known laws", return_tensors="pt").input_ids.to(model.device)
output = model.generate(input_ids, max_new_tokens=20)
print(tokenizer.decode(output[0]))
Creation Process

This model was created using the llm-compressor create-tiny-model claude skill.

  1. Reduced layers_block_type , hidden/attention/mamba sizes, and MoE sizes as above.
  2. Re-initialized all weights, then fine-tuned on a small toy dataset until the perplexity target was reached (validates the model can learn).
  3. Verified the saved checkpoint structure matches the original (excluding MTP layers).
Validation
Success: 1.0079255104064941 <= 10.0

==================================================
Generating sample text:
According to all known laws of aviation, there is no way a bee should be able to fly.
==================================================
Notes
  • The Mamba mixer intermediate size is mamba_num_heads * mamba_head_dim (= 2048), and n_groups must divide it.
  • use_mamba_kernels=True ; if the optional mamba_ssm / causal_conv1d packages are not installed, transformers falls back to a correct (slower) reference implementation.
  • Because the large 131072-token vocabulary embedding dominates the parameter budget, total and activated parameter counts are both ~0.3B despite the MoE routing.

Runs of inference-optimization NemotronH-0.3B-A0.3B on huggingface.co

1.7K
Total runs
0
24-hour runs
48
3-day runs
1.2K
7-day runs
1.6K
30-day runs

More Information About NemotronH-0.3B-A0.3B huggingface.co Model

More NemotronH-0.3B-A0.3B license Visit here:

https://choosealicense.com/licenses/mit

NemotronH-0.3B-A0.3B huggingface.co

NemotronH-0.3B-A0.3B huggingface.co is an AI model on huggingface.co that provides NemotronH-0.3B-A0.3B's model effect (), which can be used instantly with this inference-optimization NemotronH-0.3B-A0.3B model. huggingface.co supports a free trial of the NemotronH-0.3B-A0.3B model, and also provides paid use of the NemotronH-0.3B-A0.3B. Support call NemotronH-0.3B-A0.3B model through api, including Node.js, Python, http.

inference-optimization NemotronH-0.3B-A0.3B online free

NemotronH-0.3B-A0.3B huggingface.co is an online trial and call api platform, which integrates NemotronH-0.3B-A0.3B's modeling effects, including api services, and provides a free online trial of NemotronH-0.3B-A0.3B, you can try NemotronH-0.3B-A0.3B online for free by clicking the link below.

inference-optimization NemotronH-0.3B-A0.3B online free url in huggingface.co:

https://huggingface.co/inference-optimization/NemotronH-0.3B-A0.3B

NemotronH-0.3B-A0.3B install

NemotronH-0.3B-A0.3B is an open source model from GitHub that offers a free installation service, and any user can find NemotronH-0.3B-A0.3B on GitHub to install. At the same time, huggingface.co provides the effect of NemotronH-0.3B-A0.3B install, users can directly use NemotronH-0.3B-A0.3B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

NemotronH-0.3B-A0.3B install url in huggingface.co:

https://huggingface.co/inference-optimization/NemotronH-0.3B-A0.3B

Url of NemotronH-0.3B-A0.3B

Provider of NemotronH-0.3B-A0.3B huggingface.co

inference-optimization
ORGANIZATIONS

Other API from inference-optimization