How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf psx7/llama1B
# Run inference directly in the terminal:
llama-cli -hf psx7/llama1B
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf psx7/llama1B
# Run inference directly in the terminal:
llama-cli -hf psx7/llama1B
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf psx7/llama1B
# Run inference directly in the terminal:
./llama-cli -hf psx7/llama1B
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf psx7/llama1B
# Run inference directly in the terminal:
./build/bin/llama-cli -hf psx7/llama1B
Use Docker
docker model run hf.co/psx7/llama1B
Quick Links

psx7/llama1B

The Model psx7/llama1B was converted to MLX format from mlx-community/Llama-3.2-1B-Instruct-bf16 using mlx-lm version 0.18.1.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("psx7/llama1B")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Downloads last month
584
Safetensors
Model size
1B params
Tensor type
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
Input a message to start chatting with psx7/llama1B.