This example summarizes the website, https://ollama.com/blog/run-llama2-uncensored-locally
Ensure you have the llama2
model installed:
ollama pull llama2
Install the Python Requirements.
pip install -r requirements.txt
Run the example:
python main.py