Mindket

SmolLM2-360M-Instruct

Newversion 1 · updated

Overview

Answers chat-style questions and handles rewriting and summaries with a 362M-parameter instruction-tuned model that runs on modest hardware. For developers who want a small chat model with a bit more headroom than 135M.

SmolLM2-360M-Instruct is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip
  • The transformers library, plus accelerate if you use several GPUs
  • About 724 MB for the BF16 weights, or about 181 MB at 4-bit by estimate
Runs in
  • Python scripts with the transformers library, on CPU or GPU
  • The TRL command line, to chat from a terminal
  • Windows, macOS or Linux with Python
Start with
pip install transformers

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

SmolLM2-360M-Instruct is the chat-tuned version of the 360M model in the SmolLM2 family. It starts from the 360M base model, which saw 4 trillion training tokens. The team then added supervised fine-tuning on public and curated datasets and a Direct Preference Optimization pass. It reads chat messages and replies in English.

Who it suits

It suits developers who want a small assistant model that fits on a laptop or a modest GPU and who can live with short, simple answers.

IndustryWho uses itHow they use itExample
SoftwareApp developersEmbed a small assistant that runs locallyA writing helper inside a desktop tool
Content toolsProduct teamsReword or shorten text without a cloud callCondensing a note into two lines
EducationTeachers and studentsExplore how chat templates and sampling workA demo comparing temperature settings
ResearchML researchersFine-tune a compact instruction modelAdapting it to a company's tone

Skip it if you need dependable facts or arithmetic, since small models of this size make many mistakes.

Where to use it

  • Python scripts with the transformers library, on CPU or GPU
  • The TRL command line, to chat from a terminal
  • Windows, macOS or Linux with Python
Use caseWhoWhat they get back
Question answeringDevelopersA short reply to a chat message
Rewriting and summariesContent teamsReworded or condensed text, which the card lists as supported
Terminal chatHobbyistsA session you start with one command

How to set it up

You need these first.

  • Python with pip
  • The transformers library, plus accelerate if you use several GPUs
  • About 724 MB for the BF16 weights, or about 181 MB at 4-bit by estimate
  1. Install the transformers library with pip.
  2. Load the model by its Hugging Face name.
  3. Put your message in a list, apply the chat template and generate.
pip install transformers
pip install -U huggingface_hub
hf download HuggingFaceTB/SmolLM2-360M-Instruct

How to use it

Pass your messages through the chat template, then generate with the low-temperature settings the card uses. For a terminal chat, install TRL and run its chat command pointed at this model.

from transformers import AutoModelForCausalLM, AutoTokenizer
checkpoint = "HuggingFaceTB/SmolLM2-360M-Instruct"

device = "cuda" # for GPU usage or "cpu" for CPU usage
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
# for multiple GPUs install accelerate and do `model = AutoModelForCausalLM.from_pretrained(checkpoint, device_map="auto")`
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)

messages = [{"role": "user", "content": "What is the capital of France."}]
input_text=tokenizer.apply_chat_template(messages, tokenize=False)
print(input_text)
inputs = tokenizer.encode(input_text, return_tensors="pt").to(device)
outputs = model.generate(inputs, max_new_tokens=50, temperature=0.2, top_p=0.9, do_sample=True)
print(tokenizer.decode(outputs[0]))
pip install trl
trl chat --model_name_or_path HuggingFaceTB/SmolLM2-360M-Instruct --device cpu
ToolWhat it does
apply_chat_templateFormats your messages the way the model expects
model.generateProduces the reply, here capped at 50 new tokens
trl chatOpens an interactive chat in the terminal

Example

Send the single message asking for the capital of France. With a temperature of 0.2 the model gives a short, steady reply and the script prints the prompt followed by that reply. The terminal chat command lets you keep asking follow-ups.

For newcomers and experts

If you are new, this is the SmolLM2 size you can chat with. Start with the TRL command on CPU, ask one plain question and judge the reply length. Keep expectations modest for a model this small.

If you know the field, the card scores the base model above Qwen2.5-0.5B on HellaSwag, ARC, PIQA and TriviaQA, while Qwen2.5-0.5B is far ahead on GSM8K. Function calling is listed only for the 1.7B sibling. The card's Transformers.js example loads the 135M model by name, so swap in this model's name if you use it.

  1. SmolLM2-360M base model
  2. Supervised fine-tuning on chat data
  3. DPO on preference data
  4. Chat template formats your messages
  5. Model writes the reply

Good to know

  • Language: English only
  • Size: 362M parameters in Safetensors
  • Family: 135M and 1.7B siblings exist
  • Community: other people have made 139 quantized and 200 fine-tuned versions
  • License: Apache 2.0
  • Cost to run: none named, the source lists no API key, account or paid service
  • Data it reaches: the messages you give your own script, and the source names no web or account access
  • Not for: function calling or arithmetic, since the card ties function calling to the 1.7B size and the base model scores 3.2 on GSM8K

README and files

README

SmolLM2-360M-Instruct

Answers chat-style questions and handles rewriting and summaries with a 362M-parameter instruction-tuned model that runs on modest hardware. For developers who want a small chat model with a bit more headroom than 135M.

Made by HuggingFaceTB on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: SmolLM2-360M-Instruct is the chat-tuned version of the 360M model in the SmolLM2 family. It starts from the 360M base model, which saw 4 trillion training tokens. The team then added supervised fine-tuning on public and curated datasets and a Direct Preference Optimization pass. It reads chat messages and replies in English.

Who it suits: It suits developers who want a small assistant model that fits on a laptop or a modest GPU and who can live with short, simple answers.

Industry | Who uses it | How they use it | Example
Software | App developers | Embed a small assistant that runs locally | A writing helper inside a desktop tool
Content tools | Product teams | Reword or shorten text without a cloud call | Condensing a note into two lines
Education | Teachers and students | Explore how chat templates and sampling work | A demo comparing temperature settings
Research | ML researchers | Fine-tune a compact instruction model | Adapting it to a company's tone

Skip it if you need dependable facts or arithmetic, since small models of this size make many mistakes.

Where to use it:

  • Python scripts with the transformers library, on CPU or GPU
  • The TRL command line, to chat from a terminal
  • Windows, macOS or Linux with Python
Use case | Who | What they get back
Question answering | Developers | A short reply to a chat message
Rewriting and summaries | Content teams | Reworded or condensed text, which the card lists as supported
Terminal chat | Hobbyists | A session you start with one command

How to set it up: You need these first.

  • Python with pip
  • The transformers library, plus accelerate if you use several GPUs
  • About 724 MB for the BF16 weights, or about 181 MB at 4-bit by estimate
  1. Install the transformers library with pip.
  2. Load the model by its Hugging Face name.
  3. Put your message in a list, apply the chat template and generate.
pip install transformers
pip install -U huggingface_hub
hf download HuggingFaceTB/SmolLM2-360M-Instruct

How to use it: Pass your messages through the chat template, then generate with the low-temperature settings the card uses. For a terminal chat, install TRL and run its chat command pointed at this model.

from transformers import AutoModelForCausalLM, AutoTokenizer
checkpoint = "HuggingFaceTB/SmolLM2-360M-Instruct"

device = "cuda" # for GPU usage or "cpu" for CPU usage
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
# for multiple GPUs install accelerate and do `model = AutoModelForCausalLM.from_pretrained(checkpoint, device_map="auto")`
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)

messages = [{"role": "user", "content": "What is the capital of France."}]
input_text=tokenizer.apply_chat_template(messages, tokenize=False)
print(input_text)
inputs = tokenizer.encode(input_text, return_tensors="pt").to(device)
outputs = model.generate(inputs, max_new_tokens=50, temperature=0.2, top_p=0.9, do_sample=True)
print(tokenizer.decode(outputs[0]))
pip install trl
trl chat --model_name_or_path HuggingFaceTB/SmolLM2-360M-Instruct --device cpu
Tool | What it does
apply_chat_template | Formats your messages the way the model expects
model.generate | Produces the reply, here capped at 50 new tokens
trl chat | Opens an interactive chat in the terminal

Example: Send the single message asking for the capital of France. With a temperature of 0.2 the model gives a short, steady reply and the script prints the prompt followed by that reply. The terminal chat command lets you keep asking follow-ups.

For newcomers and experts: If you are new, this is the SmolLM2 size you can chat with. Start with the TRL command on CPU, ask one plain question and judge the reply length. Keep expectations modest for a model this small.

If you know the field, the card scores the base model above Qwen2.5-0.5B on HellaSwag, ARC, PIQA and TriviaQA, while Qwen2.5-0.5B is far ahead on GSM8K. Function calling is listed only for the 1.7B sibling. The card's Transformers.js example loads the 135M model by name, so swap in this model's name if you use it.

SmolLM2-360M base model
Supervised fine-tuning on chat data
DPO on preference data
Chat template formats your messages
Model writes the reply

Good to know:

  • Language: English only
  • Size: 362M parameters in Safetensors
  • Family: 135M and 1.7B siblings exist
  • Community: other people have made 139 quantized and 200 fine-tuned versions
  • License: Apache 2.0
  • Cost to run: none named, the source lists no API key, account or paid service
  • Data it reaches: the messages you give your own script, and the source names no web or account access
  • Not for: function calling or arithmetic, since the card ties function calling to the 1.7B size and the base model scores 3.2 on GSM8K

On Hugging Face, 13 November 2026

  • Task: text generation
  • Library: transformers
  • Parameters: 362M
  • Weights: about 724 MB in BF16; about 181 MB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 221,273
  • Likes: 244
  • License: apache-2.0
  • Languages: en
  • Based on: HuggingFaceTB/SmolLM2-360M
  • Quantized versions: 138
  • Fine-tunes: 200
  • Tags: transformers, tensorboard, onnx, safetensors, llama, text-generation, transformers.js, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download HuggingFaceTB/SmolLM2-360M-Instruct

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
SmolLM2-360M-Instruct This page221,273244362Mapache-2.0
SmolLM2-135M-InstructShares tensorboard · transformers.js · llama841,106474135Mapache-2.0
SmolLM2-1.7B-InstructShares tensorboard · transformers.js · llama267,5197721.7Bapache-2.0
Distil-Whisper distil-large-v3Shares tensorboard · transformers.js · onnx754,155386756Mmit
nomic-embed-text-v1.5Shares transformers.js · onnx · transformers11,809,681994137Mapache-2.0
OpenAI Privacy FilterShares transformers.js · onnx · transformers102,9111,8311.4Bapache-2.0
Numbers as Mindket last read them, on 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

upscaler

uwg · Kit

Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…

New

Pixel Art XL

nerijs · Kit

A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…

New

VibeVoice-1.5B

microsoft · Kit

Turns written conversations into spoken audio with up to four speakers and about 90 minutes of speech, an open Microsoft text-to-speech model for research on p…

New

Similar in Developer

See all in Developer

voicetut-egyptian-tashkeel

masterofaudio2077 · Kit

Reads Egyptian Arabic text aloud and follows the short vowel marks you write into it. A fine-tune of VoiceTut-TTS that keeps its 19 built-in voices and voice c…

New

Runs Meta's Llama 3.1 8B Instruct chat model in 4-bit AWQ form, so it fits on a GPU with about 4 GiB of free memory for the weights. For developers who want a…

New

Ru-Jev

besktech · Kit

Scores a Russian-first decision from a context and a list of options, giving a probability for yes/no, choice or rating questions. Runs on a plain CPU, for tea…

New