SAVRN
Search Contact SAVRN

Open-weight model · Text generation

tuned-SmolLM2-135M-Instruct-test-s

by Zied Ben hadj Amor mrbhazied/tuned-SmolLM2-135M-Instruct-test-s

tuned-SmolLM2-135M-Instruct-test-s is an open-weight model for text generation from Zied Ben hadj Amor, released under Apache License 2.0. It has 135M parameters and a 8,192-token context. At 16-bit it needs about 0.3 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index. It draws 48 downloads a month.

This model is a fine-tuned version of HuggingFaceTB/SmolLM2-135M-Instruct on an unknown dataset.

Parameters135M
Context8,192
Weights269.1 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads48

Runs On

What it takes to serve tuned-SmolLM2-135M-Instruct-test-s (135M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.3 GB 0.3 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.1 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 9, 2026.

tuned-SmolLM2-135M-Instruct-test-s on every accelerator the SAVRN Index prices, at every precision

Model Card

By Zied Ben hadj Amor, published under apache-2.0, revision e4c37d7e5765.

This model is a fine-tuned version of HuggingFaceTB/SmolLM2-135M-Instruct on an unknown dataset. The following hyperparameters were used during training: - learningrate: 2e-05 - trainbatchsize: 1 - evalbatchsize: 1 - gradientaccumulationsteps: 4 - totaltrainbatchsize: 4 - lrschedulertype: linear - numepochs: 1 - Transformers 5.17.0 - Pytorch 2.11.0+cu130 - Datasets 4.8.5 - Tokenizers 0.23.2

Read Zied Ben hadj Amor's full model card

This model is a fine-tuned version of HuggingFaceTB/SmolLM2-135M-Instruct on an unknown dataset.

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training: - learning_rate: 2e-05 - train_batch_size: 1 - eval_batch_size: 1 - seed: 42 - gradient_accumulation_steps: 4 - total_train_batch_size: 4 - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments - lr_scheduler_type: linear - num_epochs: 1

Training results

Training Loss Epoch Step Validation Loss
No log 1.0 45 1.2672

Framework versions

  • Transformers 5.17.0
  • Pytorch 2.11.0+cu130
  • Datasets 4.8.5
  • Tokenizers 0.23.2

Configuration

Architecture
LlamaForCausalLM
Context length (tokens)
8,192
Layers
30
Hidden size
576
Feed-forward size
1,536
Attention heads
9
Key/value heads
3
Head dimension
64
Vocabulary size
49,152
Model type
llama

Identity and Version

Repository
mrbhazied/tuned-SmolLM2-135M-Instruct-test-s
Publisher
Zied Ben hadj Amor
Task
Text generation
Modality
Text
Library
transformers
Parameters
135M parameters
Languages
Not stated by the source
Revision
e4c37d7e57656840a22a24efe0e856811033ba51
First published
2026-10-03
Last updated
2026-10-04

Files and Weights

9 files, 272.6 MB in total. The weights are 2 files totalling 269.1 MB in bin, safetensors.

Weights2 files · 269.1 MB
Configuration2 files · 1.0 KB
Tokenizer2 files · 3.5 MB
Documentation1 file · 1.5 KB
Other1 file · 368 B
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights269.1 MB c2875c071901
training_args.binWeights5.3 KB 665a3068d3e7
config.jsonConfiguration907 B —
generation_config.jsonConfiguration142 B —
README.mdDocumentation1.5 KB —
chat_template.jinjaOther368 B —
.gitattributesRepository1.5 KB —
tokenizer.jsonTokenizer3.5 MB —
tokenizer_config.jsonTokenizer453 B —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
269.1 MB
Download from Zied Ben hadj Amor

Released by Zied Ben hadj Amor through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published269.1 MB
16-bit0.3 GB
8-bit0.1 GB
4-bit0.1 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About tuned-SmolLM2-135M-Instruct-test-s

How much GPU memory does tuned-SmolLM2-135M-Instruct-test-s need?

About 0.3 GB at 16-bit and 0.1 GB at 4-bit: the weights (135M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run tuned-SmolLM2-135M-Instruct-test-s on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use tuned-SmolLM2-135M-Instruct-test-s commercially?

Yes. tuned-SmolLM2-135M-Instruct-test-s is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is tuned-SmolLM2-135M-Instruct-test-s's context length?

8,192 tokens, from the maximum position embeddings in its published configuration.

Similar Models

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. More details in our paper: https://arxiv.org/abs/2502.02737 SmolLM2 demonstrates significant advances over its predecessor SmolLM1, particularly in instruction following, knowledge, reasoning. The 135M model was trained on 2 trillion tokens using a diverse dataset combination: FineWeb-Edu, DCLM, The Stack, along with new filtered datasets we curated and will release soon. We developed the instruct version through supervised fine-tuning (SFT) using a combination of public datasets and our…

Open weights apache-2.0 135M parameters 8,192 tokens transformers

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. More details in our paper https://arxiv.org/abs/2502.02737 SmolLM2 demonstrates significant advances over its predecessor SmolLM1, particularly in instruction following, knowledge, reasoning. The 135M model was trained on 2 trillion tokens using a diverse dataset combination: FineWeb-Edu, DCLM, The Stack, along with new filtered datasets 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…

Open weights apache-2.0 135M parameters 8,192 tokens transformers

Model · Text generation

gpt2

OpenAI community

Test the whole generation capabilities here: https://transformer.huggingface.co/doc/gpt2-large Pretrained model on English language using a causal language modeling (CLM) objective. It was introduced in and first released at this page. model. Content from this model card has been written by the Hugging Face team to complete the information they provided and give specific examples of bias. GPT-2 is a transformers model pretrained on a very large corpus of English data in a self-supervised fashion. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs…

Open weights mit 137M parameters transformers

Model · Text generation

sabiyarn-32k

Jeffrey Paul

This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

Open weights 128M parameters transformers

This model is a custom-code derivative of AxiomicLabs/GPT-X2-125M, adapted for experimental long-context causal language modeling and architecture research. The repository includes a Hugging Face Transformers-compatible GPT-X2 implementation with optional Symplectic Metric-RoPE Governor support and training utilities built around CIxOpt, a heterogeneous optimizer developed for efficient parameter routing across large projection matrices, sensitive normalization parameters, and optional governor modules. The model is intended as a research checkpoint for compact long-context generation, positional encoding experiments, optimizer testing, and continued fine-tuning. This implementation uses a…

Open weights apache-2.0 126M parameters 32,768 tokens transformers

Model · Text generation

Haidass-Translate-143M

DALab

English | 中文 A 143M-parameter bidirectional Chinese↔English translation model, instruction-tuned on the Haidass1.5-143M base — the strongest zh⇄en translator at this scale among general chat-architecture models. Drafter-143M: a control model with identical configuration, data and training recipe, except that it starts from random initialization instead of the pretrained base — used to quantify the contribution of base-model pretraining. OPUS-MT models are single-directional — one independent 78M model per direction; "-" marks directions a model does not serve. The same models re-evaluated on FLORES+ devtest (released 2026; zero overlap with dev): devtest sentences do not overlap with dev.…

Open weights apache-2.0 143M parameters 4,096 tokens