Article complete

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.

Bowling pins scattered on a lane with a smiling emoji in the foreground, symbolizing competition and success.

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.

Takeaways drafted with AI from the article text.

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.

Published Updated

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

More in this story

Hugging Face · 5 stories
  1. Hugging Face Unveils Idefics2, an 8B Vision-Language Model
  2. Hugging Face and SambaNova Create One-Click Chatbot Integration for Developers
  3. You are here: Hugging Face Releases SmolLM, a Series of Small Language Models, Beats Qwen2 and Phi 1.5
  4. Birla AI Labs Launches Yug-1, a Time Series Foundation Model Built in India
  5. Hugging Face CEO Criticises Netflix Documentary on OpenAI Agent Cyberattack
About the author

Senior Technology Journalist

Siddharth is a media graduate who loves to explore tech through journalism and putting forward ideas worth pondering about in the era of artificial intelligence.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.