SuperAPIAI Directory

minimind vs OpenELM: An Efficient Language Model Family with Open Training and Inference Framework

Metrics & specs comparison

minimind

MiniMind is an open-source project for training an ultra-small language model from scratch. It aims to lower the barriers to learning and reproducing large language models (LLMs), enabling even ordinary personal GPUs to complete training quickly. The smallest version of the project's mainline has about 64M parameters, roughly 1/2700 the size of GPT-3, and can be reproduced on a single 3090 with only about 3 yuan in cost and 2 hours of training time. The project open-sources a minimalist model architecture and a complete training pipeline, covering the full process code for MoE, data cleaning, pretraining, supervised fine-tuning, LoRA, RLHF (DPO), RLAIF (PPO/GRPO/CISPO), Tool Use, Agentic RL, adaptive thinking, and model distillation. All core algorithms are implemented natively in PyTorch and do not rely on third-party high-level abstraction interfaces. This is not only an open-source full-stage reproduction project for large language models, but also a tutorial for LLM beginners and practitioners. It is open-sourced under the Apache 2.0 license and is completely free.

OpenELM: An Efficient Language Model Family with Open Training and Inference Framework

OpenELM is a family of efficient open-source language models released by Apple, and its paper has been accepted to the Efficient Systems for Foundation Models workshop at ICML 2024. The model adopts a layer-wise scaling strategy to efficiently allocate parameters within each layer of the Transformer, thereby improving accuracy. For example, under a budget of about 1 billion parameters, OpenELM improves accuracy by 2.36% compared with OLMo while requiring half the number of tokens for pretraining. Unlike previous approaches that only provide model weights and inference code and are pretrained on private datasets, the release of OpenELM includes a complete framework for training and evaluating language models on public datasets, including training logs, multiple checkpoints, and pretraining configurations. It also provides code for converting the models to the MLX library for inference and fine-tuning on Apple devices. This comprehensive release aims to empower and strengthen the open research community.

DimensionminimindOpenELM: An Efficient Language Model Family with Open Training and Inference Framework
CategoryAI developer platformsAI developer platforms
Monthly visits—
651.0M
MoM—-6.8%
Global rank—#53
Avg. visit—2m 28s
AI referrals—2.9%
PricingGitHub 开源项目 · 75,044 Stars—
Platforms—Web
GitHub stars 75,044—
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools