Zack Saadioui
8/27/2024
1
2
bash
curl -fsSL https://ollama.com/install.sh | sh
1
2
3
bash
git clone https://github.com/yourusername/your-repo.git
cd your-repo
1
2
3
4
/your-repo
├── models/
├── scripts/
└── README.md
1
2
bash
ollama run llama3.1
1
2
bash
git checkout -b new-feature
1
- main
1 2 3 4 5 6 7 8 9 10 11
- name: Checkout code uses: actions/checkout@v2 - name: Install Ollama run: curl -fsSL https://ollama.com/install.sh | sh - name: Run Ollama model run: ollama serve & ollama pull llama3.1 - name: Call Ollama API run: curl -d '{ "model": "llama3.1", "prompt":"Hello World" }' http://localhost:11434/api/generate
1
2
bash
ollama run chat-bot-model
Copyright © Arsturn 2025