Instructions to use johnsmith968530/allenai-Olmo-3-7B-Think-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use johnsmith968530/allenai-Olmo-3-7B-Think-MLX-8bit 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("johnsmith968530/allenai-Olmo-3-7B-Think-MLX-8bit") 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 johnsmith968530/allenai-Olmo-3-7B-Think-MLX-8bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "johnsmith968530/allenai-Olmo-3-7B-Think-MLX-8bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "johnsmith968530/allenai-Olmo-3-7B-Think-MLX-8bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "johnsmith968530/allenai-Olmo-3-7B-Think-MLX-8bit", "messages": [ {"role": "user", "content": "Hello"} ] }'
johnsmith968530/allenai-Olmo-3-7B-Think-MLX-8bit
This model johnsmith968530/allenai-Olmo-3-7B-Think-MLX-8bit was converted to MLX format from allenai/Olmo-3-7B-Think using mlx-lm version 0.28.3.
export MODEL1_MAJOR="allenai"
export MODEL1_MINOR="Olmo-3-7B-Think"
export MODEL1_Q_BITS="8"
export MODEL1_SD="$(stardate)"
echodo () { echo "$@" && "$@"; }
mkdir -p /tmp/mlx_lm/convert
echodo time mlx_lm.convert \
--hf-path "$MODEL1_MAJOR/$MODEL1_MINOR" \
--mlx-path "/tmp/mlx_lm/convert/$MODEL1_SD" \
--quantize \
--q-bits "$MODEL1_Q_BITS" \
--upload-repo \
"johnsmith968530/$MODEL1_MAJOR-$MODEL1_MINOR-MLX-${MODEL1_Q_BITS}bit"
- Downloads last month
- 15
Model size
7B params
Tensor type
BF16
·
U32 ·
Hardware compatibility
Log In to add your hardware
8-bit
Model tree for johnsmith968530/allenai-Olmo-3-7B-Think-MLX-8bit
Base model
allenai/Olmo-3-1025-7B Finetuned
allenai/Olmo-3-7B-Think-SFT Finetuned
allenai/Olmo-3-7B-Think-DPO Finetuned
allenai/Olmo-3-7B-Think