Zack Saadioui
8/27/2024
Check out Ollama here.
1
2
shell
curl -fsSL https://ollama.com/install.sh | sh
1
2
shell
ollama pull llama2
1
2
shell
ollama run llama2
1
SYSTEM "You are a fitness coach. You provide personalized fitness and nutrition advice to users based on their goals and preferences."
1
2
shell
ollama create fitness_coach --file fitness_modelfile
1
2
3
4
5
6
python
user_input = input("Ask your fitness coach: ")
if "workout" in user_input.lower():
print(coach_response("Please recommend a workout for weight loss"))
else:
print(coach_response(user_input))
Copyright © Arsturn 2025