TitanML / Mistral-NeMo-Minitron-8B-Base

huggingface.co
Total runs: 6
24-hour runs: 0
7-day runs: 2
30-day runs: 2
Model's Last Updated: September 09 2024
text-generation

Introduction of Mistral-NeMo-Minitron-8B-Base

Model Details of Mistral-NeMo-Minitron-8B-Base

Mistral-NeMo-Minitron-8B-Base

Model Overview

Mistral-NeMo-Minitron-8B-Base is a base text-to-text model that can be adopted for a variety of natural language generation tasks. It is a large language model (LLM) obtained by pruning and distilling the Mistral-NeMo 12B; specifically, we prune the embedding dimension and MLP intermediate dimension in the model. Following pruning, we perform continued training with distillation using 380 billion tokens to arrive at the final model; we use the continuous pre-training data corpus used in Nemotron-4 15B for this purpose. Please refer to our technical report for more details.

Model Developer: NVIDIA

Model Dates: Mistral-NeMo-Minitron-8B-Base was trained between July 24, 2024 and August 10, 2024.

License

This model is released under the NVIDIA Open Model License Agreement .

Model Architecture

Mistral-NeMo-Minitron-8B-Base uses a model embedding size of 4096, 32 attention heads, MLP intermediate dimension of 11520, with 40 layers in total. Additionally, it uses Grouped-Query Attention (GQA) and Rotary Position Embeddings (RoPE).

Architecture Type: Transformer Decoder (Auto-Regressive Language Model)

Network Architecture: Mistral-NeMo

Input Type(s): Text

Input Format(s): String

Input Parameters: One Dimensional (1D)

Other Properties Related to Input: Works well within 8k characters or less.

Output Type(s): Text

Output Format: String

Output Parameters: 1D

Other Properties Related to Output: None

Usage

Support for this model will be added in the upcoming transformers release. In the meantime, please install the library from source:

pip install git+https://github.com/huggingface/transformers

We can now run inference on this model:

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

# Load the tokenizer and model
model_path = "nvidia/Mistral-NeMo-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 = 'Complete the paragraph: our solar system is'
inputs = tokenizer.encode(prompt, return_tensors='pt').to(model.device)

# Generate the output
outputs = model.generate(inputs, max_length=20)

# Decode and print the output
output_text = tokenizer.decode(outputs[0])
print(output_text)
Software Integration

Runtime Engine(s):

  • NeMo 24.05

Supported Hardware Microarchitecture Compatibility:

  • NVIDIA Ampere
  • NVIDIA Blackwell
  • NVIDIA Hopper
  • NVIDIA Lovelace

Operating System(s):

  • Linux
Dataset & Training

Data Collection Method by Dataset: Automated

Labeling Method by Dataset: Not Applicable

Properties: The training corpus for Mistral-NeMo-Minitron-8B-Base consists of English and multilingual text, as well as code. Our sources cover a variety of document types such as: webpages, dialogue, articles, and other written materials. The corpus spans domains including legal, math, science, finance, and more. In our continued training set, we introduce a small portion of question-answering, and alignment style data to improve model performance.

Data Freshness: Training was done in 2024, the pretraining data has a cutoff of June 2023.

Evaluation Results

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

Average
69.5

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

HellaSwag Winogrande GSM8K ARC-Challenge XLSum
83.0 80.4 58.5 64.4 32.0

Code generation performance. Evaluated using MBPP :

Score
43.77
Inference

Engine: TensorRT-LLM

Test Hardware: NVIDIA A100

DType: BFloat16

Limitations

The model was trained on data that contains toxic language, unsafe content, and societal biases originally crawled from the internet. Therefore, the model may amplify those biases and return toxic responses especially when prompted with toxic prompts. The model may generate answers that may be inaccurate, omit key information, or include irrelevant or redundant text producing socially unacceptable or undesirable text, even if the prompt itself does not include anything explicitly offensive.

Ethical Considerations

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.

Please report security vulnerabilities or NVIDIA AI Concerns here .

References

Runs of TitanML Mistral-NeMo-Minitron-8B-Base on huggingface.co

6
Total runs
0
24-hour runs
0
3-day runs
2
7-day runs
2
30-day runs

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

More Mistral-NeMo-Minitron-8B-Base license Visit here:

https://choosealicense.com/licenses/nvidia-open-model-license

Mistral-NeMo-Minitron-8B-Base huggingface.co

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

Mistral-NeMo-Minitron-8B-Base huggingface.co Url

https://huggingface.co/TitanML/Mistral-NeMo-Minitron-8B-Base

TitanML Mistral-NeMo-Minitron-8B-Base online free

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

TitanML Mistral-NeMo-Minitron-8B-Base online free url in huggingface.co:

https://huggingface.co/TitanML/Mistral-NeMo-Minitron-8B-Base

Mistral-NeMo-Minitron-8B-Base install

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

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

https://huggingface.co/TitanML/Mistral-NeMo-Minitron-8B-Base

Url of Mistral-NeMo-Minitron-8B-Base

Mistral-NeMo-Minitron-8B-Base huggingface.co Url

Provider of Mistral-NeMo-Minitron-8B-Base huggingface.co

TitanML
ORGANIZATIONS

Other API from TitanML

huggingface.co

Total runs: 43.8K
Run Growth: -1.6K
Growth Rate: -3.70%
Updated:July 04 2024
huggingface.co

Total runs: 1.4K
Run Growth: -133
Growth Rate: -9.67%
Updated:April 17 2026
huggingface.co

Total runs: 29
Run Growth: 3
Growth Rate: 10.34%
Updated:April 24 2024
huggingface.co

Total runs: 7
Run Growth: 1
Growth Rate: 14.29%
Updated:July 25 2024
huggingface.co

Total runs: 5
Run Growth: 5
Growth Rate: 100.00%
Updated:September 11 2024
huggingface.co

Total runs: 3
Run Growth: 2
Growth Rate: 66.67%
Updated:September 11 2024
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:September 11 2024
huggingface.co

Total runs: 2
Run Growth: -1
Growth Rate: -50.00%
Updated:June 13 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:September 09 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:September 11 2024
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:September 12 2024
huggingface.co

Total runs: 0
Run Growth: -1
Growth Rate: 0.00%
Updated:September 09 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 11 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2024
huggingface.co

Total runs: 0
Run Growth: -1
Growth Rate: 0.00%
Updated:September 12 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 24 2024