Article Complete
AIM
Hugging Face Releases SmolLM, a Series of Small Language Models, Beats Qwen2 and Phi 1.5
Hugging Face Releases SmolLM, a Series of Small Language Models, Beats Qwen2 and Phi 1.5
Tiny Model, Big Dreams

Hugging Face Releases SmolLM, a Series of Small Language Models, Beats Qwen2 and Phi 1.5

The SmoLLM models are fully open, with datasets, training code, and models available to the public.

Published Updated

Key takeaways

  • Hugging Face launches SmolLM, open-source small language models optimized for local device use.
  • SmolLM models outperform competitors like Qwen2 and Phi 1.5 with fewer parameters and training data.
  • Models are available in three sizes: 130M, 350M, and 1.7B parameters.
  • Cosmopedia v2 dataset, with 28 billion tokens, supports high-quality pre-training for these models.
  • SmolLM emphasizes reduced energy consumption and eliminates reliance on cloud-based resources.
5 min

Hugging Face has unveiled a new series of compact language models called SmolLM, available in three sizes: 130M, 350M, and 1.7B parameters. These models are optimised for use on local devices such as laptops and phones, eliminating the need for cloud-based resources and significantly reducing energy consumption.

The SmoLLM models are fully open, with datasets, training code, and models available to the public. They have been trained on FineWeb-Edu and Cosmopedia v2, which will also be released alongside the models. Cosmopedia v2, comprising 28 billion tokens, is the largest synthetic dataset for pre-training, optimized with high-quality prompts across diverse topics.

Performance evaluations indicate that SmoLLM models outperform existing models in their respective size categories. The SmoLLM-135M model surpasses the MobileLM-125M model, despite being trained on fewer tokens. Similarly, the SmoLLM-350M and SmoLLM-1.7B models exceed the performance of models like Qwen2-500M, Phi 1.5, and MobileLM-1.5B, with fewer parameters and less training data.

The models are built on the Cosmo-Corpus training corpus, which includes Cosmopedia v2, Python-Edu, and FineWeb-Edu. Cosmopedia v2 is an enhanced version of the original dataset, focusing on effective generation styles. Python-Edu contributes educational samples, while FineWeb-Edu offers deduplicated web samples.

This release highlights the growing interest in small language models capable of local operation, offering advantages in data privacy and cost reduction. Hugging Face's transparency in documenting data curation and training processes sets it apart from other models like Microsoft's Phi series and Alibaba's Qwen2.

The company recently announced its profitability with a team of 220 members while maintaining a largely “free (like model hosting) and open-source for the community!”

Hugging Face recently also unveiled a new open large language model (LLM) leaderboard, with Alibaba’s Qwen-72B model securing the top spot. The leaderboard ranks open-source LLMs based on extensive evaluations, including the MMLU-pro benchmark, which tests models on high school and college-level problems.

Membership

Stay ahead with AI insights.

Unlimited access to premium articles, exclusive analysis, and the stories shaping India's AI economy.

Subscribe now

AIM Americas

1190 Miraloma Way Suite P, Sunnyvale, CA 94085

AIM India

1st Floor, Sakti Statesman, Bellandur, Bengaluru – 560103

Β© 2026 AIM. All rights reserved.