Text Generation
MLX
Safetensors
English
small-language-model
from-scratch
conversational
apple-silicon
research
Instructions to use OpenSML/Solstice-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OpenSML/Solstice-1 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") 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 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"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "OpenSML/Solstice-1" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenSML/Solstice-1", "messages": [ {"role": "user", "content": "Hello"} ] }' - Atomic Chat
Prepare Solstice-1 175M private release package
Browse filesMerged FP32 checkpoint, frozen tokenizer, native MLX runner, Apache-2.0 license, technical documentation, training provenance and benchmark evidence.
- .gitignore +0 -1
- FILE_MANIFEST.json +2 -2
- SHA256SUMS +1 -1
- model.safetensors +3 -0
.gitignore
CHANGED
|
@@ -2,5 +2,4 @@ __pycache__/
|
|
| 2 |
*.pyc
|
| 3 |
.venv/
|
| 4 |
.DS_Store
|
| 5 |
-
model.safetensors
|
| 6 |
*.zip
|
|
|
|
| 2 |
*.pyc
|
| 3 |
.venv/
|
| 4 |
.DS_Store
|
|
|
|
| 5 |
*.zip
|
FILE_MANIFEST.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
"format": "solstice-release-files-v1",
|
| 3 |
"files": {
|
| 4 |
".gitignore": {
|
| 5 |
-
"bytes":
|
| 6 |
-
"sha256": "
|
| 7 |
},
|
| 8 |
"BACKUP_AND_CLEANUP.md": {
|
| 9 |
"bytes": 730,
|
|
|
|
| 2 |
"format": "solstice-release-files-v1",
|
| 3 |
"files": {
|
| 4 |
".gitignore": {
|
| 5 |
+
"bytes": 42,
|
| 6 |
+
"sha256": "260d3301bac863ab1b0a29739ff5f5fee1a5ec2fa2dccdd03353f07bcf6292c2"
|
| 7 |
},
|
| 8 |
"BACKUP_AND_CLEANUP.md": {
|
| 9 |
"bytes": 730,
|
SHA256SUMS
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
f09ed498cc42b482dae88d9fb5026bf74e1d8b9187f9ea301aeda0db76d6c859 BACKUP_AND_CLEANUP.md
|
| 3 |
af646a190d135ec25a6ee2c76d1594c3f9ba8005cd3ca6df908606a15023273e CITATION.cff
|
| 4 |
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
|
|
|
| 1 |
+
260d3301bac863ab1b0a29739ff5f5fee1a5ec2fa2dccdd03353f07bcf6292c2 .gitignore
|
| 2 |
f09ed498cc42b482dae88d9fb5026bf74e1d8b9187f9ea301aeda0db76d6c859 BACKUP_AND_CLEANUP.md
|
| 3 |
af646a190d135ec25a6ee2c76d1594c3f9ba8005cd3ca6df908606a15023273e CITATION.cff
|
| 4 |
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b2d8777040f05d8e0849acac4e45013b2de3d72145c363cd22825e80115c515
|
| 3 |
+
size 696844242
|