Model reference · open weights

alias-gpt2-small-x21

LLMs stanford-crfm Text gen 1 build Open weights 36k dl/mo

alias-gpt2-small-x21 is an open-weight language model from stanford-crfm. alias-gpt2-small-x21 (BF16) weighs 261 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • alias-gpt2-small-x21 is a text generation model developed by Stanford CRFM.
  • It is based on the GPT-2 architecture and has a context length of 1024 tokens.
  • The model is released under the Apache 2.0 license.

Summary of the stanford-crfm/alias-gpt2-small-x21 model card, 2026-10-01

What it is

Released bystanford-crfm
Released2022-03-02
VRAM261 MB for the weights

What it runs on

Memory and cards for alias-gpt2-small-x21 (BF16)

261 MBweights, file size
37 MBcache per 1K tokens
519 MBruntime overhead, at least
1,024 tokenscontext max
CardRequests at onceContext maxMemory
1K each
RTX 3060 12 GB287all 1K11.6 GB
RTX 4060 Ti 16 GB387all 1K15.4 GB
RTX 3090 24 GB599all 1K23.4 GB
RTX 4090 24 GB597all 1K23.4 GB
RTX 5090 32 GB801all 1K31.0 GB
L40S 48 GB1000+all 1K44.0 GB
A100 80 GB1000+all 1K78.2 GB
H100 80 GB1000+all 1K78.1 GB
RTX PRO 6000 Blackwell 96 GB1000+all 1K93.8 GB
DGX Spark (GB10) 128 GB unified1000+all 1K107 GB
H200 141 GB1000+all 1K138 GB
B200 180 GB1000+all 1K176 GB
Memory needed at each load
Requests at once1K tokens each
1818 MB
5969 MB
81.1 GB
161.4 GB
322.0 GB
643.2 GB

One card, with vLLM's small-card settings.

From the model card

What stanford-crfm says about alias-gpt2-small-x21

Read the model card

Model Description

More information needed

  • Developed by: Stanford CRFM

  • Shared by [Optional]: Stanford CRFM

  • Model type: Text Generation

  • Language(s) (NLP): More information needed

  • License: Apache 2.0

  • Parent Model: GPT-2

  • Resources for more information:

Uses

Direct Use

This model can be used for the task of Text Generation.

Downstream Use [Optional]

More information needed.

Out-of-Scope Use

The model should not be used to intentionally create hostile or alienating environments for people.

Bias, Risks, and Limitations

Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.

Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.

Training Details

Training Data

More information needed

Training Procedure

Preprocessing

More information needed

Speeds, Sizes, Times

More information needed

Evaluation

Testing Data, Factors & Metrics

Testing Data

More information needed

Factors

More information needed

Metrics

More information needed

Results

More information needed

Model Examination

More information needed

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: More information needed
  • Hours used: More information needed
  • Cloud Provider: More information needed
  • Compute Region: More information needed
  • Carbon Emitted: More information needed

Technical Specifications [optional]

Model Architecture and Objective

More information needed

Compute Infrastructure

More information needed

Hardware

More information needed

Software

More information needed.

Citation

BibTeX:

More information needed

APA:

More information needed

Glossary [optional]

More information needed

More Information [optional]

More information needed

Model Card Authors [optional]

Stanford CRFM in collaboration with Ezi Ozoani and the Hugging Face team

Model Card Contact

More information needed

How to Get Started with the Model

Use the code below to get started with the model.

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("stanford-crfm/alias-gpt2-small-x21")

model = AutoModelForCausalLM.from_pretrained("stanford-crfm/alias-gpt2-small-x21")

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms