SuperAPI AI Directory

GRPO-Zero vs OpenELM: An Efficient Language Model Family with Open Training and Inference Framework

Metrics & specs comparison

GRPO-Zero

GRPO-Zero is an open-source project that implements from scratch the GRPO algorithm used by DeepSeek R1, striving for minimal dependencies and reduced GPU memory usage. It depends almost not at all on transformers and vLLM, using only tokenizers for tokenization and PyTorch for training. The default configuration can run for several hours on a single A40 (48GB of VRAM) to achieve good results, and it also supports training on a 24GB VRAM GPU (such as an RTX 4090) by offloading the optimizer to the CPU. The project also introduces several improvements from DAPO: token-level policy gradient loss, removal of the KL divergence, filtering of overly long episodes, and training a Qwen2.5 model on the CountDown task.

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.

DimensionGRPO-ZeroOpenELM: 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 开源项目 · 1,924 Stars—
GitHub stars1,924 ★—