Model reference · open weights

alias-gpt2-small-x21

Available as managed deployment LLMs stanford-crfm Text gen 1 variants 36k dl/mo

alias-gpt2-small-x21 is an open-weight language model from stanford-crfm. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released bystanford-crfm
TypeLanguage models
TaskText gen
Context1k tokens
Runs withtransformers
Released2022-03-02
Popularity36k downloads / month
LicenceOpen weights

About

What alias-gpt2-small-x21 is

Model Description

More information needed

  • Developed by: Stanford CRFM

Read the full model card
  • 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")
    

    From the published model card. Full card on the HuggingFace links in the sidebar.

    Using it via the API

    Call it like any OpenAI endpoint

    Once AxForge deploys alias-gpt2-small-x21 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (alias-gpt2-small-x21 below is illustrative; you get the exact model name on deployment.)

    $ curl -sS https://api.axforge.ai/v1/chat/completions \
      -H "Authorization: Bearer $AXFORGE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model":"alias-gpt2-small-x21","messages":[{"role":"user","content":"Hello"}]}'

    Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

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