Instructions to use SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SwayingWheatfield/OLMo-32B-Spatial-Thinking-Preview with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -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 serve -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
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
- Atomic Chat
π Askit-OLMo-32B-Spatial-Thinking-Preview
AI-Powered Physics Simulation & Mathematical Animation Generation
Explicit Spatial Reasoning + API-Centric Code Generation
β¨ What Makes Askit Special?
Askit-OLMo-32B-Spatial-Thinking-Preview is not just another code generation model. It's a spatial reasoning specialist that thinks in 3D coordinates before writing code.
Key Features: β Forced Spatial Cognition: Every problem decomposed into 3D coordinates β API-Centric Reasoning: Physics principles β PhysicsBridge API calls β Explicit Reasoning: Complete thinking chain visible in output β Competition-Ready: Optimized for CPhO & IMO level problems
π οΈ Ecosystem & Integration
π± Official Software
π» GitHub: github.com/SwayingWheatfield/Askit.
π Integration Points
Askit-OLMo-32B Model
β
Generates Code
β
PhysicsBridge API
β
Askit. Platform
β
Real-time Visualization
π Related Projects
| Project | Purpose | Link |
|---|---|---|
| Askit. | Interactive Animation Platform | GitHub |
| PhysicsBridge | Physics Engine Wrapper | Integrated in Askit. |
| OLMo-3.1-32B | Base Model | Allen AI |
π Model Specifications
| Aspect | Details |
|---|---|
| Base Model | OLMo-3.1-32B-Instruct |
| Fine-tuning | LoRA (Rank 256) |
| Training Data | 3,500+ physics/math problems |
| Framework | DeepSpeed ZeRO-3 + BF16 |
| Hardware | 3x RTX 5090 GPUs |
| Output Format | Explicit reasoning chains + code |
π‘ Output Format
The model generates complete reasoning chains with explicit spatial thinking:
<thought>
3D space structure analysis
Initial positions (xβ, yβ, zβ)
Initial velocities (vβ, vα΅§, vα΅€)
Coordinate system setup
Applicable physics laws
Force analysis
Acceleration calculations
Position at time t: (x(t), y(t), z(t))
Velocity vector: (vβ(t), vα΅§(t), vα΅€(t))
Trajectory equations
PhysicsBridge API calls
Parameter mapping: coordinates β API
Initial conditions setup
</thought>
<code>
# PhysicsBridge API Integration
physics = PhysicsBridge()
physics.create_rigid_body(
position=(xβ, yβ, zβ),
velocity=(vβ, vα΅§, vα΅€),
mass=m,
shape='sphere'
)
# ... more API calls
</code>
π Quick Start
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "SStarrySSky/Askit-OLMo-32B-Spatial-Thinking-Preview"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
# Physics simulation with spatial reasoning
prompt = """
Create a physics simulation for a ball dropped from 10 meters.
Ball mass: 1kg, initial velocity: (0, 0, 0)
Use PhysicsBridge API.
"""
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=2048, temperature=0.7)
print(tokenizer.decode(outputs[0]))
π Use Cases
π Physics Education
- Interactive animations for teaching concepts
- Explicit spatial reasoning aids student understanding
- API-driven code runs directly in Askit. platform
π Mathematical Visualization
- Visual demonstrations of math problems
- Geometric accuracy through coordinate calculations
- Perfect for IMO-level problem visualization
π¬ Research Simulation
- Academic research physics simulations
- Correct coordinate systems guaranteed
- Real-time rendering via PhysicsBridge
π Competitive Problem Solving
- CPhO and IMO level problem solving
- Forced spatial reasoning matches competition requirements
- Production-ready simulation code
π Links & Resources
Official Channels
- π» GitHub Repository: github.com/SwayingWheatfield/Askit.
- π€ HuggingFace Model: SwayingWheatfield/Askit-OLMo-32B-Spatial-Thinking-Preview
Base Technologies
- π§ OLMo-3.1-32B: allenai/OLMo-3.1-32B-Instruct
- βοΈ Transformers: huggingface.co/transformers
π License
GPL-3.0 License - See LICENSE
π Acknowledgments
Built on top of OLMo-3.1-32B-Instruct by Allen Institute for AI.
Integrated with Askit. - Interactive Physics Animation Platform.
Made with β€οΈ by Starry Sky
π Website β’ π» GitHub β’ π€ HuggingFace
- Downloads last month
- 44
Evaluation results
- accuracy on CPhO & IMO Level Problemsself-reportedHigh spatial reasoning accuracy