Instructions to use gaianet/SmolLM-135M-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gaianet/SmolLM-135M-Instruct-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gaianet/SmolLM-135M-Instruct-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("gaianet/SmolLM-135M-Instruct-GGUF") model = AutoModelForCausalLM.from_pretrained("gaianet/SmolLM-135M-Instruct-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use gaianet/SmolLM-135M-Instruct-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf gaianet/SmolLM-135M-Instruct-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 gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf gaianet/SmolLM-135M-Instruct-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 gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use gaianet/SmolLM-135M-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gaianet/SmolLM-135M-Instruct-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gaianet/SmolLM-135M-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M
- SGLang
How to use gaianet/SmolLM-135M-Instruct-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "gaianet/SmolLM-135M-Instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gaianet/SmolLM-135M-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "gaianet/SmolLM-135M-Instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gaianet/SmolLM-135M-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use gaianet/SmolLM-135M-Instruct-GGUF with Ollama:
ollama run hf.co/gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use gaianet/SmolLM-135M-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M
- Lemonade
How to use gaianet/SmolLM-135M-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gaianet/SmolLM-135M-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.SmolLM-135M-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update models
Browse files- .gitattributes +13 -0
- SmolLM-135M-Instruct-Q2_K.gguf +3 -0
- SmolLM-135M-Instruct-Q3_K_L.gguf +3 -0
- SmolLM-135M-Instruct-Q3_K_M.gguf +3 -0
- SmolLM-135M-Instruct-Q3_K_S.gguf +3 -0
- SmolLM-135M-Instruct-Q4_0.gguf +3 -0
- SmolLM-135M-Instruct-Q4_K_M.gguf +3 -0
- SmolLM-135M-Instruct-Q4_K_S.gguf +3 -0
- SmolLM-135M-Instruct-Q5_0.gguf +3 -0
- SmolLM-135M-Instruct-Q5_K_M.gguf +3 -0
- SmolLM-135M-Instruct-Q5_K_S.gguf +3 -0
- SmolLM-135M-Instruct-Q6_K.gguf +3 -0
- SmolLM-135M-Instruct-Q8_0.gguf +3 -0
- SmolLM-135M-Instruct-f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,16 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
SmolLM-135M-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
SmolLM-135M-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
SmolLM-135M-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
SmolLM-135M-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
SmolLM-135M-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
SmolLM-135M-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
SmolLM-135M-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
SmolLM-135M-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
SmolLM-135M-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
SmolLM-135M-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
SmolLM-135M-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
SmolLM-135M-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
SmolLM-135M-Instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
SmolLM-135M-Instruct-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2dadcdb51a384f161d18fefa3d3b8ce779c4b603e2538b6d2bd4ea1edb64e803
|
| 3 |
+
size 88201632
|
SmolLM-135M-Instruct-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f03427add41f462f156686ad391ef099d2f6c109076c1663474fb99e0ca2f91
|
| 3 |
+
size 97532832
|
SmolLM-135M-Instruct-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23671e180d537206f2e8320e7143bcc886680145b572f953b6d775f349134dbb
|
| 3 |
+
size 93510048
|
SmolLM-135M-Instruct-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1852508d0198841efcf10e9f0b82f1873c783395f7a2ff9a5b92817ec13c76dd
|
| 3 |
+
size 88201632
|
SmolLM-135M-Instruct-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a637fd6dcfd1b1333779ce2db780996cf4ed2a64aa0f9f6be0bb46689eb232a1
|
| 3 |
+
size 91726752
|
SmolLM-135M-Instruct-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30a78b6b6b6130a32a704f32ad589e69790ac4e2772bf43dbd2ebdbe0b52788a
|
| 3 |
+
size 105453984
|
SmolLM-135M-Instruct-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a506d580580c1c863d4a1543e687cf52a37f910e6d737adaead146889379c22a
|
| 3 |
+
size 102039456
|
SmolLM-135M-Instruct-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68713695f85541015d5fa4d1aeefc048442b2be16ab4eb7cfa4dd644e07f6894
|
| 3 |
+
size 104997792
|
SmolLM-135M-Instruct-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d35441dc49d70b6e85dab9b938148063aa1de30479c16f2ceb47358083a6af1
|
| 3 |
+
size 112103328
|
SmolLM-135M-Instruct-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6d1353c091d5c71f93e02f7af31fa374622b18e19da6578a85e50e51fa8ae20
|
| 3 |
+
size 109974432
|
SmolLM-135M-Instruct-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc5f88c03e6cb8f4aa9dd0c76c1b67c6ab754072ecfdfab263d89f3f75553f75
|
| 3 |
+
size 138382752
|
SmolLM-135M-Instruct-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76520babb0daebccb6e17d2f38504ece61356a0ca958d8e8795ef4d23c23c1f0
|
| 3 |
+
size 144810912
|
SmolLM-135M-Instruct-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fc02c21fba7874b15955d21dc59182aeae382abea412419ffd2fbaa84861790
|
| 3 |
+
size 270885792
|