Safetensors
GGUF
English
Chinese
olmo3
physics
mathematics
spatial-reasoning
code-generation
ollama
lora
deepspeed
qlora
fine-tuning
Eval Results (legacy)
Instructions to use SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview", filename="model.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview # Run inference directly in the terminal: llama-cli -hf SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview # Run inference directly in the terminal: llama-cli -hf SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview
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 SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview # Run inference directly in the terminal: ./llama-cli -hf SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview
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 SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview # Run inference directly in the terminal: ./build/bin/llama-cli -hf SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview
Use Docker
docker model run hf.co/SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview
- LM Studio
- Jan
- Ollama
How to use SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview with Ollama:
ollama run hf.co/SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview
- Unsloth Studio new
How to use SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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 SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview to start chatting
Install Unsloth Studio (Windows)
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 SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview to start chatting
- Docker Model Runner
How to use SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview with Docker Model Runner:
docker model run hf.co/SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview
- Lemonade
How to use SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview
Run and chat with the model
lemonade run user.OLMo-32B-Spatial-Thinking-Preview-{{QUANT_TAG}}List all available models
lemonade list
| { | |
| "add_prefix_space": false, | |
| "added_tokens_decoder": { | |
| "100256": { | |
| "content": "<|extra_id_0|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100257": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100258": { | |
| "content": "<|fim_prefix|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100259": { | |
| "content": "<|fim_middle|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100260": { | |
| "content": "<|fim_suffix|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100261": { | |
| "content": "|||PHONE_NUMBER|||", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100262": { | |
| "content": "|||EMAIL_ADDRESS|||", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100263": { | |
| "content": "|||IP_ADDRESS|||", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100264": { | |
| "content": "<|im_start|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100265": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100266": { | |
| "content": "<functions>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100267": { | |
| "content": "</functions>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100268": { | |
| "content": "<function_calls>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100269": { | |
| "content": "</function_calls>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100270": { | |
| "content": "<|extra_id_1|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100271": { | |
| "content": "<|extra_id_2|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100272": { | |
| "content": "<|extra_id_3|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100273": { | |
| "content": "<|extra_id_4|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100274": { | |
| "content": "<|extra_id_5|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100275": { | |
| "content": "<|extra_id_6|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "100276": { | |
| "content": "<|endofprompt|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100277": { | |
| "content": "<|pad|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "<|endoftext|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "extra_special_tokens": {}, | |
| "model_max_length": 65536, | |
| "pad_token": "<|pad|>", | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "<|endoftext|>" | |
| } | |