1
Add the following code to your Python file
ollama_reasoning.py
2
Set up your virtual environment
3
Install dependencies
4
Install Ollama
Follow the installation guide and run:
5
Run Agent
Pair a local Ollama Llama 3.2 model with DeepSeek R1 as a reasoning model to solve the trolley problem.
Add the following code to your Python file
Set up your virtual environment
Install dependencies
Install Ollama
Run Agent