Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaydoubleu/ollama-github-actions
https://github.com/jaydoubleu/ollama-github-actions
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jaydoubleu/ollama-github-actions
- Owner: JayDoubleu
- Created: 2024-02-27T18:47:22.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-28T11:03:56.000Z (11 months ago)
- Last Synced: 2024-12-13T11:59:16.548Z (about 1 month ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project Name
## Description
This project uses the Ollama AI platform to interact with the gemma:2b and gemma:7b models. The interactions are scripted in Python and executed in a GitHub Actions workflow.
## Setup
1. Install Python 3.11 or later.
2. Install the Ollama Python bindings with `python3 -m pip install ollama`.
3. Pull the gemma:2b and gemma:7b models from the Ollama registry with `ollama pull gemma:2b` and `ollama pull gemma:7b`.## Usage
Run the scripts `run_gemma2b.py` and `run_gemma7b.py` with Python 3.11 or later.
## GitHub Actions
This project uses a GitHub Actions workflow defined in `.github/workflows/ollama.yml`. The workflow is triggered on push and pull request events to the main branch, and can also be manually dispatched.
## License
Add license information here.
## Contact
Add contact information here.