SuperAPI AI Directory

OpenELM-1_1B

OpenELM-1_1B is the 1.1 billion parameter version in the series of open-source efficient language models released by Apple, hosted on Hugging Face for text generation. The series adopts a layer-wise scaling strategy to allocate parameters more efficiently within each Transformer layer to improve accuracy. OpenELM was pretrained using the CoreNet library and offers pretrained and instruction-tuned models at four parameter scales: 270M, 450M, 1.1B, and 3B, and publicly releases a complete framework for data preparation, training, fine-tuning, and evaluation, along with multiple checkpoints and training logs to support open research. The pretraining data includes RefinedWeb, deduplicated PILE, a RedPajama subset, and a Dolma v1.6 subset, totaling approximately 1.8 trillion tokens. The model page provides an example script, generate_openelm.py, for loading and generating output via the Hugging Face Hub, and explains that additional generation parameters can be passed through generate_kwargs, for example using prompt_lookup_num_tokens for prompt lookup speculative generation, or passing a smaller model through assistant_model for model-level speculative generation to accelerate inference. The page also provides dependency installation and evaluation instructions, and links to the OpenLLM Leaderboard and the technical report.

Open website

About this tool

OpenELM-1_1B is a 1.1 billion parameter text generation model in the OpenELM (Open Efficient Language Models) series, released by Apple on Hugging Face. The core design of the series is a layer-wise scaling strategy: allocating parameters more efficiently within each layer of the Transformer model, thereby improving model accuracy. OpenELM was pretrained using the CoreNet library, and simultaneously releases pretrained models and instruction-tuned models at the 270M, 450M, 1.1B, and 3B parameter scales.

Main capabilities and open content: The model is used for text generation. The publisher has released the complete framework, covering data preparation, training, fine-tuning, and evaluation processes, and provides multiple pretrained checkpoints and training logs to promote open research. The pretraining dataset includes RefinedWeb, deduplicated PILE, a subset of RedPajama, and a subset of Dolma v1.6, totaling approximately 1.8 trillion tokens; before using these data, their license agreements and terms must be reviewed.

Usage: The model page provides an example function for generating output from an OpenELM model loaded via the Hugging Face Hub, with the script generate_openelm.py. The page explains that the corresponding command can be run to try the model, and a link must be referenced to obtain a Hugging Face access token. Additional parameters of the Hugging Face generation function can be passed through generate_kwargs; for example, to accelerate inference, the prompt_lookup_num_tokens parameter can be passed to try prompt lookup speculative generation; a smaller model can also be passed through the assistant_model parameter for model-level speculative generation. The page also includes instructions for installing dependencies and evaluating OpenELM, and links to the OpenLLM Leaderboard and the technical report for more results and comparisons.

Applicable scenarios: Suitable for the open research community to conduct language model research, reproduce training and evaluation processes, perform text generation experiments, and explore inference acceleration methods such as speculative generation.

Limitations and risks: The publisher explicitly states that these models are trained on public datasets and are released without any safety guarantees, and may generate inaccurate, harmful, biased, or offensive content in response to user prompts. Therefore, users and developers need to conduct thorough safety testing according to their own needs and implement appropriate filtering mechanisms.