Text Generation
MLX
Safetensors
English
Hungarian
bitnet
b1.58
ternary
quantization
apple-silicon
llm
sovereign
Instructions to use PeetPedro/quantal-ternary with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use PeetPedro/quantal-ternary 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("PeetPedro/quantal-ternary") 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 PeetPedro/quantal-ternary with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "PeetPedro/quantal-ternary" --prompt "Once upon a time"
- Atomic Chat
Download m017.json from PeetPedro/quantal-ternary: direct link, hf CLI and curl.
- Browser
- Download file 790 kB
-
https://huggingface.co/PeetPedro/quantal-ternary/resolve/main/m017.json
- Command line
-
hf download hf://PeetPedro/quantal-ternary/m017.json
-
curl -L -o m017.json https://huggingface.co/PeetPedro/quantal-ternary/resolve/main/m017.json
790 kB
File too large to display, you can check the raw version instead.