Text Generation
MLX
Safetensors
English
small-language-model
from-scratch
conversational
apple-silicon
research
Instructions to use OpenSML/Solstice-1-175M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OpenSML/Solstice-1-175M with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("OpenSML/Solstice-1-175M") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use OpenSML/Solstice-1-175M with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "OpenSML/Solstice-1-175M"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "OpenSML/Solstice-1-175M" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenSML/Solstice-1-175M", "messages": [ {"role": "user", "content": "Hello"} ] }' - Atomic Chat
Download docs/figures/pretraining-overview.png from OpenSML/Solstice-1-175M: direct link, hf CLI and curl.
- Browser
- Download file 158 kB
-
https://huggingface.co/OpenSML/Solstice-1-175M/resolve/main/docs/figures/pretraining-overview.png
- Command line
-
hf download hf://OpenSML/Solstice-1-175M/docs/figures/pretraining-overview.png
-
curl -L -o pretraining-overview.png https://huggingface.co/OpenSML/Solstice-1-175M/resolve/main/docs/figures/pretraining-overview.png
158 kB

- Xet hash:
- 9b7747acf5392c42f36bcb1800708ededdafe0d97e92e81d207911ef1d130490
- Size of remote file:
- 158 kB
- SHA256:
- ab172241620cbd05725620e8709bacf3828812e8c2b79db6e8062a26c8e45bf0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.