Instructions to use masahiroid/pythia-160m-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use masahiroid/pythia-160m-mlx 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("masahiroid/pythia-160m-mlx") 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 masahiroid/pythia-160m-mlx with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "masahiroid/pythia-160m-mlx" --prompt "Once upon a time"
- Atomic Chat
pythia-160m-mlx
ζ₯ζ¬θͺηγ―γγ‘γ (README.ja.md)
Model Summary
This is an MLX conversion of
EleutherAI/pythia-160m,
part of EleutherAI's Pythia suite -- a set of models trained with identical
data ordering and architecture across scales, designed for interpretability
and scientific research into LLM training dynamics.
This is an unofficial, community-produced conversion. All credit for the base model goes to EleutherAI.
Usage
pip install -U mlx-lm
mlx_lm.generate --model masahiroid/pythia-160m-mlx --prompt "The history of artificial intelligence began" --max-tokens 200
from mlx_lm import load, generate
model, tokenizer = load("masahiroid/pythia-160m-mlx")
response = generate(model, tokenizer, prompt="The history of artificial intelligence began", max_tokens=200, verbose=True)
print(response)
Note: this is a base model (not instruction-tuned), so it continues text rather than following chat-style instructions.
Specs
| Item | Value |
|---|---|
| Base model | EleutherAI/pythia-160m (160M parameters) |
| Precision | float16 |
| Framework | MLX |
| Peak memory (tested) | ~0.35 GB |
Notes
- This is a community conversion, not an official release from EleutherAI.
Security
Audited against its upstream with model-audit-lite: weight format, bundled code, and a machine-readable lineage (ML-BOM). Details, checksums and how to reproduce: SECURITY.md.
- Downloads last month
- 544
Quantized
Model tree for masahiroid/pythia-160m-mlx
Base model
EleutherAI/pythia-160m