SmolLM 135M Instruct by HuggingFaceTB

 ยป  All LLMs  ยป  HuggingFaceTB  ยป  SmolLM 135M Instruct   URL Share it on

  Alignment-handbook   Autotrain compatible Base model:huggingfacetb/smoll... Base model:quantized:huggingfa...   Conversational Dataset:bigcode/self-oss-instr... Dataset:huggingfacetb/everyday... Dataset:magpie-align/magpie-pr...   Dataset:teknium/openhermes-2.5   En   Endpoints compatible   Instruct   Llama   Onnx   Region:us   Safetensors   Sft   Trl

SmolLM 135M Instruct Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
SmolLM 135M Instruct (HuggingFaceTB/SmolLM-135M-Instruct)

SmolLM 135M Instruct Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
research, commercial applications
Applications:
General knowledge questions, Creative writing, Basic Python programming
Limitations:
English only, May have difficulty with arithmetics, editing tasks and complex reasoning
Considerations:
Use as assistive tools rather than definitive sources of information
Supported Languages 
en (proficient)
Training Details 
Data Sources:
Magpie-Align/Magpie-Pro-300K-Filtered, bigcode/self-oss-instruct-sc2-exec-filter-50k, teknium/OpenHermes-2.5, HuggingFaceTB/everyday-conversations-llama3.1-2k
Data Volume:
262k tokens per batch, 1 epoch
Methodology:
Fine-tuned on publicly available datasets
Input Output 
Input Format:
Messages as JSON with role and content fields.
Accepted Modalities:
text
Output Format:
Generated responses as text.
Performance Tips:
Use temperature 0.2 and top-p 0.9 for better sampling.
Release Notes 
Version:
v0.1
Notes:
Initial release. Fine-tuned with stated datasets and DPO.
Version:
v0.2
Notes:
Improved dataset mix for small models and changes in fine-tuning strategy for better topic coherence.
LLM NameSmolLM 135M Instruct
Repository ๐Ÿค—https://huggingface.co/HuggingFaceTB/SmolLM-135M-Instruct 
Base Model(s)  SmolLM 135M   HuggingFaceTB/SmolLM-135M
Model Size135m
Required VRAM0.3 GB
Updated2025-02-05
MaintainerHuggingFaceTB
Model Typellama
Instruction-BasedYes
Model Files  0.3 GB
Supported Languagesen
Model ArchitectureLlamaForCausalLM
Licenseapache-2.0
Context Length2048
Model Max Length2048
Transformers Version4.42.3
Tokenizer ClassGPT2Tokenizer
Padding Token<|im_end|>
Vocabulary Size49152
Torch Data Typebfloat16

Best Alternatives to SmolLM 135M Instruct

Best Alternatives
Context / RAM
Downloads
Likes
SmolLM2 135M Instruct8K / 0.3 GB9347197
Reasoning SmolLM2 135M8K / 0.5 GB52711
...wre324 R1 SmolLM2 135M Distill8K / 0.5 GB160
SmolLM2 135M Instruct8K / 0.3 GB8721
...molLM2 135M Instruct Reasoning8K / 0.3 GB70
Autotrain 0tmgq 5tpbg8K / 0.3 GB1370
...molLM2 135M Instruct Reasoning8K / 0.3 GB350
Smollm 135M Full Fineweb Is8K / 0.5 GB100
SmolLM2 Prompt Enhance8K / 0.5 GB1647
SmolLM2 135M Instruct8K / 0.3 GB1830
Note: green Score (e.g. "73.2") means that the model is better than HuggingFaceTB/SmolLM-135M-Instruct.

Rank the SmolLM 135M Instruct Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 42577 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241227