SmolLM2 Docker Image
为速度、边缘设备和本地开发构建的小型语言模型
Finetune SmolLM2, Llama 3.2, Gemma 2, Mistral 2-5x faster with 70% less memory via Unsloth!
We have a free Google Colab Tesla T4 notebook for Llama 3.2 (3B) here: https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing
unsloth/SmolLM2-1.7B-Instruct-GGUF
For more details on the model, please go to Hugging Face's original https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct
✨ Finetune for Free
All notebooks are beginner friendly! Add your dataset, click "Run All", and you'll get a 2x faster finetuned model which can be exported to GGUF, vLLM or uploaded to Hugging Face.
| Unsloth supports | Free Notebooks | Performance | Memory use |
|---|---|---|---|
| Llama-3.2 (3B) | https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing | 2.4x faster | 58% less |
| Llama-3.2 (11B vision) | https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing | 2.4x faster | 58% less |
| Llama-3.1 (8B) | https://colab.research.google.com/drive/1Ys44kVvmeZtnICzWz0xgpRnrIOjZAuxp?usp=sharing | 2.4x faster | 58% less |
| Phi-3.5 (mini) | https://colab.research.google.com/drive/1lN6hPQveB_mHSnTOYifygFcrO8C1bxq4?usp=sharing | 2x faster | 50% less |
| Gemma 2 (9B) | https://colab.research.google.com/drive/1vIrqH5uYDQwsJ4-OO3DErvuv4pBgVwk4?usp=sharing | 2.4x faster | 58% less |
| Mistral (7B) | https://colab.research.google.com/drive/1Dyauq4kTZoLewQ1cApceUQVNcnnNTzg_?usp=sharing | 2.2x faster | 62% less |
| DPO - Zephyr | https://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing | 1.9x faster | 19% less |
- This https://colab.research.google.com/drive/1Aau3lgPzeZKQ-98h69CCu1UJcvIBLmy2?usp=sharing is useful for ShareGPT ChatML / Vicuna templates.
- This https://colab.research.google.com/drive/1ef-tab5bhkvWmBOObepl1WgJvfvSzn5Q?usp=sharing is for raw text. This https://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing replicates Zephyr.
- * Kaggle has 2x T4s, but we use 1. Due to overhead, 1x T4 is 5x faster.
Special Thanks
A huge thank you to the Hugging Face team for creating and releasing these models.
Model Summary
SmolLM2 is a family of compact language models available in three size: 135M, 360M, and 1.7B parameters. They are capable of solving a wide range of tasks while being lightweight enough to run on-device.
The 1.7B variant demonstrates significant advances over its predecessor SmolLM1-1.7B, particularly in instruction following, knowledge, reasoning, and mathematics. It was trained on 11 trillion tokens using a diverse dataset combination: FineWeb-Edu, DCLM, The Stack, along with new mathematics and coding datasets that we curated and will release soon. We developed the instruct version through supervised fine-tuning (SFT) using a combination of public datasets and our own curated datasets. We then applied Direct Preference Optimization (DPO) using https://huggingface.co/datasets/HuggingFaceH4/ultrafeedback_binarized.
The instruct model additionally supports tasks such as text rewriting, summarization and function calling thanks to datasets developed by https://huggingface.co/argilla such as https://huggingface.co/datasets/argilla/Synth-APIGen-v0.1.
SmolLM2
ai 命名空间的其他可用镜像:
ai/qwen3
ai/deepseek-r1-distill-llama
ai/qwen3-embedding
ai/qwen3-vl
ai/qwen3-vllm
ai/qwen3-embedding-vllm
更多相关 Docker 镜像与资源
以下是 ai/smollm2 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务