Text Generation
MLX
Safetensors
English
base-model
pretrained
small-language-model
apple-silicon
from-scratch
research
Instructions to use OpenSML/OpenSML-Base-175M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OpenSML/OpenSML-Base-175M with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("OpenSML/OpenSML-Base-175M") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use OpenSML/OpenSML-Base-175M with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "OpenSML/OpenSML-Base-175M" --prompt "Once upon a time"
- Atomic Chat
Download PACKAGING_VERIFICATION.json from OpenSML/OpenSML-Base-175M: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/OpenSML/OpenSML-Base-175M/resolve/main/PACKAGING_VERIFICATION.json
- Command line
-
hf download hf://OpenSML/OpenSML-Base-175M/PACKAGING_VERIFICATION.json
-
curl -L -o PACKAGING_VERIFICATION.json https://huggingface.co/OpenSML/OpenSML-Base-175M/resolve/main/PACKAGING_VERIFICATION.json
1.03 kB
| { | |
| "model": "OpenSML-Base-175M", | |
| "date": "2026-10-14", | |
| "platform": "Apple Silicon macOS", | |
| "runtime": "Python 3.11; stock MLX 0.32.3; NumPy 2.4.2; Tokenizers 0.22.2", | |
| "weight_sha256": "5151567e266244c9e32fd6e01775192633abe227320269ecdefe28ce43e9ccc3", | |
| "weight_bytes": 351242342, | |
| "verified_weight_identity": true, | |
| "frozen_tokenizer_integrity": true, | |
| "source_bundle_integrity": true, | |
| "parameter_count": 175611648, | |
| "smoke": { | |
| "command": "python inference.py --prompt \"Plants need sunlight because\" --max-tokens 24 --json", | |
| "prompt_tokens": 5, | |
| "output_tokens": 24, | |
| "stop_reason": "token_limit", | |
| "completion": " it is the source of energy for all life on Earth.\n\nThe sun is the source of energy for all life", | |
| "scope": "Packaging smoke only. A plausible but repetitive continuation is not an accuracy measurement.", | |
| "matches_historical_prefix": true | |
| }, | |
| "documentation_update": "JSONLite descendant training lineage, scope and main-checkpoint evaluation; base weights unchanged." | |
| } | |