Instructions to use AssistantsLab/SmolLM2-135M-humanized_GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use AssistantsLab/SmolLM2-135M-humanized_GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="AssistantsLab/SmolLM2-135M-humanized_GGUF", filename="smollm2-135m-humanized-q2_k.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use AssistantsLab/SmolLM2-135M-humanized_GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M
Use Docker
docker model run hf.co/AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use AssistantsLab/SmolLM2-135M-humanized_GGUF with Ollama:
ollama run hf.co/AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M
- Unsloth Studio new
How to use AssistantsLab/SmolLM2-135M-humanized_GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for AssistantsLab/SmolLM2-135M-humanized_GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for AssistantsLab/SmolLM2-135M-humanized_GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for AssistantsLab/SmolLM2-135M-humanized_GGUF to start chatting
- Docker Model Runner
How to use AssistantsLab/SmolLM2-135M-humanized_GGUF with Docker Model Runner:
docker model run hf.co/AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M
- Lemonade
How to use AssistantsLab/SmolLM2-135M-humanized_GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AssistantsLab/SmolLM2-135M-humanized_GGUF:Q4_K_M
Run and chat with the model
lemonade run user.SmolLM2-135M-humanized_GGUF-Q4_K_M
List all available models
lemonade list
Introduction
This repo contains the humanized 135M SmolLM2 model in the GGUF Format
- Quantization: q2_K, q3_K_S, q3_K_M, q3_K_L, q4_0, q4_K_S, q4_K_M, q5_0, q5_K_S, q5_K_M, q6_K, q8_0
More about this model
- We released a 135M, 360M and 1.7B parameter version of this model. For more information, view our report.
Quickstart
We advise you to clone llama.cpp and install it following the official guide. We follow the latest version of llama.cpp.
In the following demonstration, we assume that you are running commands under the repository llama.cpp.
Since cloning the entire repo may be inefficient, you can manually download the GGUF file that you need or use huggingface-cli:
- Install
pip install -U huggingface_hub - Download:
huggingface-cli download AssistantsLab/SmolLM2-135M-humanized_GGUF smollm2-135m-humanized-q4_k_m.gguf --local-dir . --local-dir-use-symlinks False
Quants
| Filename | Quant type | File Size |
|---|---|---|
| smollm2-135m-humanized-q2_k.gguf | Q2_K | 88.2MB |
| smollm2-135m-humanized-q3_k_s.gguf | Q3_K_S | 88.2MB |
| smollm2-135m-humanized-q3_k_m.gguf | Q3_K_M | 93.5MB |
| smollm2-135m-humanized-q3_k_l.gguf | Q3_K_L | 97.5MB |
| smollm2-135m-humanized-q4_0.gguf | Q4_0 | 91.7MB |
| smollm2-135m-humanized-q4_k_s.gguf | Q4_K_S | 102MB |
| smollm2-135m-humanized-q4_k_m.gguf | Q4_K_M | 105MB |
| smollm2-135m-humanized-q5_0.gguf | Q5_0 | 105MB |
| smollm2-135m-humanized-q5_k_s.gguf | Q5_K_S | 110MB |
| smollm2-135m-humanized-q5_k_m.gguf | Q5_K_M | 112MB |
| smollm2-135m-humanized-q6_k.gguf | Q6_K | 138MB |
| smollm2-135m-humanized-q8_0.gguf | Q8_0 | 145MB |
More information
For more information about this model, please visit the original model here.
License
Citation
SmolLM2:
@misc{allal2024SmolLM2,
title={SmolLM2 - with great data, comes great performance},
author={Loubna Ben Allal and Anton Lozhkov and Elie Bakouch and Gabriel Martín Blázquez and Lewis Tunstall and Agustín Piqueres and Andres Marafioti and Cyril Zakka and Leandro von Werra and Thomas Wolf},
year={2024},
}
Human-Like-DPO-Dataset:
@misc{çalık2025enhancinghumanlikeresponseslarge,
title={Enhancing Human-Like Responses in Large Language Models},
author={Ethem Yağız Çalık and Talha Rüzgar Akkuş},
year={2025},
eprint={2501.05032},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2501.05032},
}
UltraFeedback dataset:
@misc{cui2023ultrafeedback,
title={UltraFeedback: Boosting Language Models with High-quality Feedback},
author={Ganqu Cui and Lifan Yuan and Ning Ding and Guanming Yao and Wei Zhu and Yuan Ni and Guotong Xie and Zhiyuan Liu and Maosong Sun},
year={2023},
eprint={2310.01377},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
- Downloads last month
- 107
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit