nvidia / Minitron-8B-Base

huggingface.co
Total runs: 35.5K
24-hour runs: 0
7-day runs: -3.0K
30-day runs: -3.0K
Model's Last Updated: February 15 2025
text-generation

Introduction of Minitron-8B-Base

Model Details of Minitron-8B-Base

Minitron 8B Base

Minitron is a family of small language models (SLMs) obtained by pruning NVIDIA's Nemotron-4 15B model. We prune model embedding size, attention heads, and MLP intermediate dimension, following which, we perform continued training with distillation to arrive at the final models.

Deriving the Minitron 8B and 4B models from the base 15B model using our approach requires up to 40x fewer training tokens per model compared to training from scratch; this results in compute cost savings of 1.8x for training the full model family (15B, 8B, and 4B). Minitron models exhibit up to a 16% improvement in MMLU scores compared to training from scratch, perform comparably to other community models such as Mistral 7B, Gemma 7B and Llama-3 8B, and outperform state-of-the-art compression techniques from the literature. Please refer to our arXiv paper for more details.

Minitron models are for research and development only.

HuggingFace Quickstart

The PR to support our models in Hugging Face in under review and expected to be merged soon. In the meantime, this branch at commit ID 63d9cb0 can be used for Minitron models:

git clone [email protected]:suiyoubi/transformers.git
cd transformers
git checkout 63d9cb0
pip install .

The following code provides an example of how to load the Minitron-8B model and use it to perform text generation.

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

# Load the tokenizer and model
model_path = "nvidia/Minitron-8B-Base"
tokenizer = AutoTokenizer.from_pretrained(model_path)

device='cuda'
dtype=torch.bfloat16
model = AutoModelForCausalLM.from_pretrained(model_path, torch_dtype=dtype, device_map=device)

# Prepare the input text
prompt = "To be or not to be,"
input_ids = tokenizer.encode(prompt, return_tensors="pt").to(model.device)

# Generate the output
output_ids = model.generate(input_ids, max_length=50, num_return_sequences=1)

# Decode and print the output
output_text = tokenizer.decode(output_ids[0], skip_special_tokens=True)
print(output_text)
License

Minitron is released under the NVIDIA Open Model License Agreement .

Evaluation Results

5-shot performance. Language Understanding evaluated using Massive Multitask Language Understanding :

Average
63.8

Zero-shot performance. Evaluated using select datasets from the LM Evaluation Harness with additions:

HellaSwag Winogrande GSM8K ARC-C XLSum
80.7 79.0 51.3 52.6 31.2

Code generation performance . Evaluated using HumanEval :

p@1, 0-Shot
31.6

Please refer to our paper for the full set of results.

Citation

If you find our work helpful, please consider citing our paper:

@article{minitron2024,
      title={Compact Language Models via Pruning and Knowledge Distillation}, 
      author={Saurav Muralidharan and Sharath Turuvekere Sreenivas and Raviraj Joshi and Marcin Chochowski and Mostofa Patwary and Mohammad Shoeybi and Bryan Catanzaro and Jan Kautz and Pavlo Molchanov},
      journal={arXiv preprint arXiv:2407.14679},
      year={2024},
      url={https://arxiv.org/abs/2407.14679}, 
}

Runs of nvidia Minitron-8B-Base on huggingface.co

35.5K
Total runs
0
24-hour runs
-286
3-day runs
-3.0K
7-day runs
-3.0K
30-day runs

More Information About Minitron-8B-Base huggingface.co Model

Minitron-8B-Base huggingface.co

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

Minitron-8B-Base huggingface.co Url

https://huggingface.co/nvidia/Minitron-8B-Base

nvidia Minitron-8B-Base online free

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

nvidia Minitron-8B-Base online free url in huggingface.co:

https://huggingface.co/nvidia/Minitron-8B-Base

Minitron-8B-Base install

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

Minitron-8B-Base install url in huggingface.co:

https://huggingface.co/nvidia/Minitron-8B-Base

Url of Minitron-8B-Base

Minitron-8B-Base huggingface.co Url

Provider of Minitron-8B-Base huggingface.co

nvidia
ORGANIZATIONS

Other API from nvidia

huggingface.co

Total runs: 1.2M
Run Growth: 200.8K
Growth Rate: 15.84%
Updated:September 17 2026
huggingface.co

Total runs: 709.1K
Run Growth: -479.5K
Growth Rate: -67.62%
Updated:August 31 2026
huggingface.co

Total runs: 232.6K
Run Growth: 214.6K
Growth Rate: 92.28%
Updated:September 10 2025
huggingface.co

Total runs: 140.0K
Run Growth: 29.6K
Growth Rate: 21.11%
Updated:September 17 2026
huggingface.co

Total runs: 128.4K
Run Growth: 24.0K
Growth Rate: 18.70%
Updated:January 15 2025
huggingface.co

Total runs: 100.0K
Run Growth: -174.1K
Growth Rate: -176.92%
Updated:September 17 2026
huggingface.co

Total runs: 77.1K
Run Growth: -67.8K
Growth Rate: -87.92%
Updated:November 15 2023
huggingface.co

Total runs: 76.7K
Run Growth: 59.4K
Growth Rate: 77.48%
Updated:September 10 2025
huggingface.co

Total runs: 60.2K
Run Growth: 48.1K
Growth Rate: 79.90%
Updated:September 01 2026
huggingface.co

Total runs: 57.6K
Run Growth: 33.7K
Growth Rate: 58.45%
Updated:August 06 2022
huggingface.co

Total runs: 38.5K
Run Growth: 20.0K
Growth Rate: 51.62%
Updated:July 22 2025
huggingface.co

Total runs: 36.8K
Run Growth: 4.0K
Growth Rate: 10.85%
Updated:December 16 2025