The Imara project showcases GenAI application development in Google Cloud, including:
- Tuning of Google and Hugging Face foundation models using Reinforcement Learning from Human Feedback (RLHF) in Vertex AI.
- Automating Continuous Integration (CI), Continuous Training (CT) and Continuous Delivery (CD) for machine learning. This automation streamlines the development and deployment processes, ensuring efficient and reliable model updates to deliver value to users more quickly.
Before you begin, use the setup guide to configure your project, service account, permissions, storage and more.
In machine learning domain, Jupyter notebooks provide a highly interactive environment for model development which supports iterative refinement of machine learning models.
This project provides several notebooks:
- Bison Notebook: demonstrates fine tuning a PaLM 2 Text Bison model from Vertex AI Model Garden.
- (Coming Soon) T5 Notebook: demonstrates fine tuning the Text-To-Text Transfer Transformer model from Hugging Face.
The notebooks can be executed locally or on Vertex AI through either Vertex AI Workbench or Colab Enterprise.
- Create a Vertex AI Workbench instance.
- Clone this GitHub repository in your instance.
- Open a notebook within your Vertex AI Workbench instance and execute the steps.
TBD (will add the steps after testing it out)
This project demonstrates Continuous Integration (CI), Continuous Training (CT) and Continuous Delivery (CD) to accelerate deployment of LLMs into production and value delivery of GenAI applications.
This project uses a suite of Google Cloud products to facilitate CI/CT/CD of the PaLM 2 Text Bison model, including:
- Cloud Build for automating the pipeline.
- Cloud Storage for storing data.
- Vertex AI for fine tuning models.
- Artifact Registry for storing artifacts.
- Cloud Deploy for deploying models.
Upon any code or data changes in this repository, Cloud Build triggers the execution of the workflow, ensuring efficient and reliable GenAI application development and delivery.
(Coming Soon)
This project uses GitHub Actions to facilitate CI/CT/CD of the Text-To-Text Transfer Transformer model from Hugging Face, including:
- GitHub Actions for automating the workflow.
- Cloud Storage for storing data.
- Vertex AI for fine tuning models.
- Artifact Registry for storing artifacts.