OLMo pretrain GGUFs
Collection
GGUFs of the final pretrain checkpoints of OLMo models. The /main branches of their base models are midtrain models, these use the last stage1 chkpt. • 2 items • Updated
How to use deltanym/OLMo-2-0325-32B-pre-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="deltanym/OLMo-2-0325-32B-pre-GGUF", filename="OLMo-2-0325-32B-IQ4_XS.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
How to use deltanym/OLMo-2-0325-32B-pre-GGUF with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS # Run inference directly in the terminal: llama-cli -hf deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS # Run inference directly in the terminal: llama-cli -hf deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS
# 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 deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS # Run inference directly in the terminal: ./llama-cli -hf deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS
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 deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS # Run inference directly in the terminal: ./build/bin/llama-cli -hf deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS
docker model run hf.co/deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS
How to use deltanym/OLMo-2-0325-32B-pre-GGUF with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "deltanym/OLMo-2-0325-32B-pre-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "deltanym/OLMo-2-0325-32B-pre-GGUF",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS
How to use deltanym/OLMo-2-0325-32B-pre-GGUF with Ollama:
ollama run hf.co/deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS
How to use deltanym/OLMo-2-0325-32B-pre-GGUF with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for deltanym/OLMo-2-0325-32B-pre-GGUF to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for deltanym/OLMo-2-0325-32B-pre-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for deltanym/OLMo-2-0325-32B-pre-GGUF to start chatting
How to use deltanym/OLMo-2-0325-32B-pre-GGUF with Docker Model Runner:
docker model run hf.co/deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS
How to use deltanym/OLMo-2-0325-32B-pre-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull deltanym/OLMo-2-0325-32B-pre-GGUF:IQ4_XS
lemonade run user.OLMo-2-0325-32B-pre-GGUF-IQ4_XS
lemonade list
GGUFs of stage1-step721901-tokens6056B, the final pretrain step of OLMo-2-0325-32B
4-bit
5-bit
6-bit
8-bit
Base model
allenai/OLMo-2-0325-32B