SuperAPI AI Directory

OpenELM-450M-Instruct

OpenELM-450M-Instruct is the instruction-tuned version of the OpenELM series of efficient language models released by Apple, with 450 million (0.45B) parameters. The series adopts a layer-wise scaling strategy to efficiently allocate parameters within each layer of the Transformer, thereby improving model accuracy. The model was pretrained using the CoreNet library on approximately 1.8 trillion tokens of pretraining data, covering RefinedWeb, deduplicated PILE, a RedPajama subset, and a Dolma v1.6 subset. The OpenELM series releases both pretrained and instruction-tuned models, with parameter counts including 270M, 450M, 1.1B, and 3B, and open-sources a complete framework for data preparation, training, fine-tuning, and evaluation, along with multiple checkpoints and training logs, to promote open research. The model can be downloaded directly, have its files browsed, and be run on Hugging Face, and is suitable for text generation tasks. Note that the model provides no safety guarantees and may produce inaccurate, harmful, biased, or offensive outputs; users must conduct their own safety testing and implement filtering mechanisms.

Open website

About this tool

OpenELM-450M-Instruct is an instruction-tuned language model in the OpenELM (Open Efficient Language Models) series introduced by Apple, with 450 million (0.45B) parameters. The core feature of this series is the adoption of a layer-wise scaling strategy, which efficiently allocates parameters within each layer of the Transformer model, thereby improving model accuracy. OpenELM models are pretrained using the CoreNet library. The official release includes both pretrained and instruction-tuned models, with parameter counts covering 270M, 450M, 1.1B, and 3B, and open-sources a complete framework covering data preparation, training, fine-tuning, and evaluation, as well as multiple pretrained checkpoints and training logs, aiming to promote open research.

In terms of main capabilities, OpenELM-450M-Instruct is a text generation model that supports loading and generating outputs via the Hugging Face Hub. The official release provides an example function generate_openelm.py for generating text from the model. Users can run the model with a Hugging Face access token and can pass additional parameters to Hugging Face's generate function via generate_kwargs. For example, to accelerate inference, the prompt_lookup_num_tokens parameter can be passed to attempt lookup-based token speculative generation; the assistant_model parameter can also be passed to perform model-level speculative generation using a smaller assistant model.

In terms of usage, users can download, browse files for, and run the model on the Hugging Face model page. The official instructions provide guidance on installing dependencies and evaluating OpenELM, and mention that the OpenLLM Leaderboard and the technical report can be consulted for more results and comparisons.

The applicable scenarios are mainly text generation tasks in open research, as well as experiments around efficient language model architectures and training and fine-tuning pipelines. Due to the model's small size (0.45B), it is suitable for research exploration in resource-constrained environments.

In terms of limitations, the official documentation explicitly states that OpenELM models are trained on public datasets and provide no safety guarantees at release, and may generate inaccurate, harmful, biased, or offensive outputs in response to user prompts. Therefore, users and developers must conduct comprehensive safety testing according to their own needs and implementappropriate filtering mechanisms. In addition, the pretraining datasets include RefinedWeb, deduplicated PILE, a RedPajama subset, and a Dolma v1.6 subset, totaling approximately 1.8 trillion tokens; the respective license agreements and terms of these datasets should be checked before use.