OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Instella

Instella is a family of open language models distributed with model weights, training code and training data. Its repository documents loading an Instella-3B-Instruct checkpoint with PyTorch and Transformers, generating text, using a TRL terminal chat command, and preparing and launching pre-training and fine-tuning workflows.

Independent OpenViST project profile, based on linked sources.

Instella — Hands-on text generation using PyTorch and Transformers
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Instella when you want model weights and training materials for local language-model experiments, rather than a hosted chat or API service.

Who it is for

  • Developers who want to load and use an open language-model checkpoint in a self-hosted environment.
  • Researchers and model builders exploring language-model training or fine-tuning with supplied code and data.

Documented uses

  • Generate text from a prompt using the Instella-3B-Instruct checkpoint.
  • Chat with a model through the documented TRL CLI.
  • Prepare training data and launch pre-training or supervised fine-tuning workflows.
Before you choose

Requirements & limits

  • The documented model-loading example uses PyTorch, Transformers, and trust_remote_code=True.
  • Source installation is recommended for training and fine-tuning; AMD GPU instructions include ROCm and MI300X-specific Flash-Attention setup.
  • The README describes an eight-GPU single-node training example and also gives a multi-node torchrun pattern.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Load Instella-3B-Instruct for text generation

Use the repository’s Transformers example to load an Instella checkpoint and generate text from a prompt.

Before you start

  • Install PyTorch according to the instructions for your operating system.
  • The repository example uses Transformers, AutoTokenizer and AutoModelForCausalLM.
  • For AMD GPUs, the repository suggests starting with a ROCm PyTorch container.

Steps

  1. Set the checkpoint to amd/Instella-3B-Instruct.

  2. Load its tokenizer and causal language model with trust_remote_code=True and device_map="auto".

  3. Format a user prompt with the tokenizer’s chat template and request generation.

  4. Decode the generated tokens.

Expected outcome

A generated text response from the selected Instella checkpoint.

Guide limitations

  • The example describes local model loading and generation; it does not document a hosted API.
  • The repository does not specify inference hardware requirements.
Source-based practical guide

Prepare and launch an Instella pre-training run

Follow the documented first-stage data preparation and single-node training workflow.

Before you start

  • Install PyTorch and the repository dependencies.
  • Clone the Instella source and install Flash-Attention as shown for MI300X, then install the project with pip install -e .[all].
  • Download the OLMoE-mix-0924 dataset.
  • Use a node with eight GPUs for the documented single-node training example.

Steps

  1. Install dolma with pip install dolma.

  2. Run bash scripts/prepare_pretrain_data_stage1.sh to tokenize the first-stage data.

  3. Update the data paths in the Instella-3B training configuration.

  4. Launch the documented run with torchrun --nproc_per_node=8 scripts/train.py configs/instella-3b-pretrain-stage1.yaml.

Expected outcome

The documented workflow prepares first-stage pre-training data and launches an Instella-3B training job.

Guide limitations

  • The example assumes the configuration’s data paths have been updated.
  • The MI300X Flash-Attention installation instructions are specific to that hardware.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
19 November 2026
Original website title
AMD-AGI/Instella · Official homepage title · retained in its source language