Alle Codebeispiele für Vertex AI
Diese Seite enthält Codebeispiele für Vertex AI. Informationen zum Suchen und Filtern von Codebeispielen für andere Google Cloud -Produkte finden Sie im Google Cloud -Beispielbrowser.
Streamingtext mit Gemini und der Chat Completions API generieren
Mit der Chat Completions API können Sie Streamingtext generieren. Dabei können Sie Anfragen an Vertex AI-Modelle mithilfe der OpenAI-Bibliotheken senden.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Text mit Gemini und der Chat Completions API generieren
Mit der Chat Completions API können Sie Text generieren. Dabei können Sie Anfragen an Vertex AI-Modelle mithilfe der OpenAI-Bibliotheken senden.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Gemini auf einem Vertex AI Search-Datenspeicher fundieren lassen
Verwenden Sie diese Option, um die Gemini-Ausgabe auf Ihren eigenen Daten fundieren zu lassen, die in einem Vertex AI Search-Datenspeicher gespeichert sind.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- C#
- Beispiel
Gemini-Modellantworten mit der Google Suche fundieren
Verwenden Sie diese Option, um die Gemini-Modellausgabe mit Google-Suchergebnisse zu fundieren.
- Google Gen AI SDK
- Generative KI in Vertex AI
- C#
- Python
- Beispiel
Tokens in einem Prompt zählen
In diesem Beispiel wird gezeigt, wie Sie mit der Vertex AI Gemini API die Anzahl der Tokens in einem Prompt zählen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Java
- C#
- Node.js
- Go
- JavaScript
- Python
- Beispiel
Ruft die Modellbewertung für die Entitätsextraktion ab
Ruft eine Modellbewertung für die Extraktion der Textentität mit der Methode "get_model_evaluation" ab.
- Vertex AI
- Node.js
- Java
- JavaScript
- Python
- Beispiel
Reihe von RAG-Dateien importieren
Dieses Beispiel zeigt, wie Sie RAG-Dateien von einem Speicherort importieren.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Antwort vom LLM zurückgeben
In diesem Beispiel wird gezeigt, wie Sie eine Abrufabfrage ausführen, um eine Antwort vom LLM zu erhalten.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Benutzerdefinierten Job abrufen
Ruft einen benutzerdefinierten Job mit der Methode "get_custom_job" ab.
- Vertex AI
- JavaScript
- Python
- Node.js
- Beispiel
Gemini-Modellparameter konfigurieren
Generiert mit dem Gemini-Modell Text aus einem Bild und gibt den generierten Text zurück. In diesem Beispiel wird gezeigt, wie Modellkonfigurationsparameter festgelegt werden.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Endpunkt löschen
Löscht einen Endpunkt mit der Methode "delete_endpoint".
- Vertex AI
- Node.js
- JavaScript
- Java
- Python
- Beispiel
Produktbild mithilfe von Imagen optimieren, indem der Hintergrundinhalt geändert wird
In diesem Beispiel wird gezeigt, wie Sie das Imagen-Modell für die Bildbearbeitung von Produkten verwenden. Geben Sie an, was im Hintergrund angezeigt werden soll. Die Darstellung des Produkts bleibt im Vordergrund erhalten.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
RAG-Datei aus einem Index löschen
In diesem Beispiel wird gezeigt, wie Sie eine RAG-Datei aus einem Index löschen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Generative AI-Modelle mit der überwachten Feinabstimmung in Vertex AI optimieren
Sie können ein Gemini-Modell automatisch mit der überwachten Feinabstimmung (Supervised Fine-Tuning, SFT) von Vertex AI in Google Cloud optimieren.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Batchvorhersagejob abrufen
Ruft einen Batchvorhersagejob mit der Methode "get_batch_prediction_job" ab.
- Vertex AI
- Node.js
- Java
- Python
- JavaScript
- Beispiel
Modell für ein benutzerdefiniertes trainiertes Modell bereitstellen
Stellt ein Modell für ein benutzerdefiniertes trainiertes Modell mit der Methode "deploy_model" bereit.
- Vertex AI
- Java
- Python
- Node.js
- JavaScript
- Beispiel
Einbettungen für Bilder, Videos und Text generieren
In diesem Codebeispiel wird gezeigt, wie Sie mit dem multimodalen Modell Einbettungen für Bild-, Text- und Videodaten generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- Python
- Beispiel
Vorhersagen für Textsentimentanalysen
Ruft eine Vorhersage für die Textsentimentanalyse mit der Methode "predict" ab.
- Vertex AI
- JavaScript
- Java
- Python
- Node.js
- Beispiel
Trainingspipeline löschen †
Löscht eine Trainingspipeline mit der Methode "delete_training_pipeline".
- Vertex AI
- Python
- Java
- Beispiel
Aufforderungen zum Generieren von Code erstellen (Generative AI)
Erstellen Sie Eingabeaufforderungen, die mit einem Publisher-Code-Modell funktionieren, um Code für eine Funktion zu generieren.
- Vertex AI
- JavaScript
- Java
- C#
- Node.js
- Beispiel
Modell abrufen
Ruft ein Modell mit der Methode "get_model" ab.
- Vertex AI
- Python
- JavaScript
- Node.js
- Java
- Beispiel
Kontext-Cache erstellen
Erstellen Sie einen Kontext-Cache, um die Kosten für wiederholte Anfragen mit derselben Eingabe für die Tokenanzahl zu senken.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- C#
- Python
- Beispiel
Trainingspipeline für die tabellarische Klassifizierung erstellen
Erstellt eine Trainingspipeline für die tabellarische Klassifizierung mit der Methode "create_training_pipeline".
- Vertex AI
- Java
- Node.js
- Python
- JavaScript
- Beispiel
JSON-Ausgabe der gesteuerten Generierung
In diesem Codebeispiel wird gezeigt, wie Sie eine Antwort im JSON-Format abrufen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Java
- C#
- Go
- Beispiel
Vertex AI-Prompt erstellen und verwenden, um Text zu generieren
In diesem Beispiel wird gezeigt, wie Sie eine Prompt-Instanz erstellen, mit dem zusammengestellten Prompt Text generieren und eine Version des Prompts speichern.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Trainingspipeline für die Textsentimentanalyse erstellen
Erstellt eine Trainingspipeline für die Sentimentanalyse von Text mithilfe der Methode "create_training_pipeline".
- Vertex AI
- Python
- JavaScript
- Java
- Node.js
- Beispiel
YouTube-Videos mit Gemini zusammenfassen
In diesem Beispiel wird gezeigt, wie Sie mit Gemini YouTube-Videos zusammenfassen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Codegenerierungsmodell optimieren
Vortrainiertes Codegenerierungsmodell abstimmen
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Sprachgrundlagenmodell abstimmen (Generative AI)
Sprachgrundlagenmodelle mit einem Abstimmungs-Dataset optimieren.
- Vertex AI
- Java
- Beispiel
RAG-Dateien in einem Index auflisten
Dieses Beispiel zeigt, wie RAG-Dateien in einem Index aufgelistet werden.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Trainingspipeline für die Bildklassifizierung erstellen
Erstellt eine Trainingspipeline für die Bildklassifizierung mithilfe der Methode "create_training_pipeline".
- Vertex AI
- JavaScript
- Node.js
- Python
- Java
- Beispiel
Daten zur Bildobjekterkennung importieren
Importiert Daten für die Bildobjekterkennung mit der Methode "import".
- Vertex AI
- Java
- JavaScript
- Node.js
- Python
- Beispiel
Reasoning Engine löschen
In diesem Python-Codebeispiel wird gezeigt, wie eine Reasoning Engine gelöscht wird.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Batchvorhersagejob für die Textsentimentanalyse erstellen
Erstellt einen Batchvorhersagejob für die Textsentimentanalyse mit der Methode "create_batch_prediction_job".
- Vertex AI
- Python
- Node.js
- Java
- JavaScript
- Beispiel
Chat-Prompts testen (Generative AI)
Testen Sie einen Text-Prompt mithilfe eines Publisher-Chatmodells.
- Vertex AI
- JavaScript
- Node.js
- C#
- Java
- Beispiel
Batchvorhersagejob abbrechen
Bricht einen Batchvorhersagejob mit der Methode "cancel_batch_prediction_job" ab.
- Vertex AI
- Python
- JavaScript
- Node.js
- Java
- Beispiel
Daten-Labeling-Job für Bilder erstellen
Erstellt einen Daten-Labeling-Job für Bilder mit der Methode "create_data_labeling_job".
- Vertex AI
- Python
- Beispiel
Modellbewertung für die Videoklassifizierung abrufen
Ruft eine Modellbewertung für die Videoklassifizierung mit der Methode "get_model_evaluation" ab.
- Vertex AI
- Java
- JavaScript
- Python
- Node.js
- Beispiel
Trainingspipeline für das benutzerdefinierte Trainings-Dataset erstellen
Erstellt eine Trainingspipeline für das benutzerdefinierte Training-verwaltete Dataset mit der Methode "create_training_pipeline".
- Vertex AI
- Python
- Java
- Beispiel
Trainingspipeline abrufen
Ruft eine Trainingspipeline mit der Methode "get_training_pipeline" ab.
- Vertex AI
- JavaScript
- Node.js
- Python
- Java
- Beispiel
Daten-Labeling-Job für die Bildsegmentierung erstellen
Erstellt einen Daten-Labeling-Job für die Bildsegmentierung mit der Methode "create_data_labeling_job".
- Vertex AI
- Python
- Beispiel
Bilder, Video, Audio und Text mit Gemini 1.5 Pro verarbeiten
In diesem Beispiel wird gezeigt, wie Bilder, Video, Audio und Text gleichzeitig verarbeitet werden. Dieses Beispiel funktioniert nur mit Gemini 1.5 Pro.
- Google Gen AI SDK
- Generative KI in Vertex AI
- C#
- Node.js
- Java
- Go
- Python
- JavaScript
- Beispiel
Bildinhalte mit maskenbasierter Inpainting mit Imagen entfernen
In diesem Beispiel wird gezeigt, wie Sie das Imagen-Modell für die maskenbasierte Bildbearbeitung verwenden. Geben Sie einen ausgewählten Maskenbereich an, aus dem ein Bildinhalt entfernt werden soll.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Java
- Node.js
- Python
- JavaScript
- Beispiel
Einbettungen für multimodale Eingaben generieren
In diesem Codebeispiel wird gezeigt, wie Sie mit dem multimodalen Modell Einbettungen für Text- und Bildeingaben generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- Python
- Beispiel
Modellbewertung für die Erkennung der Videoaktion abrufen
Ruft eine Modellbewertung für die Erkennung der Videoaktion mit der Methode "get_model_evaluation" ab.
- Vertex AI
- Java
- Node.js
- JavaScript
- Python
- Beispiel
Enum-Werte für die kontrollierte Generierung in einem JSON-Schema angeben
Geben Sie die Liste der Antwort-Enum-Werte in einem JSON-Schema an. Das Modell wählt einen Enum-Wert aus einer Liste von Werten aus, die im Schema definiert sind.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Go
- Beispiel
Trainingspipeline für tabellarische Prognosen erstellen
Erstellt eine Trainingspipeline für die tabellarische Prognose mit der Methode "create_training_pipeline".
- Vertex AI
- Python
- Beispiel
Streamtext-Generierung
In diesem Codebeispiel wird gezeigt, wie Sie Text per Streaming generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Bildinhalte mit maskenbasierter Inpainting mit Imagen entfernen
In diesem Beispiel wird gezeigt, wie Sie das Imagen-Modell für die maskenbasierte Bildbearbeitung verwenden. Geben Sie einen ausgewählten Maskenbereich an, in dem ein Bildinhalt hinzugefügt werden soll.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Node.js
- JavaScript
- Java
- Beispiel
Daten für die Extraktion der Textentität importieren
Importiert Daten für die Extraktion von Textentitäten mit der Methode "import_data".
- Vertex AI
- Node.js
- Java
- JavaScript
- Python
- Beispiel
Vorhersage für die Extraktion von Textentitäten
Ruft eine Vorhersage für die Extraktion der Textentität mit der Vorhersagemethode ab.
- Vertex AI
- JavaScript
- Python
- Node.js
- Java
- Beispiel
Daten-Labeling-Job abbrechen
Bricht einen Daten-Labeling-Job mit der Methode "cancel_data_labeling_job" ab
- Vertex AI
- Java
- Python
- Beispiel
Hyperparameter-Abstimmungsjob erstellen
Erstellt einen Hyperparameter-Abstimmungsjob mit der Methode "create_Hyperparameter_tuning_job".
- Vertex AI
- JavaScript
- Python
- Node.js
- Java
- Beispiel
Daten für einzelnes Textklassifizierungslabel importieren
Importiert Daten für das einzelne Label der Textklassifizierung mithilfe der Methode "import_data".
- Vertex AI
- Java
- Node.js
- JavaScript
- Python
- Beispiel
Modellantwort mithilfe des ROUGE-Messwerts anhand einer Referenz (Ground Truth) bewerten
In diesem Codebeispiel wird gezeigt, wie Sie mit Vertex AI ROUGE-Messwerte zur Bewertung von Textzusammenfassungsmodellen berechnen. Es wird gezeigt, wie Sie eine Bewertungsaufgabe definieren und ROUGE-Werte für mehrere generierte Zusammenfassungen im Vergleich zu einer Referenzzusammenfassung berechnen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- Python
- Beispiel
Mit der Batchverarbeitung Einbettungen aus Text generieren
Im Codebeispiel wird gezeigt, wie Sie mit einem vortrainierten Modell stapelweise Einbettungen für eine Liste von Textinputs generieren und an einem bestimmten Speicherort speichern.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Node.js
- JavaScript
- Java
- Beispiel
Bildinhalt mit maskenbasiertem Outpainting mit Imagen maximieren
In diesem Beispiel wird gezeigt, wie Sie das Imagen-Modell für die maskenbasierte Bildbearbeitung verwenden. Geben Sie einen Maskenbereich an, in dem der Inhalt eines Basisbildes maximiert werden soll, um es an eine größere oder unterschiedlich große Canvas anzupassen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Node.js
- Java
- JavaScript
- Python
- Beispiel
Interaktive Textgenerierung mit einem Chatbot
In diesem Beispiel wird gezeigt, wie Sie mit dem Gemini-Modell Text interaktiv generieren.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Java
- Python
- Go
- C#
- Beispiel
PDF-Dateien mit Gemini zusammenfassen
In diesem Beispiel wird gezeigt, wie Sie mit Gemini eine Zusammenfassung einer PDF-Datei generieren.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Batch-Vorhersagen mit Gemini und BigQuery-Daten erstellen
Batch-Textvorhersagen mit Gemini ausführen und dabei eine BigQuery-Datenquelle als Eingabe verwenden.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- JavaScript
- Go
- Java
- Node.js
- Beispiel
Reasoning Engine nach ID abrufen
In diesem Beispiel wird gezeigt, wie Sie eine Reasoning Engine-Ressource anhand ihrer ID abrufen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Batchvorhersagejob erstellen
Erstellt einen Batchvorhersagejob mit der Methode "create_batch_prediction_job".
- Vertex AI
- Java
- Python
- Beispiel
Batch-Textvorhersage mit einem vortrainierten Modell
Batch-Textvorhersage mit einem vortrainierten Modell zur Textgenerierung durchführen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Node.js
- Go
- Python
- JavaScript
- Java
- Beispiel
Streaming-Text mit einem Claude-Modell von Anthropic generieren
Verwenden Sie das Anthropic Vertex AI SDK, um einen Prompt an ein Anthropic Claude-Modell zu senden und dann den Streaming-Text auszugeben.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Sprachgrundlagenmodell abstimmen (Generative AI)
Sprachgrundlagenmodelle mit einem Abstimmungs-Dataset optimieren.
- Vertex AI
- JavaScript
- Node.js
- Beispiel
Version einer Aufforderung wiederherstellen
In diesem Beispiel wird gezeigt, wie eine bestimmte Version des angegebenen Prompts wiederhergestellt wird.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Bildinhalt mit einer Maske mit Imagen v.002 bearbeiten
In diesem Beispiel wird gezeigt, wie Sie das Imagen-Modell für die maskenbasierte Bildbearbeitung verwenden. Geben Sie einen ausgewählten Maskenbereich an und geben Sie die Änderungen über einen Text-Prompt an.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Anzahl der Tokens für Gemini
Das Codebeispiel zeigt, wie Sie mit der Vertex AI Generative Models API die Anzahl der Tokens in einem Prompt zählen und mit dem Gemini-Modell Inhalte generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Go
- Beispiel
Dataset erstellen
Erstellt ein Dataset mit der Methode "create_dataset".
- Vertex AI
- Python
- JavaScript
- Node.js
- Java
- Beispiel
Mit generativer KI in Vertex AI eine Einbettung erstellen
Mit generativer KI eine Einbettung erstellen
- Generative KI in Vertex AI
- Google Gen AI SDK
- Java
- JavaScript
- Node.js
- Python
- Beispiel
Batch-Codevorhersage mit einem vortrainierten Modell
Batch-Codevorhersage mit einem vortrainierten Modell zur Codegenerierung durchführen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- Node.js
- JavaScript
- Python
- Java
- Beispiel
Audiodatei mit Gemini 1.5 Pro zusammenfassen
In diesem Beispiel wird gezeigt, wie Sie einen Podcast mithilfe einer Audiodatei zusammenfassen. Dieses Beispiel funktioniert nur mit Gemini 1.5 Pro.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Node.js
- JavaScript
- Go
- C#
- Java
- Python
- Beispiel
Modellbewertung für das Videoobjekt-Tracking abrufen
Ruft eine Modellbewertung für das Videoobjekt-Tracking mit der Methode "get_model_evaluation" ab.
- Vertex AI
- Python
- JavaScript
- Node.js
- Beispiel
Texteinbettungen abrufen (Generative AI)
Mit einem Einbettungsmodell Texteinbettungen für ein Textausschnitt abrufen.
- Vertex AI
- C#
- Node.js
- Java
- JavaScript
- Beispiel
Trainings-Pipeline für die Textklassifizierung erstellen
Erstellt eine Trainingspipeline für die Textklassifizierung mit der Methode "create_training_pipeline".
- Vertex AI
- Java
- JavaScript
- Python
- Node.js
- Beispiel
Text aus einem Bild mit Sicherheitseinstellungen generieren
Dieses Beispiel zeigt, wie Sie das Gemini-Modell mit Sicherheitseinstellungen verwenden, um Text aus einem Bild zu generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- JavaScript
- Node.js
- C#
- Java
- Python
- Beispiel
Text-Eingabeaufforderungen testen (Generative AI)
Testen Sie eine Testaufforderung, um mithilfe eines Publisher-Textmodells Ideen zu generieren.
- Vertex AI
- Ruby
- Node.js
- Java
- C#
- JavaScript
- Beispiel
Vorhersage für die Bildobjekterkennung
Ruft eine Vorhersage für die Bildobjekterkennung mit der Methode "predict" ab.
- Vertex AI
- Java
- Node.js
- JavaScript
- Python
- Beispiel
Einbettungen für die Codeabfrage generieren
In diesem Beispiel wird gezeigt, wie Sie mit Vertex AI-Modellen für die Texteinbettung Einbettungen für Codeblöcke und Abfragen für Codeabrufaufgaben berechnen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Daten-Labeling-Job für Video erstellen
Erstellt einen Daten-Labeling-Job für Videos mit der Methode "create_data_labeling_job".
- Vertex AI
- Java
- Python
- Beispiel
Prompt löschen
In diesem Codebeispiel wird gezeigt, wie der angegebene Prompt gelöscht wird.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Einbettungsmodell mit den angegebenen Parametern optimieren
Dieses Codebeispiel zeigt, wie Sie ein Embedding-Modell mit Vertex AI optimieren. Im Beispiel wird ein vortrainiertes Modell verwendet und für ein bestimmtes Dataset optimiert.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Modellbewertung für die tabellarische Regression abrufen
Ruft eine Modellbewertung für die tabellarische Regression mit der get_model_evaluation-Methode ab.
- Vertex AI
- Node.js
- Python
- Java
- JavaScript
- Beispiel
Batchvorhersagejob löschen
Löscht einen Batchvorhersagejob mit der Methode "delete_batch_prediction_job".
- Vertex AI
- Node.js
- Java
- Python
- JavaScript
- Beispiel
Batchvorhersagejob für tabellarische Prognosen erstellen
Erstellt einen Batchvorhersagejob für die tabellarische Prognose mit der Methode "create_batch_prediction_job".
- Vertex AI
- Python
- Beispiel
Bildinhalte mit automatischer Maskenerkennung und Inpainting mit Imagen hinzufügen
In diesem Beispiel wird gezeigt, wie Sie das Imagen-Modell für die maskenfreie Bildbearbeitung verwenden. Imagen erkennt und erstellt automatisch einen Maskenbereich, in dem Bildinhalte hinzugefügt werden sollen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Text mit dem Modell der generativen KI generieren
In diesem Codebeispiel wird gezeigt, wie ein Modell der generativen KI verwendet wird, um Inhalte für eine bestimmte Texteingabe zu generieren
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- C++
- JavaScript
- Go
- Java
- Node.js
- C#
- Beispiel
Einen benutzerdefinierten Job erstellen
Erstellt einen benutzerdefinierten Job mit der Methode "create_custom_job".
- Vertex AI
- JavaScript
- Python
- Node.js
- Java
- Beispiel
Text mit einem generativen Modell generieren
In diesem Beispiel wird gezeigt, wie Sie mit einem generativen Modell Text generieren.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Java
- Node.js
- JavaScript
- Python
- Beispiel
Kontext-Cache löschen
Löschen Sie einen bestimmten Kontext-Cache, der nicht mehr verwendet wird.
- Google Gen AI SDK
- Generative KI in Vertex AI
- C#
- Go
- Python
- Beispiel
Dataset für Text erstellen
Erstellt ein Dataset für Text mit der Methode "create_dataset".
- Vertex AI
- Java
- JavaScript
- Python
- Node.js
- Terraform
- Beispiel
Funktionsaufrufe mit dem Gemini AI-Modell
Im Codebeispiel wird gezeigt, wie die generativen Vertex AI-Modelle für Funktionsaufrufe verwendet werden.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
RAG-Datei hochladen
In diesem Beispiel wird gezeigt, wie Sie eine RAG-Datei hochladen, die zusätzliche Informationen enthält, die Kontext für das LLM bereitstellen, um genauere Antworten zu generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Trainingspipeline erstellen
Erstellt eine Trainingspipeline mit der Methode "create_training_pipeline".
- Vertex AI
- Java
- Python
- Beispiel
Hyperparameter-Abstimmungsjob löschen
Löscht einen Hyperparameter-Abstimmungsjob mit der Methode "delete_hyperparameter_tuning_job".
- Vertex AI
- Python
- Beispiel
Daten importieren
Importiert Daten mithilfe der Methode "import_data".
- Vertex AI
- JavaScript
- Node.js
- Python
- Beispiel
Contentstream mit multimodalem KI-Modell generieren
In diesem Codebeispiel wird gezeigt, wie Sie mit generativen KI-Modellen Text in einem Streaming-Format generieren, das auf einer Kombination aus Video-, Bild- und Textinputs basiert.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Go
- Node.js
- JavaScript
- Java
- Beispiel
Informationen aus Text extrahieren (Generative KI)
Extrahieren Sie Informationen aus Text mit einem Publisher-Textmodell.
- Vertex AI
- C#
- Python
- Java
- JavaScript
- Node.js
- Beispiel
Text mit einem Claude-Modell von Anthropic generieren
Verwenden Sie das Anthropic Vertex AI SDK, um einen Prompt an ein Anthropic Claude-Modell zu senden und dann den generierten Text anzuzeigen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Supervised Tuning-Job in Vertex AI abbrechen
In diesem Beispielcode wird veranschaulicht, wie Sie einen vorhandenen Abstimmungsjob in Vertex AI abbrechen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Trainingspipeline für die Extraktion von Textentitäten erstellen
Erstellt eine Trainingspipeline für die Extraktion von Textentitäten mit der Methode "create_training_pipeline".
- Vertex AI
- Node.js
- Python
- JavaScript
- Java
- Beispiel
Daten zur Videoklassifizierung importieren
Importiert Daten für die Videoklassifizierung mit der Methode "import_data".
- Vertex AI
- Java
- JavaScript
- Node.js
- Python
- Beispiel
Tokens zählen und berechnen
In diesem Codebeispiel wird gezeigt, wie Sie die Tokenanzahl abrufen und Tokens für einen Textprompt berechnen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Interaktive Textstream-Generierung mit einem Chatbot
In diesem Beispiel wird gezeigt, wie Sie mit dem Gemini-Modell einen Textstream interaktiv generieren
- Google Gen AI SDK
- Generative KI in Vertex AI
- JavaScript
- Node.js
- Python
- Beispiel
Text aus einem Video generieren
In diesem Beispiel wird gezeigt, wie Sie mit der Gemini API Text aus einem Video generieren.
- Vertex AI
- Go
- Beispiel
Überwachte Abstimmungsjobs auflisten
In diesem Beispiel wird gezeigt, wie Sie alle laufenden und abgeschlossenen Optimierungsjobs in einem Projekt auflisten.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Bewertung der Qualität der paarweisen Zusammenfassung
In diesem Beispiel wird gezeigt, wie Sie zwei generative KI-Modelle anhand eines paarweisen Vergleichs auf ihre Zusammenfassungsqualität hin bewerten. Bei der Bewertung wird ein Messwert verwendet, der beurteilt, wie gut jedes Modell einen bestimmten Text zusammenfasst.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- Python
- Beispiel
Daten-Labeling-Job für Spezialistenpool erstellen
Erstellt einen Daten-Labeling-Job für den Spezialistenpool mit der Methode "create_data_labeling_job".
- Vertex AI
- Java
- Python
- Beispiel
Daten für die einzelne Bildklassifizierung importieren
Importiert Daten für das einzelne Label zur Bildklassifizierung mithilfe der Methode import_data.
- Vertex AI
- Python
- Beispiel
Ablauf des Kontext-Caches aktualisieren
Verlängern Sie das Ablaufdatum eines Kontext-Caches, damit er weiter verwendet werden kann.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- Python
- C#
- Beispiel
Liste der abgestimmten Modelle für Vertex LLMs (Generative AI)
Ein Codebeispiel, das zeigt, wie Sie eine Liste der optimierten Modelle für Vertex LLMs abrufen
- Vertex AI
- Java
- Beispiel
Kurzantworten für Bilder erhalten
In diesem Beispiel wird gezeigt, wie Sie mit dem Imagen-Modell eine Frage stellen und eine Antwort zu einem bereitgestellten Bild erhalten.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Java
- Python
- JavaScript
- Node.js
- Beispiel
Texteinbettung generieren
In diesem Codebeispiel wird gezeigt, wie Text in ein vorab trainiertes Basismodell eingebettet wird.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Endpunkt erstellen
Erstellt einen Endpunkt mit der Methode "create_endpoint".
- Vertex AI
- JavaScript
- Python
- Java
- Node.js
- Terraform
- Beispiel
Benutzerdefinierten Job löschen
Löscht einen benutzerdefinierten Job mit der Methode "delete_custom_job".
- Vertex AI
- Node.js
- Python
- JavaScript
- Beispiel
Modell für die Erkennung der Videoaktion exportieren
Exportiert ein Modell für die Erkennung der Videoaktion mit der Methode "export_model".
- Vertex AI
- Java
- Python
- Beispiel
Batchvorhersagejob für die Videoklassifizierung erstellen
Erstellt einen Batchvorhersagejob für die Videoklassifizierung mit der Methode "create_batch_prediction_job".
- Vertex AI
- Node.js
- Python
- Java
- JavaScript
- Beispiel
Streaming-Text mit generativem Modell generieren
In diesem Beispiel wird gezeigt, wie Sie mit generativen Modellen Text in einem Streaming-Format generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- Node.js
- Java
- Python
- JavaScript
- Beispiel
Sentiment in Text klassifizieren (Generative AI)
Klassifizieren Sie die im Text vermittelte Stimmung als positiv oder negativ.
- Vertex AI
- JavaScript
- Java
- C#
- Node.js
- Python
- Beispiel
Eine Modellbewertung für die tabellarische Klassifizierung abrufen.
Ruft eine Modellbewertung für die tabellarische Klassifizierung mit der Methode "get_model_evaluation" ab.
- Vertex AI
- JavaScript
- Node.js
- Python
- Java
- Beispiel
Batchvorhersagejob für die Extraktion der Textentität erstellen
Erstellt einen Batchvorhersagejob für die Extraktion der Textentität mit der Methode "create_batch_prediction_job".
- Vertex AI
- Python
- JavaScript
- Java
- Node.js
- Beispiel
Modellbewertung für die Sentimentanalyse abrufen
Ruft eine Modellbewertung für die Textsentimentanalyse mit der Methode "get_model_evaluation" ab.
- Vertex AI
- JavaScript
- Python
- Java
- Node.js
- Beispiel
Vorhersagen für tabellarische Regression
Ruft eine Vorhersage für die tabellarische Regression mit der Methode "predict" ab.
- Vertex AI
- JavaScript
- Python
- Java
- Node.js
- Beispiel
Text aus einem Video generieren
In diesem Beispiel wird gezeigt, wie Sie mit der Gemini API Text aus einem Video generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- JavaScript
- C#
- Node.js
- Java
- Python
- Beispiel
Modellbewertung für die Textklassifizierung abrufen
Ruft eine Modellbewertung für die Textklassifizierung mit der Methode "get_model_evaluation" ab.
- Vertex AI
- Node.js
- Python
- JavaScript
- Java
- Beispiel
JSON-Ausgabe mit vordefiniertem Schema für die kontrollierte Generierung
In diesem Codebeispiel wird gezeigt, wie Sie mit den Parametern „response_mime_type“ und „response_schema“ eine Antwort erhalten, die dem von Ihnen definierten JSON-Format und -Schema entspricht.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- C#
- Java
- Go
- Beispiel
Antworten mit der RAG-Datei generieren
In diesem Beispiel wird gezeigt, wie Sie die Inhalte mit einer RAG-Datei generieren.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Audiodatei mit Gemini 1.5 Pro transkribieren
In diesem Beispiel wird gezeigt, wie Sie mit einer Audiodatei ein Podcast-Transkript mit Zeitstempeln erstellen. Dieses Beispiel funktioniert nur mit Gemini 1.5 Pro.
- Generative KI in Vertex AI
- Google Gen AI SDK
- C#
- Java
- JavaScript
- Node.js
- Go
- Python
- Beispiel
Dataset löschen
Löscht ein Dataset mit der Methode "delete_dataset".
- Vertex AI
- Java
- JavaScript
- Python
- Node.js
- Go
- Beispiel
Videodatei mit Audio mit Gemini 1.5 Pro zusammenfassen
In diesem Beispiel wird gezeigt, wie Sie eine Videodatei mit Audio zusammenfassen und Kapitel mit Zeitstempeln zurückgeben können. Dieses Beispiel funktioniert nur mit Gemini 1.5 Pro.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- JavaScript
- Java
- Node.js
- C++
- Python
- C#
- Beispiel
Mit der Chat Completions API Streamingtext zur Beschreibung eines Bildes generieren
Mit der Chat Completions API können Sie Streamingtext zur Beschreibung eines Bildes generieren. Dabei können Sie Anfragen an Vertex AI-Modelle mithilfe der OpenAI-Bibliotheken senden.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Modell für die tabellarische Klassifizierung exportieren
Exportiert ein Modell für die tabellarische Klassifizierung mit der Methode "export_model".
- Vertex AI
- Python
- Java
- JavaScript
- Node.js
- Beispiel
Vorhersage für einzelnes Textklassifizierungslabel
Ruft eine Vorhersage für ein einzelnes Label zur Textklassifizierung mit der Methode "predict" ab.
- Vertex AI
- Python
- Beispiel
PDF-Datei mit Gemini verarbeiten
In diesem Beispiel wird gezeigt, wie Sie ein PDF-Dokument mit Gemini verarbeiten.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Node.js
- Go
- Python
- Java
- JavaScript
- C#
- Beispiel
Mit Vertex AI eine Unterhaltung ohne Streaming mit mehreren Runden erstellen
Beispiel zum Einrichten des Vertex AI SDK und zum Erstellen einer Nicht-Streaming-Unterhaltung mit drei aufeinanderfolgenden Nachrichten, die an das Modell gesendet werden.
- Vertex AI
- Node.js
- JavaScript
- Beispiel
Text aus einem Bild generieren
In diesem Beispiel wird gezeigt, wie Sie mit dem Gemini-Modell Text aus einem Bild generieren.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Java
- JavaScript
- C++
- Node.js
- Python
- Beispiel
Text mit dem Gemma2-Modell mit GPU-Beschleunigern generieren
In diesem Codebeispiel wird gezeigt, wie Sie mit GPU-Beschleunigern eine Störung auf ein Gemma2-Modell ausführen, das auf einem Vertex AI-Endpunkt bereitgestellt wird.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Java
- Node.js
- Go
- Python
- JavaScript
- Beispiel
Code-Interpreter-Erweiterung erstellen
Erstellen Sie eine Code-Interpreter-Erweiterung aus den von Google vorgefertigten Erweiterungen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Modelle zur Textgenerierung mit dem Vertex AI Gen AI-Bewertungsdienst bewerten
Verwenden Sie den Vertex AI Gen AI-Bewertungsdienst, um Generierungsmodelle für Aufgaben der natürlichen Sprachverarbeitung (Natural Language Processing, NLP) wie Zusammenfassung, Übersetzung und Beantwortung von Fragen zu bewerten.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Go
- Beispiel
Funktionsaufrufe mit Anthropic verwenden, um die Funktionen von Claude zu erweitern
Verwenden Sie Funktionsaufrufe mit Anthropic Claude, um externe Tools wie die Google Places API abzufragen. Im Beispiel wird die Text Search Places API direkt über Ihren Claude-Prompt aufgerufen, um anhand der Suchanfrage eines Nutzers Informationen zu Orten abzurufen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Vorhersagen für die Bildklassifizierung
Ruft eine Vorhersage für die Bildklassifizierung mit der Methode "predict" ab.
- Vertex AI
- JavaScript
- Python
- Java
- Node.js
- Beispiel
JSON-Ausgabe mit kontrollierter Generierung von Nullwerten
Das Modell darf Nullantworten ausgeben, wenn nicht genügend Kontext vorhanden ist, um eine sinnvolle Antwort zu generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- C#
- Java
- Python
- Beispiel
Modellleistung evaluieren
In diesem Beispielcode wird gezeigt, wie die Leistung eines GenAI-Modells bewertet wird. Es zeigt, wie Sie die Bewertungsspezifikation definieren, das Modell bewerten und die Bewertungsmesswerte abrufen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Sprachgrundlagenmodell abstimmen (Generative AI)
Sprachgrundlagenmodelle mit einem Abstimmungs-Dataset optimieren.
- Vertex AI
- Node.js
- JavaScript
- Beispiel
Aufforderungen zum Chatten über Code erstellen (Generative Ai)
Erstellen Sie Aufforderungen zur Arbeit mit einem Publisher-Code-Chat-Modell, um eine Chatbot-Unterhaltung zu Code zu führen.
- Vertex AI
- Java
- JavaScript
- C#
- Node.js
- Beispiel
Hyperparameter-Abstimmungsjob abbrechen
Bricht einen Hyperparameter-Abstimmungsjob mit der Methode "cancel_hyperparameter_tuning_job" ab.
- Vertex AI
- Python
- Beispiel
Daten für die Sentimentanalyse importieren
Importiert Daten für die Sentimentanalyse von Text mit der Methode "import_data".
- Vertex AI
- Java
- Python
- JavaScript
- Node.js
- Beispiel
Eingabeaufforderungen für den Abschluss von Codekommentaren erstellen (Generative AI)
Erstellen Sie Eingabeaufforderungen, die mit einem Publisher-Code-Modell funktionieren, um Vorschläge zur Vervollständigung von Code-Kommentaren zu erstellen.
- Vertex AI
- Java
- JavaScript
- Node.js
- C#
- Beispiel
Modell löschen
Löscht ein Modell mit der Methode "delete_model".
- Vertex AI
- Java
- JavaScript
- Node.js
- Python
- Beispiel
Indexe in einem Projekt auflisten
In diesem Beispiel wird gezeigt, wie Indexe unter einem bestimmten Projekt aufgelistet werden.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
JSON-Ausgabe mit enum für die gesteuerte Generierung
Ausgabe eines JSON-formatierten Objekts mit einem Enum-Wert, eine Beschreibung des Objekts und eine Liste der Werte, aus denen ausgewählt werden kann.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Go
- Python
- Java
- C#
- Beispiel
Text mit einem Large Language Model klassifizieren (Generative AI)
Führen Sie Klassifizierungsaufgaben durch, die dem Text eine Klasse oder Kategorie zuweisen. Sie können eine Liste mit Kategorien auswählen oder das Modell aus seinen eigenen Kategorien auswählen lassen.
- Vertex AI
- Java
- Node.js
- JavaScript
- C#
- Beispiel
RAG-Dateien aus Google Drive oder Cloud Storage importieren
In diesem Beispiel wird gezeigt, wie RAG-Dateien asynchron aus Google Drive oder Cloud Storage importiert werden.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Labels für Anfragen für generative KI in Vertex AI festlegen
In diesem Beispiel wird gezeigt, wie Sie Labels für Anfragen an die generative KI in Vertex AI festlegen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Text mit dem Gemma2-Modell mit TPU-Beschleunigern generieren
In diesem Codebeispiel wird gezeigt, wie Sie eine Störung auf einem Gemma2-Modell ausführen, das auf einem Vertex AI-Endpunkt mit TPU-Beschleunigern bereitgestellt wird.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Go
- JavaScript
- Node.js
- Java
- Beispiel
Bestimmte Erweiterung nach ID abrufen
In diesem Beispielcode wird gezeigt, wie eine vorhandene Erweiterung abgerufen wird.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Vorlage für parametrisierte Prompts erstellen
In diesem Codebeispiel wird gezeigt, wie Sie eine parametrisierte Promptvorlage erstellen, um Inhalte mit mehreren Variablensätzen zu generieren.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Batchvorhersagejob für Videoobjekt-Tracking erstellen
Erstellt einen Batchvorhersagejob für das Videoobjekt-Tracking mit der Methode "create_batch_prediction_job".
- Vertex AI
- JavaScript
- Python
- Node.js
- Java
- Beispiel
Funktionsaufrufe mit dem Gemini AI-Modell
Das Codebeispiel zeigt, wie Sie mit den generativen Vertex AI-Modellen Funktionsaufrufe ausführen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Node.js
- Go
- JavaScript
- Beispiel
Tabellarische Form erläutern
Ruft eine Erläuterung der tabellarischen Form mit der Methode "explain" ab.
- Vertex AI
- Python
- Beispiel
Alle Reasoning Engine-Instanzen auflisten
In diesem Codebeispiel wird gezeigt, wie Sie alle Reasoning Engine-Instanzen in Ihrem Projekt auflisten.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Daten-Labeling-Job löschen
Löscht einen Daten-Labeling-Job mit der Methode "delete_data_labeling_job".
- Vertex AI
- Java
- Python
- Beispiel
Hyperparameter-Abstimmungsjob für Python-Paket erstellen
Erstellt einen Hyperparameter-Abstimmungsjob für das Python-Paket mit der Methode "create_Hyperparameter_tuning_job".
- Vertex AI
- Python
- Java
- Beispiel
Dataset für Bild erstellen
Erstellt ein Dataset für das Image mit der Methode "create_dataset".
- Vertex AI
- JavaScript
- Node.js
- Python
- Terraform
- Java
- Beispiel
Trainingspipeline für die Videoklassifizierung erstellen
Erstellt eine Trainingspipeline für die Videoklassifizierung mit der Methode "create_training_pipeline".
- Vertex AI
- JavaScript
- Python
- Node.js
- Java
- Beispiel
Mit Gemini wichtige Momente in YouTube-Videos erkennen
In diesem Codebeispiel wird gezeigt, wie mit Gemini wichtige Momente in YouTube-Videos erkannt werden. Sie nimmt eine YouTube-Video-URL als Eingabe und gibt eine Liste der wichtigsten Momente mit ihren Zeitstempeln zurück.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Text aus einem Bild generieren
In diesem Beispiel wird gezeigt, wie Sie mit dem Gemini-Modell Text aus einem Bild generieren. Das Modell ist ein umfangreiches Transformer-basiertes Sprachmodell, das kohärenten und informativen Text generieren kann.
- Vertex AI
- Go
- Beispiel
Modellbewertungssegmente auflisten
Listet Modellbewertungssegmente mit der Methode "list_model_evaluation_slices" auf.
- Vertex AI
- Java
- Node.js
- Python
- JavaScript
- Beispiel
Erweiterung in Vertex AI ausführen
In diesem Codebeispiel wird gezeigt, wie eine Erweiterung ausgeführt wird.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Alle Prompts auflisten
In diesem Codebeispiel wird gezeigt, wie Sie alle Prompts in einem Google Cloud-Projekt auflisten.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Index löschen
In diesem Beispiel wird gezeigt, wie ein Index gelöscht wird.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Eingabeaufforderungen zum Generieren von Einheitentests erstellen (Generative AI)
Erstellen Sie Aufforderungen, die mit einem Publisher-Chatmodell arbeiten, um Unittests zu generieren.
- Vertex AI
- C#
- Python
- Node.js
- Java
- JavaScript
- Beispiel
Erweiterung löschen
In diesem Codebeispiel wird gezeigt, wie eine Erweiterung gelöscht wird.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Dataset für Video erstellen
Erstellt ein Dataset für Videos mit der Methode "create_dataset".
- Vertex AI
- Terraform
- Python
- Node.js
- JavaScript
- Java
- Beispiel
Daten-Labeling-Job für aktives Lernen erstellen
Erstellt einen Daten-Labeling-Job für aktives Lernen mit der Methode "create_data_labeling_job".
- Vertex AI
- Python
- Java
- Beispiel
Daten für das Videoobjekt-Tracking importieren
Importiert Daten für das Videoobjekt-Tracking mit der Methode "import_data".
- Vertex AI
- Python
- JavaScript
- Java
- Node.js
- Beispiel
Modellbewertung abrufen
Ruft eine Modellbewertung mit der Methode "get_model_evaluation" ab.
- Vertex AI
- JavaScript
- Python
- Node.js
- Java
- Beispiel
Textinhalte mithilfe der generativen KI zusammenfassen (Generative AI)
Fassen Sie Textinhalte mithilfe eines Publisher-Textmodells zusammen.
- Vertex AI
- Python
- Java
- JavaScript
- Node.js
- C#
- Beispiel
Kurze Bilduntertitel erhalten
In diesem Beispiel wird gezeigt, wie Sie mit dem Imagen-Modell eine kurze, allgemeine Beschreibung eines bereitgestellten Bildes erhalten.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Java
- JavaScript
- Python
- Node.js
- Beispiel
Digitales Wasserzeichen eines Bildes prüfen
Standardmäßig wird allen Bildern, die mit einer Imagen-Modellversion generiert wurden, die die Generierung von Wasserzeichen unterstützt, ein digitales Wasserzeichen hinzugefügt. In diesem Beispiel wird gezeigt, wie Sie mit dem Imagen-Überprüfungsmodell feststellen, ob ein Bild dieses Wasserzeichen enthält.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Java
- JavaScript
- Node.js
- Python
- Beispiel
Modell zur Erläuterung des tabellarischen verwalteten Containers hochladen
Upload eines Modells zur Erläuterung des tabellarischen verwalteten Containers mit der upload_model-Methode.
- Vertex AI
- Python
- Beispiel
Modellbewertung für die Bildobjekterkennung abrufen
Ruft eine Modellbewertung für die Bildobjekterkennung mit der Methode "get_model_evaluation" ab.
- Vertex AI
- Python
- JavaScript
- Java
- Node.js
- Beispiel
Benutzerdefinierten Job abbrechen
Bricht einen benutzerdefinierten Job mit der Methode "cancel_custom_job" ab.
- Vertex AI
- JavaScript
- Node.js
- Python
- Beispiel
Alle Erweiterungen in Vertex AI auflisten
Der Beispielcode ruft eine Liste aller Erweiterungen im angegebenen Projekt und am angegebenen Standort ab.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Reasoning Engine abfragen
In diesem Beispiel wird gezeigt, wie Sie eine Anfrage an eine Reasoning Engine-Instanz senden.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Text aus multimodalem Prompt generieren
Dieses Beispiel zeigt, wie Sie mit dem Gemini-Modell Text aus einem multimodalen Prompt generieren. Der Prompt besteht aus drei Bildern und zwei Text-Prompts. Das Modell generiert eine Textantwort, die die Bilder und Text-Prompts beschreibt.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- C#
- JavaScript
- Java
- Node.js
- Go
- Beispiel
Informationen zu einem Index abrufen
In diesem Beispiel wird gezeigt, wie Sie Informationen zu einem Index abrufen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Modell hochladen
Lädt ein Modell mit der upload_model-Methode hoch.
- Vertex AI
- Python
- Node.js
- Java
- JavaScript
- Beispiel
Verfügbare Prompt-Versionen auflisten
In diesem Codebeispiel wird gezeigt, wie alle Versionen eines Prompts aufgelistet werden.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Batchvorhersagejob für die Textklassifizierung erstellen
Erstellt einen Batchvorhersagejob für die Textklassifizierung mit der Methode "create_batch_prediction_job".
- Vertex AI
- JavaScript
- Python
- Java
- Node.js
- Beispiel
Bild aus Text generieren
Dieses Beispiel zeigt, wie Sie mit dem Imagen-Modell ein Bild aus Text generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- C#
- JavaScript
- Java
- Python
- Node.js
- Beispiel
Open AI API-Anmeldedaten automatisch aktualisieren
In diesem Codebeispiel wird gezeigt, wie Sie mit der OpenAI-Klasse „Credentials Refresher“ OpenAI API-Anmeldedaten automatisch aktualisieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Trainingspipeline für die Bildobjekterkennung erstellen
Erstellt eine Trainingspipeline für die Bildobjekterkennung mit der Methode "create_training_pipeline".
- Vertex AI
- Java
- JavaScript
- Python
- Node.js
- Beispiel
Dataset für tabellarische BigQuery-Version erstellen
Erstellt ein Dataset für die tabellarische BigQuery-Version mit der Methode "create_dataset".
- Vertex AI
- Node.js
- Python
- Java
- JavaScript
- Beispiel
Textantworten mit der Gemini API mit externen Funktionsaufrufen in einem Chatszenario generieren
Generieren Sie Textantworten mithilfe der Gemini API mit externen Funktionsaufrufen. Dieses Beispiel zeigt ein Chatszenario mit zwei Funktionen und zwei aufeinanderfolgenden Prompts.
- Google Gen AI SDK
- Generative KI in Vertex AI
- JavaScript
- Node.js
- Python
- Beispiel
Text aus einem Bild generieren
Stellen Sie dem Gemini-Modell einen Bild- und einen Text-Prompt zur Verfügung, woraufhin der generierte Text zurückgegeben wird.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- Java
- Python
- Beispiel
Video beschreiben
In diesem Codebeispiel wird gezeigt, wie Sie mit Gemini Textbeschreibungen für ein Video generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Modellbewertungssegment abrufen
Ruft ein Modellbewertungssegment mit der Methode "get_model_evaluation_slice" ab.
- Vertex AI
- Node.js
- JavaScript
- Python
- Java
- Beispiel
Kurzanleitung verwenden, um sich mit RAG vertraut zu machen
Diese Kurzanleitung zeigt die Verwendung der RAG API.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Inhalte mit Funktionsaufrufen generieren
Generieren Sie Inhalte mit Funktionsaufrufen. Dieses Beispiel zeigt ein Textmodalitätsszenario mit einer Funktion und einem Prompt.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- C#
- Java
- Go
- Beispiel
Codevervollständigung
Mit der Code Completions API können Sie Code basierend auf Kommentaren oder teilweise geschriebenem Code mit geringer Latenz vervollständigen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Java
- JavaScript
- Node.js
- Beispiel
Dimension für die Einbettung von multimodaler Eingabe angeben
In diesem Codebeispiel wird gezeigt, wie Sie eine kleinere Einbettungsdimension für Text- und Bildeingaben angeben.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Go
- Python
- Beispiel
Modell exportieren
Exportiert ein Modell mit der Methode "export_model".
- Vertex AI
- Java
- JavaScript
- Python
- Node.js
- Beispiel
Bild beschreiben
In diesem Codebeispiel wird gezeigt, wie Sie mit Gemini Textbeschreibungen für ein Bild generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Trainingspipeline abbrechen
Bricht eine Trainingspipeline mit der Methode "cancel_training_pipeline" ab.
- Vertex AI
- Python
- Java
- Beispiel
Überwachten Abstimmungsjob abrufen
In diesem Codebeispiel wird gezeigt, wie Sie Informationen zu einem Job für die überwachte Abstimmung abrufen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Hyperparameter-Abstimmungsjob abrufen
Ruft einen Hyperparameter-Abstimmungsjob mit der Methode "get_Hyperparameter_tuning_job" ab
- Vertex AI
- Python
- JavaScript
- Node.js
- Java
- Beispiel
Batchvorhersagejob für BigQuery erstellen
Erstellt einen Batchvorhersagejob für BigQuery mit der Methode "create_batch_prediction_job".
- Vertex AI
- Java
- Python
- Beispiel
Trainingspipeline für die Erkennung der Videoaktion erstellen
Erstellt eine Trainingspipeline für die Erkennung von Videoaktionen mit der Methode "create_training_pipeline".
- Vertex AI
- Python
- Node.js
- JavaScript
- Java
- Beispiel
Tokenanzahl und abrechenbare Zeichen für eine Anfrage abrufen
Die Count Tokens API gibt die Tokenanzahl und die abrechenbaren Zeichen einer Anfrage zurück.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Kontext-Cache abrufen
Informationen zu einem bestimmten Kontext-Cache abrufen, z. B. Erstellungs- und Ablaufzeit
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- C#
- Python
- Beispiel
Gecachte Inhaltselemente auflisten
In diesem Codebeispiel wird gezeigt, wie Sie alle im Cache gespeicherten Inhaltselemente für ein bestimmtes Projekt und einen bestimmten Standort auflisten.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Go
- Beispiel
Trainingspipeline für das Videoobjekt-Tracking erstellen
Erstellt eine Trainingspipeline für das Tracking von Videoobjekten mit der Methode "create_training_pipeline".
- Vertex AI
- JavaScript
- Python
- Node.js
- Java
- Beispiel
Data Labeling-Job erstellen
Erstellt einen Daten-Labeling-Job mit der Methode "create_data_labeling_job".
- Vertex AI
- Java
- Python
- Beispiel
Modellbewertung für die Bildklassifizierung abrufen
Ruft eine Modellbewertung für die Bildklassifizierung mit der Methode "get_model_evaluation" ab.
- Vertex AI
- Python
- Node.js
- Java
- JavaScript
- Beispiel
Daten zur Erkennung der Videoaktion importieren
Importiert Daten für die Erkennung der Videoaktion mithilfe der Methode "import_data".
- Vertex AI
- Node.js
- JavaScript
- Java
- Python
- Beispiel
Trainingspipeline für die tabellarische Regression erstellen
Erstellt eine Trainingspipeline für die tabellarische Regression mit der Methode "create_training_pipeline".
- Vertex AI
- Node.js
- Python
- Java
- JavaScript
- Beispiel
Open AI API-Anmeldedaten mit der Google Cloud-Authentifizierung aktualisieren
Dieses Codebeispiel zeigt eine Dienstklasse, die Anmeldedaten für OpenAI API-Aufrufe mit der Google Cloud-Authentifizierung aktualisiert. Die Klasse „OpenAI Credentials Refresher“ ruft bei Bedarf Anmeldedaten von Google Cloud ab und aktualisiert sie, um die ständige Verfügbarkeit eines gültigen API-Schlüssels für OpenAI-Anfragen zu gewährleisten.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Batchvorhersagejob für Videoaktionserkennung erstellen
Erstellt einen Batchvorhersagejob für die Aktionserkennung in Videos mit der Methode "create_batch_prediction_job".
- Vertex AI
- Python
- Node.js
- Java
- JavaScript
- Beispiel
Gemini mit benutzerdefinierten Einstellungen für erweiterte Anwendungsfälle optimieren
Sie können ein Generative AI-Modell mit der überwachten Feinabstimmung von Vertex AI mit erweiterten Parametern optimieren.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Objekte in einem Bild im JSON-Format auflisten
JSON-formatierter Text mit einer Liste der Objekte, die das Modell in einem bestimmten Bild erkennen kann.
- Google Gen AI SDK
- Generative KI in Vertex AI
- C#
- Python
- Go
- Java
- Beispiel
Prompts für die Textgenerierung mit Vertex AI optimieren
In diesem Beispiel wird gezeigt, wie Sie mit dem Vertex AI Prompt Optimizer Prompts für ein Modell zur Textgenerierung optimieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Prompt laden oder abrufen
In diesem Beispiel wird gezeigt, wie ein Prompt geladen oder abgerufen wird, der in der Onlineressource gespeichert wurde.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
MIME-Antworttyp für die Gemini API angeben
Geben Sie einen MIME-Antworttyp für die Gemini API an, damit die generierte Antwort diesem Typ entspricht.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Go
- Java
- C#
- Python
- Beispiel
Vorhersage für tabellarische Klassifizierung
Ruft eine Vorhersage für die tabellarische Klassifizierung mit der Methode "predict" ab.
- Vertex AI
- Node.js
- Python
- JavaScript
- Java
- Beispiel
Trainingspipeline für einen benutzerdefinierten Job erstellen
Erstellt eine Trainingspipeline für einen benutzerdefinierten Job mit der Methode "create_training_pipeline".
- Vertex AI
- Python
- Java
- Beispiel
Funktionsaufrufe mit Gemini über das OpenAI SDK verwenden
Dieses Codebeispiel zeigt, wie Funktionsaufrufe in Gemini mithilfe der Chat Completions API im OpenAI SDK ausgeführt werden.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Langchain-Chatbot in der Reasoning Engine erstellen, testen und bereitstellen
In diesem Beispiel wird gezeigt, wie Sie einen Langchain-Chatbot in der Reasoning Engine erstellen, testen und bereitstellen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Bildinhalte mit automatischer Maskenerkennung und Inpainting mit Imagen entfernen
In diesem Beispiel wird gezeigt, wie Sie das Imagen-Modell für die maskenfreie Bildbearbeitung verwenden. Imagen erkennt und erstellt automatisch einen Maskenbereich, in dem Bildinhalte entfernt werden sollen.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Dataset für tabellarische Cloud Storage-Version erstellen
Erstellt ein Dataset für die tabellarische Cloud Storage-Version mit der Methode "create_dataset".
- Vertex AI
- Java
- Python
- JavaScript
- Node.js
- Beispiel
RAG-Datei abrufen
Dieses Beispiel zeigt, wie Sie eine RAG-Datei abrufen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Bildinhalte mit maskenfreier Bearbeitung mit Imagen v.002 bearbeiten
In diesem Beispiel wird gezeigt, wie Sie das Imagen-Modell für die maskenfreie Bildbearbeitung verwenden. Geben Sie die Änderungen mithilfe eines Text-Prompts an.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Node.js
- JavaScript
- Java
- Beispiel
Mit generativer KI Inhalte aus multimodalen Daten generieren
In diesem Beispiel wird gezeigt, wie Inhalte aus einer Kombination aus Text, Bild und Video generiert werden können.
- Generative KI in Vertex AI
- Google Gen AI SDK
- JavaScript
- Java
- Node.js
- Python
- Beispiel
Vorhersage für benutzerdefiniertes trainiertes Modell
Ruft eine Vorhersage für ein benutzerdefiniertes trainiertes Modell mit der Methode "predict" ab.
- Vertex AI
- Python
- Node.js
- Java
- JavaScript
- Beispiel
Benutzerdefinierte App in der Reasoning Engine erstellen, testen und bereitstellen
In diesem Beispiel wird gezeigt, wie Sie eine benutzerdefinierte App in der Reasoning Engine erstellen, testen und bereitstellen. Es enthält einen lokalen Test der App und die Schritte zum Bereitstellen der App in der Reasoning Engine.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Modell bereitstellen
Stellt ein Modell mit der deploy_model-Methode bereit.
- Vertex AI
- Java
- Node.js
- Python
- JavaScript
- Beispiel
Eingabeaufforderungen für den Abschluss von Code für Testfunktionen erstellen (Generative AI)
Erstellen Sie Eingabeaufforderungen, die mit einem Publisher-Code-Modell funktionieren, um Vorschläge zur Vervollständigung von Testfunktionen zu erstellen.
- Vertex AI
- C#
- Node.js
- Java
- JavaScript
- Python
- Beispiel
Systemanweisung auf Gemini 1.5 Pro festlegen
In diesem Beispiel wird gezeigt, wie Sie die Systemanweisung auf Gemini 1.5 Pro festlegen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Java
- C#
- Node.js
- Go
- JavaScript
- Python
- Beispiel
Text mit einem Kontext-Cache generieren
Text mithilfe eines vorhandenen Kontext-Caches generieren
- Google Gen AI SDK
- Generative KI in Vertex AI
- C#
- Python
- Go
- Beispiel
Batch-Vorhersagen mit Gemini und GCS-Daten
Batch-Textvorhersage mit Gemini mit einer GCS-Datenquelle als Eingabe durchführen
- Google Gen AI SDK
- Generative KI in Vertex AI
- Node.js
- JavaScript
- Java
- Beispiel
Videoeinbettungen aus einem Videosegment abrufen
In diesem Codebeispiel wird gezeigt, wie Sie mit dem Modell für multimodale Einbettungen Video-Ebenen aus einem bestimmten Videosegment extrahieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- Python
- Beispiel
Bilder mit Gemini und der Chat Completions API beschreiben
Mit der Chat Completions API können Sie eine Textbeschreibung eines Bildes generieren. Dabei können Sie Anfragen an Vertex AI-Modelle mithilfe der OpenAI-Bibliotheken senden.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Python
- Beispiel
Tokenanzahl einer Anfrage lokal abrufen
In diesem Codebeispiel wird gezeigt, wie Sie die Tokenanzahl für eine Anfrage lokal abrufen, ohne die Count Tokens API aufzurufen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Batch-Textvorhersage mit Gemini-Modell
Führt eine Batch-Textvorhersage mit dem Gemini-Modell durch und gibt den Ausgabeort zurück.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Go
- Python
- Beispiel
Modell zur Erläuterung des verwalteten Image-Containers hochladen
Lädt ein Modell zur Erläuterung des Image-verwalteten Containers mit der Methode "upload_model" hoch.
- Vertex AI
- Python
- Beispiel
Index erstellen
In diesem Beispiel wird gezeigt, wie Sie einen Index zum Importieren oder Hochladen von Dokumenten erstellen.
- Google Gen AI SDK
- Generative KI in Vertex AI
- Python
- Beispiel
Paralleler Funktionsaufruf
In diesem Codebeispiel wird gezeigt, wie mehrere Funktionsaufrufe parallel ausgeführt und ihre Ergebnisse an das Modell zurückgegeben werden, um eine vollständige Antwort zu generieren.
- Generative KI in Vertex AI
- Google Gen AI SDK
- Go
- Python
- Beispiel
Text aus einem Bild generieren
In diesem Beispiel wird gezeigt, wie Sie mit dem Gemini-Modell Text aus einem Bild generieren.
- Vertex AI
- C#
- Go
- JavaScript
- Node.js
- Java
- Beispiel
Interaktive Textgenerierung mit einem Chatbot
In diesem Beispiel wird gezeigt, wie Sie mit dem generativen Gemini-Modell Text interaktiv generieren.
- Vertex AI
- Go
- Java
- C#
- Node.js
- JavaScript
- Beispiel
Gemini 1.0 Pro-Modell für die Textgenerierung mit Fundierung verwenden
Generiert Text mit dem Gemini 1.0 Pro-Modell mit Fundierung aus einem Vertex AI Search-Datenspeicher oder der Google Suche.
- Generative KI in Vertex AI
- Python
- Beispiel
Prompt Design - Best Practices
Master prompt engineering best practices to improve the quality of your large language model responses.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with Grounding with Gemini in Vertex AI
Generate content grounded in your own documents and data using Vertex AI's generative text models.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Batch Predictions with the Gemini API using BigQuery input
Process large batches of multimodal requests asynchronously using the Gemini API in Vertex AI for offline model predictions.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Function Calling with the Gemini API & Python SDK
Use Gemini, Google DeepMind's multimodal generative AI model, to call functions by describing them in code and receiving matching function names in the response.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Gemini 2.0 Pro
Learn how to use Google's Gemini 2.0 Pro for coding and general knowledge tasks.
- Generative KI in Vertex AI
- Python
- Notebook
Introduction to Long Context Window with Gemini on Vertex AI
Explore the expanded context window capabilities of Gemini 1.5 LLMs for improved performance in various applications.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Gemini 2.0 Flash-Lite
Explore Gemini 2.0 Flash-Lite, a fast and cost-effective flash model, through an introductory YouTube video.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Batch Predictions with the Gemini API
Process large batches of multimodal requests asynchronously using the Gemini API in Vertex AI for offline model predictions.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Context Caching with the Gemini API
Use the Gemini API's context caching feature to store and reuse input tokens, thereby reducing redundant requests and improving efficiency.
- Generative KI in Vertex AI
- Python
- Notebook
Responsible AI with Gemini API in Vertex AI: Safety ratings and thresholds
Explore the capabilities and limitations of large language models.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Controlled Generation with the Gemini API
Explore Google DeepMind's Gemini, a family of generative AI models enabling controlled generation of structured or unstructured data for various applications.
- Generative KI in Vertex AI
- Python
- Notebook
Llama-3.1-8B model deployment to GKE using GPU
Deploy and serve Llama open models from Google DeepMind using Text Generation Inference on various GPU types for improved throughput.
- Generative KI in Vertex AI
- Vertex AI
- Python
- Notebook
Spatial understanding with Gemini 2.0
Learn object detection and spatial understanding using the Gemini API in Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Mistral models deployment to GKE using GPU
Deploy and serve the Mistral large language model using Google DeepMind's Text Generation Inference on various GPU types.
- Generative KI in Vertex AI
- Vertex AI
- Python
- Notebook
Evaluate your autorater with meta-evaluation
Assess the effectiveness of your large language model evaluator using meta-evaluation techniques to build a reliable task-specific evaluation framework.
- Generative KI in Vertex AI
- Python
- Notebook
Imagen 3 Image Generation
Generate high-quality images from text descriptions using Google's Imagen 3 model on Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Build and deploy a Hugging Face smolagent using DeepSeek-r1 on Vertex AI
Explore DeepSeek-R1 and its distilled models for advanced reasoning tasks.
- Generative KI in Vertex AI
- Python
- Notebook
Update Feature Monitor, Feature Group IAM, and Feature Group Service Agent
Configure and manage Vertex AI Feature Store feature groups, features, and monitors using service accounts.
- Vertex AI
- Python
- Notebook
Intro to Google Agentspace
Use Google Agentspace to centrally search and manage enterprise information using AI-powered agents.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Advanced Features
Optimize machine learning models to achieve optimal cost, throughput, and latency based on individual customer needs.
- Generative KI in Vertex AI
- Vertex AI
- Python
- Notebook
Imagen 3 Image Editing
Generate high-quality images from text descriptions using Google's Imagen 3 model on Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Create High Quality Visual Assets with Imagen and Gemini
Generate high-quality images from text descriptions using Imagen on Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Phi-4 (Deployment)
Deploy pre-built Phi-4 models using vLLM and HexLLM on Google Cloud Vertex AI to enhance serving throughput.
- Generative KI in Vertex AI
- Vertex AI
- Python
- Notebook
Handling large-scale embedding generation for Vertex AI Vector Search
Generate text and multimodal embeddings for large datasets using the Vertex AI Embeddings API and Vector Search.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - TranslationLLM Translation and Evaluation (Demo)
Use the Vertex AI Python SDK and Gen AI Evaluation Service to generate and evaluate translations, measuring quality with BLEU, MetricX, and COMET.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
BigQuery DataFrames ML: Prescription Drug Name Generation
Generate creative brand names for pharmaceutical drugs using AI.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - PaliGemma 2 (Deployment)
Deploy the PaLiGemma 2 vision-language model to a Vertex AI endpoint and use it to perform vision question answering tasks.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Hugging Face DLCs: Serving Gemma 2 with multiple LoRA adapters with Text Generation Inference (TGI) on Vertex AI
Use pre-built, optimized deep learning containers to simplify the configuration of lightweight, state-of-the-art open Gemini family models.
- Generative KI in Vertex AI
- Python
- Notebook
Cloud Run GPU Inference: Gemma 2 RAG Q&A with Ollama and LangChain
Explore GPU-accelerated AI/ML workloads on Google Cloud Run using this notebook.
- Generative KI in Vertex AI
- Python
- Notebook
Running a Gemma 2-based agentic RAG with Ollama on Vertex AI and LangGraph
Run and manage open-source large language models like Gemma 2 using Ollama.
- Generative KI in Vertex AI
- Python
- Notebook
Imagen 3 Image Editing
Run this notebook to generate images from text using Imagen 3 on Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Gemini 2.0 Flash
Use the Gemini 2.0 Flash multimodal generative ai model to create real-time vision and audio streaming applications.
- Generative KI in Vertex AI
- Python
- Notebook
Getting started with Gemini 2.0 in Vertex AI using REST API
Use REST API in cURL commands to interact with the Gemini 2.0 Flash model.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.3 Finetuning
Finetune and deploy Llama 3.3 models with Vertex AI using PEFT (LoRA).
- Generative KI in Vertex AI
- Vertex AI
- Python
- Notebook
Vertex AI RAG Engine with Vertex AI Search
Demonstrate how to use Vertex AI RAG Engine with Vertex AI Search as a retrieval backend
- Generative KI in Vertex AI
- Python
- Notebook
Q&A Chatbot with Vertex AI Search for summarized website results without advanced indexing
Query a website data store in Vertex AI Search and extract and summarize its content.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with Gemini 2.0 Flash Thinking Mode
Demonstrate how to use Gemini 2.0 Flash Thinking mode to solve complex tasks that require multiple rounds.
- Generative KI in Vertex AI
- Python
- Notebook
Getting started with Google generative AI using the Gen AI SDK
Learn about the key features of the Google Gen AI SDK for Python
- Generative KI in Vertex AI
- Python
- Notebook
Supervised Fine Tuning with Gemini 1.5 Flash for change detection using the Google Gen AI SDK
Fine-tune Gemini model" component Fine-tune the Gemini 1.5 Pro model for change detection task (spot differences) with the Vertex AI "Fine-tune Gemini model" component.
- Generative KI in Vertex AI
- Python
- Notebook
Advanced Diarized Transcription and Domain Specific Summarization
Train a model to transcribe and translate multilingual audio recordings.
- Generative KI in Vertex AI
- Python
- Notebook
Feature Monitoring in Vertex AI Feature Store
Learn how to use the Vertex AI SDK for Python to monitor feature data in Vertex AI Feature Store.
- Vertex AI
- Python
- Notebook
Scaled Video Analysis with the YouTube Data API, Gemini, and Batch Prediction
Explore how to search and analyze publicly available YouTube videos at scale, using the YouTube Data API, Vertex AI Batch Prediction with Gemini, and BigQuery.
- Generative KI in Vertex AI
- Python
- Notebook
Interactive Loan Application Assistant (Financial Services)
Use the interactive loan document to understand complex loan terms and conditions.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Generating and Executing Python Code with Gemini 2.0
Introduce the code execution capabilities of the Gemini 2.0 Flash model.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex Prompt Optimizer Notebook SDK (Preview) - Long Prompt Optimization
Use the Vertex AI prompt optimizer to optimize a long prompt for a Gemini model.
- Generative KI in Vertex AI
- Python
- Notebook
Getting started with Gemini using Vertex AI in Express Mode
Send API requests to the Gemini API in Vertex AI: - Non-streaming request - Streaming request - Function calling request
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with the Multimodal Live API using Gen AI SDK
Learn how to use the Multimodal Live API to perform text-to-text generation and text-to-audio with the Google Gen AI SDK in Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Create a Spark DataFrame from an Apache Beam pipeline
Create a Spark DataFrame from an Apache Beam pipeline.
- Generative KI in Vertex AI
- Python
- Notebook
Evaluating Agents - Evaluate a LangGraph agent with Vertex AI Gen AI Evaluation
Evaluate an AI agent's performance with a suite of evaluation metrics
- Generative KI in Vertex AI
- Python
- Notebook
Creating Marketing Assets using Gemini 2.0
Get started with the Google Gen AI SDK on Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Real-time Retrieval Augmented Generation (RAG) using the Multimodal Live API with Gemini 2.0
Learn to develop a real-time Retrieval Augmented Generation (RAG) system leveraging the Multimodal Live API.
- Generative KI in Vertex AI
- Python
- Notebook
Patents Document Understanding with Gemini 2.0
Train custom machine learning models for a Document Understanding Pipeline using AutoML.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.3 (Deployment)
Deploy prebuilt Llama 3.3 model with vLLM on GPU, optionally with dynamic LoRA adapters.
- Generative KI in Vertex AI
- Vertex AI
- Python
- Notebook
Building a Research Multi Agent System - a Design Pattern Overview with Gemini 2.0
Learn how to use Data Fusion to build a scalable and secure data lake for your organization.
- Generative KI in Vertex AI
- Python
- Notebook
Supervised fine-tuning with Gemini 1.5 Flash for Q&A using the Google Gen AI SDK
Fine-tune the Gemini 1.5 Flash model using Vertex AI Supervised Tuning.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with the Multimodal Live API in Vertex AI
Run this tutorial to get started with the Multimodal Live API in Vertex AI, which enables low-latency bidirectional voice and video interactions with Gemini.
- Generative KI in Vertex AI
- Python
- Notebook
Evaluating Agents - Evaluate a CrewAI agent with Vertex AI Gen AI Evaluation
Evaluate the performance of an AI agent with offline evaluation of test cases
- Generative KI in Vertex AI
- Python
- Notebook
Hugging Face DLCs: Using Gemma for running evaluations with Vertex AI Gen AI Evaluation
Evaluate the performance of large language models with Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex Prompt Optimizer Notebook SDK (Preview) - Tool usage
optimize prompt template for tool usage with a Gemini model
- Generative KI in Vertex AI
- Python
- Notebook
Evaluate a Translation Model
Use the Vertex AI Python SDK for Gen AI Evaluation Service to measure the translation quality of your LLM responses using BLEU, MetricX and COMET
- Generative KI in Vertex AI
- Python
- Notebook
Supervised Fine Tuning with Gemini 1.5 Flash for change detection
Fine-tune Vision Model" colab template Fine-tune Gemini 1.5 Pro model for change detection task (spot differences)
- Generative KI in Vertex AI
- Python
- Notebook
Hugging Face DLCs: Serving PaliGemma using Pytorch Inference on Vertex AI with Custom Handler
** is a TPU-based, scalable, and flexible 3D image segmentation and rendering library that supports a variety of applications. Run this notebook to deploy Verte on GCP using a Hugging Face DLC. deploy Verte on GCP using a Hugging Face DLC
- Generative KI in Vertex AI
- Python
- Notebook
Create a multi speaker podcast with Gemini Controlled Generation & Text-to-Speech
Use the Gemini API in Vertex AI to generate an engaging multi-speaker podcast using studio voices Text-to-Speech API" notebook. Generate an engaging multi-speaker podcast using studio voices Text-to-Speech API.
- Generative KI in Vertex AI
- Python
- Notebook
AI Agents for Engineers (Evolution of AI Agents)
Demonstrate 3 different approaches to generating essays using the Gemini API in Google AI Studio
- Generative KI in Vertex AI
- Python
- Notebook
Advanced RAG Techniques - Vertex RAG Engine Retrieval Quality Evaluation and Hyperparameters Tuning
Learn how to evaluate retrieval quality using different metrics.
- Generative KI in Vertex AI
- Python
- Notebook
Llama 3.2 deployment to GKE using GPU
Use the Llama 3.2 model to serve inference on GPUs.
- Generative KI in Vertex AI
- Vertex AI
- Python
- Notebook
Vertex AI RAG Engine with Vertex AI Feature Store
Use Vertex AI RAG Engine with Vertex AI Feature Store as a vector database.
- Generative KI in Vertex AI
- Python
- Notebook
Create and initialize a cluster
Use this notebook to create a cluster and initialize it with the pre-installed software.
- Generative KI in Vertex AI
- Python
- Notebook
Resume Generation
Generate resumes using the Gemini 1.5 Flash model and LLM prompting
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.1 and Qwen2.5 Models Deployment
Deploy prebuilt Llama 3.1 and Qwen2.5 models with vLLM on TPU v5e.
- Generative KI in Vertex AI
- Vertex AI
- Python
- Notebook
Guess who or what app using Hugging Face Deep Learning container model on Vertex AI
Create a simple "Guess who or what" application which combines an image generation open model with Gemini to answer and represent subjects of Guess who or what riddles.
- Generative KI in Vertex AI
- Python
- Notebook
Monitor batch prediction with Gemini API
Orchestrate and monitor Gemini batch prediction jobs using Vertex AI Pipelines."
- Generative KI in Vertex AI
- Python
- Notebook
Get Started
Generate advertising images using Gemini and Imagen 3
- Generative KI in Vertex AI
- Python
- Notebook
Evaluate generated answers from Retrieval-Augmented Generation (RAG) using Rapid Evaluation and Dataflow ML with Vertex AI pipelines
Build a Gen AI Model Evaluation Batch pipeline to evaluate a question-answering task with Rapid Eval API and DataflowML
- Generative KI in Vertex AI
- Python
- Notebook
Enhance Imagen prompts with Gemini
Optimize or rewrite your image generation prompts with Gemini based on a subject, action, scene, and style, or generate enhanced prompts from an initial image.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Text Embeddings on Vertex AI
Get text embeddings using a text-embedding model such as **text-embedding-005** and **text-multilingual-embedding-002**.
- Vertex AI
- Python
- Notebook
Get started with Chirp 2 using Speech-to-Text V2 SDK
Learn how to use Chirp 2, the latest generation of Google's multilingual ASR-specific models.
- Generative KI in Vertex AI
- Python
- Notebook
**NVIDIA NIM on Google Cloud Vertex AI**
Create a dataproc cluster to run a machine learning model.
- Vertex AI
- Python
- Notebook
Stage 2: Building MVP: - 05 Evaluation with Vertex AI
Evaluate RAG system performance" notebook, evaluate RAG system performance with Vertex AI Eval
- Generative KI in Vertex AI
- Python
- Notebook
From API to Report: Building a Currency Analysis Agent with LangGraph and Gemini
Build an AI-powered currency analysis agent using LangGraph and the Gemini API in Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI RAG Engine with Weaviate
Use Vertex AI RAG Engine with Weaviate to build a semantic search system
- Generative KI in Vertex AI
- Python
- Notebook
Anomaly Detection of Infrastructure Logs using Gemini and BigQuery Vector Search
Learn how to process large volumes of logs using Gemini, vector embeddings and BigQuery Vector Search for anomaly detection
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI RAG Engine with Vertex AI Vector Search
Use Vertex AI RAG Engine with Vertex AI Vector Search
- Generative KI in Vertex AI
- Python
- Notebook
Stage 2: Building MVP: - 04 Evaluation
Evaluate the performance of your RAG system."
- Generative KI in Vertex AI
- Python
- Notebook
Evaluating multimodal task
Evaluate multimodal tasks with custom metrics and model-based metric evaluation
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML tabular training and prediction
Train and deploy a tabular classification model for online prediction with Vertex AI Python client library.
- Vertex AI
- Python
- Notebook
Basic prototyping of the solution with Gemini API in Vertex AI
Learn how to use the Gemini 1.5 Pro model to perform text summarization.
- Generative KI in Vertex AI
- Python
- Notebook
Stage 2: Building MVP: - 01 Data Processing
Process diverse data and generate summaries for a multimodal retrieval augmented generation (RAG) system using the Gemini API in Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Stage 2: Building MVP: - 02 Chunk & Embeddings
Build a simple text-based search engine using the Vertex Gemini API
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Building a Scalable and Modular RAG System with RAG Engine in Vertex AI
Use RAG Engine to improve the performance of large language models by augmenting them with access to private knowledge.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Recursion MAE Image Feature Extraction local inference
Demonstrate how to install the necessary libraries and run local inference with the Recursion MAE model in a Colab Enterprise Instance for Image Feature Extraction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI RAG Engine with Pinecone
Use Vertex AI RAG Engine with Pinecone as a vector database
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Recursion MAE Image Feature Extraction Deployment
Deploy recursionpharma/OpenPhenom with the VMG Pytorch Inference container
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.2 Evaluation
Evaluate text and multimodal Llama 3.2 models in Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Enhancing quality and explainability with Vertex AI Evaluation
Use the Vertex Gen AI Evaluation API to evaluate your large language models (LLMs) by comparing them against human performance.
- Generative KI in Vertex AI
- Python
- Notebook
Train a custom BERT model using fine-tuning
Train a custom BERT model using a fine-tuning approach
- Generative KI in Vertex AI
- Python
- Notebook
Create a Dataflow pipeline
Use the [Dataflow SDK](https://cloud.google.com/dataflow/docs/guides/dataflow-sdk) to create a Dataflow pipeline.
- Generative KI in Vertex AI
- Python
- Notebook
Build Your Own AI Podcasting Agent with LangGraph & Gemini
target="_blank">Generate an audio overview of a document</a> 🔈🔈
- Generative KI in Vertex AI
- Python
- Notebook
Log Anomaly Detection & Investigation with Text Embeddings + BigQuery Vector Search
Learn how to use AI to analyze Cloud Audit Logs.
- Generative KI in Vertex AI
- Python
- Notebook
Stage 2: Building MVP: - 03 RAG
Build the core retrieval and generation components of a Multimodal Retrieval Augmented Generation (RAG) system using the Vertex Gemini API.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Hugging Face Text Generation Inference Deployment
Deploy Gemma-2-2b-it model with Text Generation Inference (TGI) from Hugging Face.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden GenAI Workshop for Flux
Deploy a model to a Vertex AI Endpoint and run online predictions for text-to-image tasks from a Gradio UI
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Migration: AutoML Video Classification
Train an AutoML video classification model and do batch prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Get started with Llama 3.2 models
chat" Get started with using the OpenAI library and leverage multimodal capabilities of Llama 3.2 models as MaaS.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Prompt Guard (Deployment)
Deploy the Prompt Guard model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma 2 Finetuning
Demonstrate finetuning and deploying Gemma 2 models with Vertex AI Custom Training Job.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI SDK: Using PyTorch torchrun to simplify multi-node training with custom containers
Run multi-node distributed training on Vertex AI with Torchrun.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Hugging Face Text Embeddings Inference Deployment
Deploy a Hugging Face text-embeddings-inference model with appropriate machine specs.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Chat Completions With Streaming Playground
Interactively chat with instruction-tuned text generation models deployed on the Vertex Online Prediction endpoints.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Fill Mask
Deploy a BERT, RoBERTa, and XLM-RoBERTa model on Vertex AI"
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden + Reasoning Engine - Build, Deploy and Test Agents Using Llama 3.1 Models
Use this notebook to build a chat bot agent using Vertex AI Reasoning Engine and Llama 3.1 models.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Flux
Deploy the pre-trained Flux.1 [schnell] model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Hugging Face Pytorch Inference Deployment
Deploy distilbert/distilbert-base-uncased-finetuned-sst-2-english with Hugging Face Pytorch Inference.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Starry Net Forecasting Pipeline
Learn how to create a Starry Net forecasting model using Vertex AI Pipelines.
- Vertex AI
- Python
- Notebook
Getting Started with AI21 Labs Models
Stream your AI21 Labs model responses on Vertex AI to reduce end-user latency.
- Vertex AI
- Python
- Notebook
Create a dataframe from a Pub/Sub topic
Create a dataframe from a Google Cloud Pub/Sub topic. """
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.2 (Deployment)
Demonstrate how to deploy and serve prebuilt Llama 3.2 models on GPU and TPU.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Whisper Large V3 (Deployment)
Deploy prebuilt whisper large v3 and whisper large v3 turbo models to Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with Model Garden Pipeline Templates for T5X models
modify, compile, and execute a prebuilt Vertex AI Model Garden pipeline template
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Image Segmentation on Vertex AI
Learn how to use Vertex AI to segment images with a text prompt or interactively.
- Generative KI in Vertex AI
- Python
- Notebook
Hugging Face DLCs: Fine-tuning Gemma with Transformer Reinforcement Learning (TRL) on Vertex AI
Visualize the distribution of the number of events within a time window.
- Generative KI in Vertex AI
- Python
- Notebook
Create a Photoshop Document with Image Segmentation on Vertex AI
Use the Vertex AI Image Segmentation API to segment images into different regions."
- Generative KI in Vertex AI
- Python
- Notebook
Video Thumbnail Generation using Gemini 1.5 Pro (API & Python SDK)
to create a thumbnail video from thumbnails
- Generative KI in Vertex AI
- Python
- Notebook
Building Search Applications with Vertex AI Search
Use the notebook to get started with Vertex AI Search.
- Generative KI in Vertex AI
- Python
- Notebook
Hugging Face DLCs: Serving Gemma with Text Generation Inference (TGI) on Vertex AI
Import data from a local file system into BigQuery.
- Generative KI in Vertex AI
- Python
- Notebook
Manage and monitor Apache Beam jobs using the Beam UI and Logging
Learn how to manage and monitor Apache Beam jobs using the Beam UI and Logging.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with RAGAS & Vertex AI Gemini API
Evaluate your RAG pipelines with Ragas.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with DeepEval & Vertex AI Gemini API
Use the DeepEval framework to evaluate LLMs with unit tests and metrics.
- Generative KI in Vertex AI
- Python
- Notebook
YouTube Video Analysis with Gemini
Learn how to do direct analysis of publicly available YouTube videos with Gemini.
- Generative KI in Vertex AI
- Python
- Notebook
Summarization with Large Documents using Document AI and PaLM APIs
Summarize a short paragraph using extractive summarization.
- Generative KI in Vertex AI
- Python
- Notebook
Leverage LlamaIndex with Vertex AI Vector Search to perform question answering RAG
Create a RAG framework using LlamaIndex and Vertex AI Vector Search
- Generative KI in Vertex AI
- Python
- Notebook
Run RAG Pipelines in BigQuery with BQML and Vector Search
Demonstrate a basic end-to-end retrieval-augmented generation (RAG) pipeline using BigQuery and BigQuery ML functions"
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with the Vertex AI Codey APIs - Code Completion
Get started with the Vertex AI PaLM API.
- Generative KI in Vertex AI
- Python
- Notebook
Question answering with Documents using Document AI, Pandas, and PaLM
Extract structured data from documents using Document AI and PaLM.
- Generative KI in Vertex AI
- Python
- Notebook
Create a BigQuery dataset.
Create a new BigQuery dataset for storing your data.
- Generative KI in Vertex AI
- Python
- Notebook
Question Answering with Documents using LangChain 🦜️🔗 and Vertex AI Matching Engine
Implement a question answering system to show how to improve LLM's response by augmenting LLM's knowledge with external data sources.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with Vertex AI Python SDK for Gen AI Evaluation Service
Learn how to use the Vertex AI Python SDK for Gen AI Evaluation Service
- Generative KI in Vertex AI
- Python
- Notebook
Evaluating prompts at scale with Gemini Batch Prediction API
Use Apache Beam to perform batch ETL on Google Cloud Platform.
- Generative KI in Vertex AI
- Python
- Notebook
Get started with Generative AI evaluation service
Evaluate the performance of a large language model using Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Building a Weather Agent with AutoGen and Gemini
Build a weather agent using Autogen and the Gemini 1.5 Flash model on Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Multimodal Function Calling with the Gemini API & Python SDK
Learn how to use Gemini's multimodal function calling capability to predict function calls and function parameters based on various inputs like images, audio, and text.
- Generative KI in Vertex AI
- Python
- Notebook
Customize Model-based Metrics to Evaluate a Gen AI model
Learn how to customize the model-based metrics and evaluate a generative AI model using the *Vertex AI Python SDK for Gen AI Evaluation Service*.
- Generative KI in Vertex AI
- Python
- Notebook
Get started with Chirp on Google Cloud
Demonstrate how to use Chirp to convert voice to text in several languages.
- Generative KI in Vertex AI
- Python
- Notebook
Migrate from PaLM to Gemini model
Evaluate PaLM and Gemini foundation models using multiple metrics in an `EvalTask` to support decisions around migrating from one model to another.
- Generative KI in Vertex AI
- Python
- Notebook
Gen AI and LLM Security - ReAct and RAG attacks & mitigations
Learn how to load data from Google Cloud Storage into a BigQuery table.
- Generative KI in Vertex AI
- Python
- Notebook
Evaluate and Optimize Prompt Template Design for Better Results
Learn how to use the Vertex AI Python SDK for Gen AI Evaluation Service for Prompt Engineering and Prompt Evaluation.
- Generative KI in Vertex AI
- Python
- Notebook
Performing Semantic Search in BigQuery
Demonstrate how to perform semantic search in BigQuery using Vector Search
- Generative KI in Vertex AI
- Python
- Notebook
Combining Semantic & Keyword Search: A Hybrid Search Tutorial with Vertex AI Vector Search
Use this notebook to upload an image to Google Cloud Storage and generate predictions using the Cloud AutoML Vision API.
- Generative KI in Vertex AI
- Python
- Notebook
Narrate a Multi-character Story with Text-to-Speech and Gemini
Demonstrate how to use the Text-to-Speech API to read a story with each character having a distinct voice.
- Generative KI in Vertex AI
- Python
- Notebook
Get started with Chirp 2 - Advanced features
Learn about how to use Chirp 2, the latest generation of Google's multilingual ASR-specific models, and its new features.
- Generative KI in Vertex AI
- Python
- Notebook
Supervised Fine Tuning with Gemini 1.5 Flash for Q&A
Fine-tune the Gemini 1.5 Flash model using the Vertex AI Supervised Tuning feature.
- Generative KI in Vertex AI
- Python
- Notebook
Supervised Fine Tuning with Gemini 1.5 Pro for Image Captioning
Fine-tune the Gemini 1.5 Pro Model for Vision task using Vertex AI Supervised Tuning.
- Generative KI in Vertex AI
- Python
- Notebook
Question Answering with Generative Models on Vertex AI
Evaluate a Gemini model using various metrics"
- Generative KI in Vertex AI
- Python
- Notebook
Create a machine learning model to classify images
Create a machine learning model to perform image classification.
- Generative KI in Vertex AI
- Python
- Notebook
Using "task type" embeddings for improving RAG search quality
Create a terraform module for an AWS EKS cluster with Fargate. ""
- Generative KI in Vertex AI
- Python
- Notebook
Vertex Prompt Optimizer Notebook SDK (Preview)
optimize a simple prompt for a Gemini model using your own metrics
- Generative KI in Vertex AI
- Python
- Notebook
Evaluate LLMs with AutoSxS Model Eval
Compare the performance of Google-first-party and Third-party LLMs for summarization and question answering tasks.
- Generative KI in Vertex AI
- Python
- Notebook
Building a Multi-Agent RAG Application with LangGraph and Reasoning Engine
Train a RAG model using Reasoning Engine (LangChain on Vertex AI).
- Generative KI in Vertex AI
- Python
- Notebook
Gen AI & LLM Security for developers
Generate embeddings for a text dataset.
- Generative KI in Vertex AI
- Python
- Notebook
LlamaIndex RAG Workflows using Gemini and Firestore
Learn how to use LlamaIndex workflows to build AI systems that go beyond simple question-answering
- Generative KI in Vertex AI
- Python
- Notebook
Use Retrieval Augmented Generation (RAG) with Gemini API
Augment output from Gemini API by bringing in external knowledge using Code Retrieval Augmented Generation(RAG) pattern using Google Cloud's Generative AI github repository as external knowledge.
- Generative KI in Vertex AI
- Python
- Notebook
Analyze data from a Google Cloud Storage bucket in a Jupyter notebook.
Use a Jupyter notebook to access and analyze data from a Google Cloud Storage bucket.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex Prompt Optimizer Notebook SDK (Preview) - Custom metric
optimize a prompt for a Gemini model using your own metric
- Generative KI in Vertex AI
- Python
- Notebook
Comparing LlamaIndex and LlamaParse for Dense Document Questioning Answering on Vertex AI
Compare different document parsing capabilities offered by LlamaIndex on a 10-Q financial document.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex Prompt Optimizer Notebook UI (Preview)
Use Vertex AI prompt optimizer to iteratively optimize prompts to suit a target model.
- Generative KI in Vertex AI
- Python
- Notebook
Evaluate Gemini with AutoSxS using custom task
Demonstrate how to use Vertex AI automatic side-by-side (AutoSxS) with custom task (translation) to evaluate the performance between Gemini on Vertex AI and PaLM API in a media newspaper company for translation scenario.
- Generative KI in Vertex AI
- Python
- Notebook
Compare Generative AI Models
Learn how to use the Vertex AI Python SDK for Gen AI Evaluation Service to score and evaluate different generative AI models.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started - Template
Develop and assess a chain - a sequence of steps that power an AI application.
- Generative KI in Vertex AI
- Python
- Notebook
Evaluate Generated Answers from Retrieval-Augmented Generation (RAG) for Question Answering with Gen AI Evaluation Service SDK
Evaluate RAG generated answers for a question answering task using the Gen AI Evaluation Service
- Generative KI in Vertex AI
- Python
- Notebook
Create a dataset of events in Apache Beam
Create a dataset of events in Apache Beam that contains the following information: event type, timestamp, and user ID.
- Generative KI in Vertex AI
- Python
- Notebook
Use Gen AI Evaluation SDK to Evaluate Models in Vertex AI Studio, Model Garden, and Model Registry
Analyze the sentiment of a given tweet using the VADER sentiment analyzer.
- Generative KI in Vertex AI
- Python
- Notebook
Bring your own computation-based `CustomMetric`
Learn how to use the Vertex AI Python SDK for Gen AI Evaluation Service to evaluate a generative AI model using locally-defined computation-based `CustomMetric`.
- Generative KI in Vertex AI
- Python
- Notebook
Bring-Your-Own-Autorater using `CustomMetric`
Evaluate generative AI models with your locally-defined `CustomMetric`, and use your own autorater model to perform model-based metric evaluation.
- Generative KI in Vertex AI
- Python
- Notebook
Create a BigQuery Dataflow pipeline to process Apache Beam jobs
Learn how to create and deploy a dataflow pipeline to process Apache Beam jobs using the BigQuery Dataflow API and Apache Beam SDKs.
- Generative KI in Vertex AI
- Python
- Notebook
Gen AI Evaluation Service SDK Preview-to-GA Migration Guide
Migrate from the Preview version to the latest GA version of Vertex AI Python SDK for Gen AI Evaluation Service to evaluate Retrieval-Augmented Generation (RAG) and compare two models side-by-side (SxS)."
- Generative KI in Vertex AI
- Python
- Notebook
Evaluate and Compare Gen AI Model Settings
evaluate and select generative ai model settings with vertex ai python sdk for gen ai evaluation service
- Generative KI in Vertex AI
- Python
- Notebook
Evaluate Generative Model Tool Use
evaluate the Gemini model tool use quality with Vertex AI Python SDK for Gen AI Evaluation Service
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Batch Predictions with the Gemini API
Run batch prediction with the Vertex AI Gemini API.
- Generative KI in Vertex AI
- Python
- Notebook
Import structured or unstructured documents into a data store. """ Import documents into a data store
Learn how to use the Data Fusion service to query data in Google Cloud Platform services. """ Learn to query data in Google Cloud Platform services with Data Fusion
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V2.1 (Local Dreambooth Finetune)
Finetune stabilityai/stable-diffusion-2-1 with Dreambooth locally in a Colab notebook and test it with a local `text-2-image` prediction pipeline
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Online Prediction PSC based private endpint
Describe the steps to configure PSC based private endpoint for GKE cluster.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Get started with Llama 3.1 models
Get started with the OpenAI library and use Llama 3.1 models as MaaS for building translation chain and document question-answer."
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma 2 (Deployment)
Deploy Gemma 2 models with Hex-LLM on TPU and TGI on GPU.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Online and Batch predictions using Vertex AI Feature Store (Legacy)
Learn how to store, serve, manage and share machine learning features with Vertex AI Feature Store (Legacy).
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.1 (Deployment)
Download, deploy, and serve prebuilt Llama 3.1 models with Hex-LLM or vLLM.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Synthetic Data Generation using Llama 3.1
Generate synthetic data using the Llama 3.1 405B service API.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Evaluate Llama 3.1 models using Vertex AI AutoSxS
Evaluate Llama 3.1 models using the Vertex AI AutoSxS tool for a question-answering task
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.1 Finetuning
knowledge distillation" are learned. Finetune and deploy Llama 3.1 models with Vertex AI using parameter efficient finetuning methods PEFT (LoRA).
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
PyTorch image classification multi-node distributed data parallel training on cpu using Vertex AI training with custom container
Create a distributed PyTorch training job using Vertex AI SDK for Python and custom containers.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Phi-3 (Deployment)
Deploy prebuilt Phi-3 models with vLLM to improve serving throughput
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Configure IAM Policy in Vertex AI Feature Store
Configure an IAM Policy to control access to resources and data stored within Vertex AI Feature Store.
- Vertex AI
- Python
- Notebook
Spark on Ray on Vertex AI
learn how to run Spark applications on a Ray cluster on Vertex AI using RayDP
- Vertex AI
- Python
- Notebook
Fetch historical feature values
Learn how to use the Vertex AI SDK for Python to retrieve historical values from the feature data source in BigQuery.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Qwen2 (Deployment)
Deploy prebuilt Qwen2 models with vLLM to improve serving throughput.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Fetch multiple entities
Learn how to use the Vertex AI SDK for Python to fetch multiple entities (and their feature values) in real-time.
- Vertex AI
- Python
- Notebook
Getting Started with Mistral AI Models
Stream Mistral AI model responses to reduce end-user latency perception
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - MaMMUT
deploy MaMMUT to a Vertex AI Endpoint and make online predictions
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Model Garden RAG API
Export a Jupyter Notebook as a Google Cloud Platform AI Platform Notebook instance.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama Guard
Download and deploy prebuilt Llama Guard models with vLLM on GPU and safeguard LLM inputs and outputs with the Vertex Llama 3.1 API service.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Building and Deploying a LangGraph Application with Reasoning Engine in Vertex AI
Build, deploy, and test a simple LangGraph application using Reasoning Engine in Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Deploying a RAG Application with Cloud SQL for PostgreSQL to LangChain on Vertex AI
Build and deploy a RAG app on Vertex AI LangChain
- Generative KI in Vertex AI
- Python
- Notebook
Deploying a RAG Application with AlloyDB to LangChain on Vertex AI
Run this notebook to learn how to use the LangChain API to create a new RAG model on Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with LangChain 🦜️🔗 + Vertex AI Gemini API
Vertex AI Gemini: A Large Language Model Platform" by Google AI Learn how to use LangChain components and use cases of LangChain with the Vertex AI Gemini API.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Supervised Tuning token count and cost estimation.
Use this notebook to estimate token counts for tuning costs for tuning `gemini-1.0-pro-002`.
- Generative KI in Vertex AI
- Python
- Notebook
Imagen 3 Image Generation
Create images from text with Imagen 3 on Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Generate training dataset for Cloud Translation API NMT (Neural Machine Translation) model training
Use the Cloud Translation API to translate text dynamically through the API using a Google pre-trained, custom model, or a translation specialized large language model (LLMs).
- Generative KI in Vertex AI
- Python
- Notebook
Product attributes extraction and detailed descriptions from images using Gemini 1.5 Pro
Build a general agent to extract different product attributes or detailed product descriptions from an image input
- Generative KI in Vertex AI
- Python
- Notebook
Introduction to Long Context Window with Gemini on Vertex AI
Use this notebook to test the performance of Gemini LLMs with a 1 million token context window.
- Generative KI in Vertex AI
- Python
- Notebook
Building a photo recognition agent: Reasoning Engine setup
Create and configure a Google BigQuery table.
- Generative KI in Vertex AI
- Python
- Notebook
Debugging and Optimizing Agents: A Guide to Tracing in Reasoning Engine
Explore the decision-making process of your agent-based AI application using Cloud Trace.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Context Caching with the Gemini API
Use the Gemini context caching API to cache frequently used input tokens to improve performance.
- Generative KI in Vertex AI
- Python
- Notebook
Building a Gen AI RAG application with Vertex AI Feature Store and BigQuery
Build a low-latency vector search system for your Gen AI application using BigQuery Vector Search and Vertex AI Feature Store
- Generative KI in Vertex AI
- Python
- Notebook
Evaluate LangChain
Learn how to evaluate the performance of a conversational LangChain chain using the Vertex AI Rapid Evaluation SDK.
- Generative KI in Vertex AI
- Python
- Notebook
Call Gemini by using the OpenAI Library
Learn how to call Gemini by using the OpenAI library.
- Generative KI in Vertex AI
- Python
- Notebook
Text Embedding New API
Run a code example for how to call our newly released text embedding models.
- Vertex AI
- Python
- Notebook
PyTorch image classification using multi-node NCCL distributed data parallel training on CPU and Vertex AI
Create a distributed NCCL PyTorch training job using Vertex AI SDK for Python and custom containers.
- Vertex AI
- Python
- Notebook
Using Vertex AI Vector Search and Vertex AI embeddings for text for StackOverflow Questions
Encode text embeddings and upload them to the Vertex AI Vector Search service
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - CamP ZipNeRF (Jax) Gradio Notebook
Launch a Gradio application to train and render Neural Radiance Fields (NeRFs) more efficiently in jax using CamP.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Using Vertex AI Multimodal Embeddings and Vector Search
create text-to-image embeddings using the DiffusionDB dataset and the Vertex AI multimodal embeddings model
- Vertex AI
- Python
- Notebook
Create Vertex AI Vector Search index
Learn how to use the Vertex AI ANN Service to find similar vectors for a large corpus.
- Vertex AI
- Python
- Notebook
Using Vertex AI Vector Search for StackOverflow Questions
Encode custom text embeddings using the StackOverflow dataset and the sentence-T5 model, and upload them to Vertex AI Vector Search.
- Vertex AI
- Python
- Notebook
Building a Multimodal Chatbot for Warranty Claims using Gemini and Vector Search in Vertex AI
Build a warranty claims chatbot that utilizes Vector Search and the Gemini API in Vertex AI in Google Cloud.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Controlled Generation with the Gemini API
Use this notebook to control the generation of text, images, and other content from a pre-trained multimodal language model.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with NLP2SQL using dynamic RAG using
Use the Vertex AI SDK for Python to generate NLP2SQL outputs more reliably and accurately.
- Generative KI in Vertex AI
- Python
- Notebook
Code Vulnerability Scanning & Automated Remediation using Vertex AI Gemini API (Gemini Pro 1.5)
Learn how to use Gemini 1.5 Pro, a generative AI model for codebase analysis.
- Generative KI in Vertex AI
- Python
- Notebook
Getting started with Vertex AI Gemini 1.5 Flash
Run a sentiment analysis model on a text file with Vertex AI Gemini API
- Generative KI in Vertex AI
- Python
- Notebook
Product listing generation with Gemini 1.5 Pro
Learn about the Gemini 1.5 Pro language model, which introduces a long context window of up to 1 million tokens and can seamlessly analyze large amounts of information.
- Generative KI in Vertex AI
- Python
- Notebook
Product image background generation with Gemini 1.5 Pro and Imagen 2
Use the Imagen 2 model on Vertex AI to generate images from text.
- Generative KI in Vertex AI
- Python
- Notebook
Introduction to Vertex AI Embeddings - Text & Multimodal
Explore Vertex AI Embeddings API for both Text and Multimodal (Images and Video)
- Generative KI in Vertex AI
- Python
- Notebook
Building a DIY Multimodal Question Answering System with Vertex AI (A Beginner's Guide - Multimodal RAG)
Build a question answering system that understands both text and images using Google's Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Introduction to ReAct Agents with Gemini & Function Calling
Illustrate how a ReAct agent coordinates between reasoning and acting.
- Generative KI in Vertex AI
- Python
- Notebook
Building a Conversational Search Agent with Reasoning Engine and RAG on Vertex AI Search
Use this notebook to learn how to use Reasoning Engine (LangChain on Vertex AI) to build and deploy an agent reasoning framework.
- Generative KI in Vertex AI
- Python
- Notebook
Code migration from PaLM to Gemini
Migrate the Vertex AI SDK for Python from using the PaLM API to using the Gemini API.
- Generative KI in Vertex AI
- Python
- Notebook
Introduction to Vertex AI Embeddings - Text & Multimodal
Read and process the contents of a file.
- Generative KI in Vertex AI
- Python
- Notebook
Brochure Creation Tool using Imagen
Build a model to predict the sentiment of movie reviews.
- Generative KI in Vertex AI
- Python
- Notebook
Working with Parallel Function Calls and Multiple Function Responses in Gemini
Use the Gemini API to call a function from your code and get the function's return value.
- Generative KI in Vertex AI
- Python
- Notebook
Model Monitoring for Model Outside Vertex AI
Set up Vertex AI Model Monitoring V2 for your model using the Vertex AI SDK for Python
- Vertex AI
- Python
- Notebook
Setup Google Cloud project
Deploy TimesFM 1.0 model on Vertex AI using CPU or GPU.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Before you begin
Finetune PaliGemma with your own data.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Before you begin
Deploy a PaliGemma model on Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Getting Tuned Text-Embeddings on Vertex AI
Fine-tune text embeddings to adapt the model to your specific domain or task.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - E5 Text Embedding Models
Deploy prebuilt E5 text embedding models on a Vertex AI Endpoint
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Model Monitoring for Vertex AI Custom Model Online Prediction
Set up Vertex AI Model Monitoring V2 for online predictions.
- Vertex AI
- Python
- Notebook
Model Monitoring for Vertex AI Custom Model Batch Prediction Job
Set up Vertex AI Model Monitoring V2 for batch predictions with the Vertex AI SDK for Python
- Vertex AI
- Python
- Notebook
Distillation step-by-step
Train a small (student) model to mimic the reasoning ability of a larger (teacher) model.
- Generative KI in Vertex AI
- Python
- Notebook
Tuning and deploy a foundation model
Create and tune a data pipeline.
- Generative KI in Vertex AI
- Python
- Notebook
Question Answering with Large Documents
Build a question-answering system (or "bot") over multiple large documents so that Vertex AI PaLM API can answer any questions about the contents of those documents.
- Generative KI in Vertex AI
- Python
- Notebook
Multimodal retail recommendation: using Gemini to recommend items based on images and image reasoning
Create a multimodal recommendation system using Gemini 1.0 Pro Vision model
- Generative KI in Vertex AI
- Python
- Notebook
Document Processing with Gemini
Learn how to process documents with Apache Beam.
- Generative KI in Vertex AI
- Python
- Notebook
Document Q&A With Retrieval Augmented Generation
Build a document understanding pipeline with Apache Beam using BigQuery, Pub/Sub and Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Editing with Imagen 2 on Vertex AI
Use this sample notebook to perform image editing with Imagen 2 on Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Responsible AI with Vertex AI Gemini API: Safety ratings and thresholds
Detect and mitigate risks of unintended and unforeseen outputs from large language models.
- Generative KI in Vertex AI
- Python
- Notebook
Using Vertex AI LLMs with data in BigQuery
Use BigQuery ML to generate text with Vertex AI LLMs (PaLM 2 for Text)
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with the Vertex AI Codey APIs - Code Generation
Get started with code generation using Codey models
- Generative KI in Vertex AI
- Python
- Notebook
Text Summarization of Large Documents using LangChain 🦜🔗
Summarize long documents using large language models
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Function Calling with the Gemini API & Python SDK
Learn how to call functions from Gemini, a family of generative AI models developed by Google DeepMind.
- Generative KI in Vertex AI
- Python
- Notebook
Text Extraction with Generative Models on Vertex AI
Extract text from a document using the Google Cloud Natural Language API.
- Generative KI in Vertex AI
- Python
- Notebook
Gemini: An Overview of Multimodal Use Cases
Explore multimodal use cases with Gemini 1.0 Pro Vision and the Vertex AI Gemini API.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with the Vertex AI Gemini API with cURL
Use the Vertex AI Gemini API to generate text, images, and videos from prompts.
- Generative KI in Vertex AI
- Python
- Notebook
Question Answering with Large Documents using LangChain 🦜🔗
Build a question-answering (Q&A) system using LangChain with Vertex AI PaLM API to extract information from large documents.
- Generative KI in Vertex AI
- Python
- Notebook
Use BigQuery DataFrames with Generative AI for code generation
Generate sample code using BigQuery DataFrames and Vertex AI Generative AI.
- Generative KI in Vertex AI
- Python
- Notebook
Video Analysis with Gemini
Use this notebook to learn how to use the Google Cloud Natural Language API.
- Generative KI in Vertex AI
- Python
- Notebook
RAG Based on Sensitive Data Protection using Faker
Anonymize PII data using Cloud DLP and Faker Library.
- Generative KI in Vertex AI
- Python
- Notebook
Text Classification with Generative Models on Vertex AI
Classify text using a generative language model
- Generative KI in Vertex AI
- Python
- Notebook
Custom Embeddings with Vertex AI Search
Import data into Google Cloud AI Platform using BigQuery and Pub/Sub.
- Generative KI in Vertex AI
- Python
- Notebook
Sheet Music Analysis with Gemini
Extract metadata from sheet music PDFs using Gemini.
- Generative KI in Vertex AI
- Python
- Notebook
Use Retrieval Augmented Generation (RAG) with Codey APIs
Demonstrate how to augment output from Codey APIs by bringing in external knowledge.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with the Gemini Pro Model
Use the Vertex AI Gemini API to generate text, images, and audio using multimodal prompts.
- Generative KI in Vertex AI
- Python
- Notebook
Small-to-big Retrieval-Augmented Generation
Create a Dataproc cluster to run Apache Beam jobs.
- Generative KI in Vertex AI
- Python
- Notebook
Analyzing movie posters in BigQuery with Gemini 1.0 Pro and Gemini 1.0 Pro Vision
Demonstrate how to use Gemini models for analysis in BigQuery.
- Generative KI in Vertex AI
- Python
- Notebook
Retrieval Augmented Generation(RAG) with AlloyDB
Learn how to migrate a PostgreSQL database to AlloyDB on Google Cloud.
- Generative KI in Vertex AI
- Python
- Notebook
Building and Deploying a Google Maps API Agent with Reasoning Engine
Use Gemini to generate function names in your code.
- Generative KI in Vertex AI
- Python
- Notebook
Bulk Question Answering with Vertex AI Search
Learn to train a custom object detection model from scratch with the TensorFlow Object Detection API.
- Generative KI in Vertex AI
- Python
- Notebook
Text Extraction with Generative Models on Vertex AI
Extract text from a pdf using Apache Tika.
- Generative KI in Vertex AI
- Python
- Notebook
Question Answering Over Documents
Learn how to use BigQuery ML to create a pipeline for predicting churn and get insights into why customers are leaving.
- Generative KI in Vertex AI
- Python
- Notebook
SQL Code Generation on Vertex AI
Learn how to generate SQL queries using a large language model and prompt engineering.
- Generative KI in Vertex AI
- Python
- Notebook
GenAI for Marketing - Place Logo & Text Overlays on Image
Add branded text and images to generated images using a text-to-image model and a layout transformer.
- Generative KI in Vertex AI
- Python
- Notebook
Text Summarization with Generative Models on Vertex AI
Summarize text using an extractive or abstractive model.
- Generative KI in Vertex AI
- Python
- Notebook
Ideation with Generative Models on Vertex AI
Learn how to use generative models to boost creativity and innovation.
- Generative KI in Vertex AI
- Python
- Notebook
Retrieval Augmented Generation (Using Open Source Vector Store) - Procurement Contract Analyst - Palm2 & LangChain
Use this notebook to create a user journey map for your product.
- Generative KI in Vertex AI
- Python
- Notebook
Ideation with Generative Models on Vertex AI
Learn how to use generative models to boost creativity and innovation.
- Generative KI in Vertex AI
- Python
- Notebook
Supervised Fine Tuning with Gemini for Article Summarization
Fine-tune the Gemini generative model using Vertex AI Supervised Tuning.
- Generative KI in Vertex AI
- Python
- Notebook
Text Summarization with Generative Models on Vertex AI
Summarize text using extractive or abstractive summarization techniques.
- Generative KI in Vertex AI
- Python
- Notebook
Question Answering with Generative Models on Vertex AI
Use the large language model 'LaMDA' to answer your questions.
- Generative KI in Vertex AI
- Python
- Notebook
Intro to Building and Deploying an Agent with Reasoning Engine in Vertex AI
Use the Gemini language model to generate code for a function that takes an image of a cat and returns the breed of the cat.
- Generative KI in Vertex AI
- Python
- Notebook
Augment Gemini Output with Vector Embeddings from BigQuery
Create text embeddings for publicly available abstracts from patents data and use them in our LLM search
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with LangChain 🦜️🔗 + Vertex AI PaLM API
Create a pandas DataFrame from CSV data.
- Generative KI in Vertex AI
- Python
- Notebook
Editing with Imagen 2 and MaskMode on Vertex AI
Edit images with Imagen 2 on Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
SQL Code Generation on Vertex AI using LangChain 🦜🔗
Learn to generate SQL queries from natural language with prompt engineering.
- Generative KI in Vertex AI
- Python
- Notebook
Question Answering with Generative Models on Vertex AI
Use the Large Language Model (LLM) from HuggingFace to generate text based on a prompt.
- Generative KI in Vertex AI
- Python
- Notebook
Advanced Prompting for ImageGeneration Using Imagen 2
Create a data store and import structured or unstructured documents into it.
- Generative KI in Vertex AI
- Python
- Notebook
GroceryBot, a sample grocery and recipe assistant - RAG + ReAct
Demonstrate how to use RAG and ReAct to create a conversational bot that assists a customer in their grocery shopping journey.
- Generative KI in Vertex AI
- Python
- Notebook
Analyze a codebase with the Vertex AI Gemini 1.5 Pro
Analyze an entire codebase with Gemini 1.5 Pro and prompt it with a single code file.
- Generative KI in Vertex AI
- Python
- Notebook
Document QnA using Gemini and Vertex Vector Search
Perform RAG to perform Q&A over a document filled with both text and images.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with Chat with the Gemini Pro model
Demonstrate how to send chat prompts to the Gemini 1.0 Pro model using the Vertex AI SDK for Python and LangChain.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with Text Embeddings + Vertex AI Vector Search
Import data from a variety of sources and formats.
- Generative KI in Vertex AI
- Python
- Notebook
Code RAG - Reuse your already created codebase to generate more code
Use this notebook to learn about Code RAG, a technique that can help boost developer productivity by suggesting reusable code snippets.
- Generative KI in Vertex AI
- Python
- Notebook
Image Generation with Imagen on Vertex AI
Generate images using text prompts with Imagen on Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Search - Querying Blended Data Apps and Summarization with Gemini
Create a search app with Vertex AI Search.
- Generative KI in Vertex AI
- Python
- Notebook
Text Summarization of Large Documents
Summarize a short paragraph using a variety of techniques.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with Translation
Demonstrate how to use the Google Cloud Translation API to translate text.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with the Vertex AI Codey APIs - Code Chat
Learn how to use Codey chat models to generate code chat conversations with the codechat-bison foundation model.
- Generative KI in Vertex AI
- Python
- Notebook
Multimodal Retrieval Augmented Generation (RAG) using Vertex AI Gemini API
Perform multimodal RAG where you will perform Q&A over a financial document filled with both text and images.
- Generative KI in Vertex AI
- Python
- Notebook
Working with Data Structures and Schemas in Gemini Function Calling
Create a description of a function in your code, then pass that description to a language model in a request. The response from the model includes the name of the function, its arguments, and its return type
- Generative KI in Vertex AI
- Python
- Notebook
Visual Question Answering (VQA) with Imagen on Vertex AI
Use the Imagen on Vertex AI library to perform visual question answering on images.
- Generative KI in Vertex AI
- Python
- Notebook
Intra Knowledge QnA
Get started with the Gemini 1.0 Pro model for natural language tasks, multi-turn text and code chat, and code generation.
- Generative KI in Vertex AI
- Python
- Notebook
ReAct (Reasoning + Acting) + Custom tool for Healthcare NL API + Gemini 1.0 Pro + Langchain
Use the GenAI medical coding model to suggest accurate medical codes for healthcare claims.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with the Vertex AI PaLM API & Python SDK
Get started with PaLM 2, a large language model from Google AI, by completing a series of interactive coding exercises in this Colab notebook.
- Generative KI in Vertex AI
- Python
- Notebook
Generate a mock auto owner's manual using Gemini
Create a dataset with a column of the number of days between two dates.
- Generative KI in Vertex AI
- Python
- Notebook
Create a Vertex AI Datastore and Search Engine
Process your data and prepare it for analysis by filtering, sorting, and pivoting data.
- Generative KI in Vertex AI
- Python
- Notebook
Prompt Design - Best Practices
Learn how to design prompts to improve the quality of your responses.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Vector Search Quickstart
Use this notebook to train a deep learning model to identify a person from a photo.
- Generative KI in Vertex AI
- Python
- Notebook
Visualizing embedding similarity from text documents using t-SNE plots
Embed a collection of labelled documents and then plot the embeddings on a two-dimensional t-SNE plot to observe how similar documents tend to cluster together based on their embeddings.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with Grounding with Gemini in Vertex AI
Use this notebook to learn how to ground your generative language model in your own data using Vertex AI Search.
- Generative KI in Vertex AI
- Python
- Notebook
Get started with embeddings tuning on Vertex AI
Tune text embeddings for specific domains/tasks to enhance understanding and improve retrival performance on Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with Grounding in Vertex AI
Ground your large language model responses in data using Vertex AI Search.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Search with Filters & Metadata
Use this notebook to create a Vertex AI model from a BERT model and deploy it to AI Platform.
- Generative KI in Vertex AI
- Python
- Notebook
Text Classification with Generative Models on Vertex AI
Classify text into multiple categories using the PaLM 2 language model.
- Generative KI in Vertex AI
- Python
- Notebook
BigQuery DataFrames ML: Drug Name Generation
Demonstrate an enterprise generative AI use case by generating brand names for pharmaceutical drugs.
- Generative KI in Vertex AI
- Python
- Notebook
Multimodal Retrieval Augmented Generation (RAG) with Gemini, Vertex AI Vector Search, and LangChain
Perform multimodal RAG with Gemini to perform Q&A over a financial document filled with both text and images.
- Generative KI in Vertex AI
- Python
- Notebook
Using Gemini in Education
Explore a variety of use cases enabled by Gemini models in the context of education.
- Generative KI in Vertex AI
- Python
- Notebook
Prompt Design - Best Practices
Learn the basics of prompt engineering with this notebook.
- Generative KI in Vertex AI
- Python
- Notebook
Context Aware Sensitive Data Detection using LangChain + Vertex AI PaLM API
Detect sensitive information in unstructured data such as call or chat transcripts.
- Generative KI in Vertex AI
- Python
- Notebook
Product Description Generator From Image
Create product descriptions from images by using the pre-trained BLIP Image Captioning model on Vertex AI for online prediction.
- Generative KI in Vertex AI
- Python
- Notebook
Synthetic Data Generation using Gemini APIs
Use the Vertex AI Gemini API to generate creative text, translate languages, and write different kinds of creative content.
- Generative KI in Vertex AI
- Python
- Notebook
How to use the LangChain 🦜️🔗 BigQuery Data Loader
use a cloud based TPU to train a model to classify handwritten digits
- Generative KI in Vertex AI
- Python
- Notebook
Using a Gradio app and Vertex AI for image generation
Create a Gradio app (frontend) that integrates with Imagen on Vertex AI to generate high quality images using natural language prompts.
- Generative KI in Vertex AI
- Python
- Notebook
Data Augmentation for Text Data using BigQuery DataFrames
Learn how to augment your training dataset with synthetic data using various techniques, including synonym replacement, word shuffling, and adding typos.
- Generative KI in Vertex AI
- Python
- Notebook
Create High Quality Visual Assets with Imagen and Gemini
Learn how to generate high-quality images from text descriptions with Imagen on Vertex AI.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Search and Conversation Data Store Status Checker
Use this notebook to learn how to build a machine learning model to predict the price of houses in Ames, Iowa.
- Generative KI in Vertex AI
- Python
- Notebook
Forced Function Calling with Tool Configurations in Gemini
Demonstrate forced Function Calling in the Gemini model.
- Generative KI in Vertex AI
- Python
- Notebook
DescriptionGen: SEO-optimized product description generation for retail using LangChain 🦜🔗
Demonstrate how to use LangChain together with Vertex AI LLMs to generate product descriptions and titles from product attributes or specifications
- Generative KI in Vertex AI
- Python
- Notebook
Using Gemini Function Calling to Get Real-Time Company News and Insights
Use the Function Calling in Gemini API to create a description of a function in your code, then pass that description to a language model in a request.
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Mistral and Mixtral 8x7B Models
Deploy prebuilt Mistral and Mixtral 8x7B models in Vertex AI.
- Generative KI in Vertex AI
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V2.1
Demonstrate running local inference and finetuning/deploying stable-diffusion-2-1 on Vertex AI
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V1.5
Deploy a Stable Diffusion model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL 1.0
Deploy Stable Diffusion XL models on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI SDK: AutoML training tabular regression model for online prediction using BigQuery
Create tabular regression models and do online prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma Finetuning (PEFT + TGI)
Finetune and deploy Gemma models with Vertex AI Custom Training Job.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (Deployment)
Deploy prebuilt LLaMA2 models and deploy prebuilt LLaMA2 models with vLLM to improve serving throughput.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Evaluating batch prediction results from AutoML video classification model
Evaluate an AutoML video classification model with Vertex AI Model Evaluation.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden Keras Stable Diffusion
Use Keras Stable Diffusion to generate images in Vertex AI Model Garden
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Code LLaMA Deployment
Deploy pretrained Code LLaMA models using vLLM with best serving throughput
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Finetune Gemma using KerasNLP and deploy to Vertex AI
Get started with Google Cloud using the Cloud Shell.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - BLIP Image Captioning
Deploy the pre-trained BLIP Image Captioning model on Vertex AI for online prediction
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Online feature serving and vector retrieval of BigQuery data with Vertex AI Feature Store
Demonstrate how to use Vertex AI Feature Store for online serving and vector retrieval of feature values in BigQuery.
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for setup for tabular models
Setup Vertex AI Model Monitoring for tabular models
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL 1.0 (Dreambooth LoRA Finetuning)
Fine-tune a diffusion model on Vertex AI with Dreambooth LoRA
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with Vertex AI Experiments
Learn how to get started with Vertex AI Experiments, and how to use Vertex AI in production.
- Vertex AI
- Python
- Notebook
Vertex AI Migration: Hyperparameter Tuning
Tune hyperparameters in a custom tabular classification TensorFlow model using the Vertex AI SDK for Python
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden: Google Proprietary Model Image Classification
Train new image classification models using Google proprietary models in Vertex AI Model Garden.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - ControlNet
Deploy the ControlNet model on Vertex AI for online prediction
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden Keras YOLOv8
Use the Keras YOLOv8 model to detect objects in images.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Tabular Workflows: Wide & Deep Pipeline
Run the Wide & Deep algorithm using Vertex AI Tabular Workflows
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (RLHF)
Tune a LLaMA2 using Vertex AI RLHF to improve its accuracy by fine-tuning it with a training dataset.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion Custom Model
Serve a popular third-party stable diffusion models from huggingface.co on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Tabular Workflow for Forecasting
Train an AutoML model for time series forecasting using Vertex AI Tabular Workflow for Forecasting.
- Vertex AI
- Python
- Notebook
Vertex SDK: AutoML training tabular classification model for online explanation
Create tabular classification models and do online prediction with explanation using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MediaPipe with Face Stylizer
Customize an on-device face stylizer model in Vertex AI Model Garden
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLava 1.5
Deploy the pre-trained Llava 1.5 model on Vertex AI for online prediction
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Training and batch prediction with BigQuery source and destination for a custom tabular classification model
Train and batch predict a custom tabular classification model in a Vertex AI pipeline
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Evaluating BatchPrediction results from a custom tabular classification model
Evaluate a custom-trained tabular classification model saved in Vertex AI Model Registry using the Vertex AI classification model evaluation component.
- Vertex AI
- Python
- Notebook
Build Vertex AI Experiment lineage for custom training
Learn about Vertex AI Experiments and Vertex ML Metadata to reuse code paths and simplify complex data wrangling.
- Vertex AI
- Python
- Notebook
Get started with Gemma on Ray on Vertex AI
Use this tutorial to learn how to use Ray on Vertex AI to fine-tune and serve Gemma on Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden TFVision With Image Segmentation
Use Vertex AI Model Garden to train and deploy a custom TensorFlow object detection model.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LaMa
Deploy a prebuilt LaMa model to a Vertex Endpoint and query it.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with Vertex AI Private Endpoints
Create and use Vertex AI Private Endpoint for serving models
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - JAX Vision Transformer
Finetune a JAX ViT-B16 model for image classification task on GPU and deploy them on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI - Gemma distributed tuning with LoRA on TPUv5e, serving on L4 GPU
Fine-tune and deploy a LoRA model with Vertex AI Custom Training Job.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Detectron2
Finetune detectron2 based Faster R-CNN, RetinaNet and Mask R-CNN for image detection and segmentation tasks and deploy them on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Explaining text classification with Vertex Explainable AI
Get feature attributions for a text classification model using Vertex Explainable AI.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Segment Anything Model (SAM) Serving on Vertex AI
Demonstrate using the huggingface/transformers framework to serve Segment Anything Model (SAM) models and deploy them for online prediction on Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Distill a model
Use the Vertex AI Distilling Step by Step method to train a smaller model that outperforms LLMs
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: AutoML text classification pipelines using google-cloud-pipeline-components
Build an AutoML text classification workflow on Vertex AI Pipelines.
- Vertex AI
- Python
- Notebook
Train PyTorch model on Vertex AI with data from Cloud Storage
Create a custom training job using PyTorch and a dataset stored on Cloud Storage.
- Vertex AI
- Python
- Notebook
Vertex SDK: Custom training tabular regression model for batch prediction with explainabilty
Train and deploy a custom tabular regression model for batch prediction with explanation using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - InstructPix2Pix
Deploy the InstructPix2Pix model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Custom model batch prediction with feature filtering
Train a custom tabular classification model and perform batch prediction with feature filtering.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - BLIP2
Deploy the pre-trained BLIP2 model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Deploying Iris-detection model using FastAPI and Vertex AI custom container serving
Build a custom container to serve a scikit-learn model on Vertex AI using FastAPI.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden TFVision With Image Object Detection
Use the TFVision in Vertex AI Model Garden to train and deploy new models.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL Turbo
Deploy a text-to-image model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL 1.0 - Latent Consistent Model
Deploy Stable Diffusion XL Latent Consistent Model and LCM-LoRA models on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Distributed Vertex AI Hyperparameter Tuning
Run a hyperparameter tuning job with Vertex AI Training to discover optimal hyperparameter values for an ML model.
- Vertex AI
- Python
- Notebook
Taxi fare prediction using the Chicago Taxi Trips dataset
Analyze, feature select, build, and deploy a taxi-fare prediction model on Vertex AI with Explainable AI.
- Vertex AI
- Python
- Notebook
Vertex AI SDK : AutoML training image object detection model for batch prediction
Create an image object detection model using the Vertex AI SDK and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Profile model training performance using Vertex AI TensorBoard Profiler in custom training with prebuilt container
Enable the TensorFlow Profiler in Vertex AI for custom training with a prebuilt container.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V1.5 (Dreambooth+LoRA Finetuning)
Fine-tune the stable-diffusion-v1.5 model with Dreambooth and LoRA, and deploy the fine-tuned models to a Vertex AI Endpoint.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Churn prediction for game developers using Google Analytics 4 and BigQuery ML
Train and evaluate a propensity model in BigQuery ML to predict user retention on a mobile game.
- Vertex AI
- Python
- Notebook
Vertex AI Migration: AutoML Image Classification
Train and deploy an AutoML image classification model using the Vertex AI SDK for Python
- Vertex AI
- Python
- Notebook
Multicontender vs Champion methodology for model deployment into production
Deploy the next version of a model into production using Vertex AI Pipeline and the multicontender vs champion method.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - CodeGemma Model (Deployment)
Deploy CodeGemma models on GPU using vLLM, the state-of-the-art open source LLM serving solution on GPU.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Explanations with TabNet models
Train a TabNet model with Vertex AI.
- Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: Custom training using Python package, managed text dataset, and TF Serving container
Create a custom model using custom python package training and serve it using tensorflow-serving container
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - PEFT
Fine-tune causal language models with performance efficient finetuning libaries (PEFT), and run inferences with containers in Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI SDK: Training an AutoML text sentiment analysis model for online predictions
Train and deploy an AutoML text sentiment analysis model and get online predictions from it.
- Vertex AI
- Python
- Notebook
Sentiment Analysis using AutoML Natural Language and Vertex AI
Perform sentiment analysis on a Stanford movie reviews dataset using AutoML Natural Language and deploy the sentiment analysis model on Vertex AI to get predictions.
- Vertex AI
- Python
- Notebook
Profile model training performance using Vertex AI TensorBoard Profiler
Enable Vertex AI TensorBoard profiler to debug model training performance for your custom training jobs.
- Vertex AI
- Python
- Notebook
Vertex AI migration: AutoML image object detection
Train and deploy an AutoML object detection model in Vertex AI with Python SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (Evaluation)
Evaluate LLaMA2 models with popular benchmark datasets through Vertex CustomJobs using EleutherAI's evaluation harness.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Pic2Word
Deploy pre-trained Pic2Word models in Google Cloud Vertex AI
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Instant ID
Deploy the InstantX/InstantID model to a Vertex AI Endpoint resource for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - AutoGluon
Fine tune a PyTorch based Autogluon model for tabular data and deploy it on Vertex AI for online prediction
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI SDK: AutoML training video action recognition model for batch prediction
Create video action recognition models and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Train and deploy PyTorch models with prebuilt containers on Vertex AI
Use a pre-built Vertex AI container image to train a model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V1.5 (LoRA Finetuning)
Finetune stable-diffusion-v1-5 model with LoRA and deploy it on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden GenAI Workshop for Instant ID
Deploy model to a Vertex AI Endpoint resource. Run online predictions for `instant-id` tasks, from the UI. Adjust the parameters, such as prompt, negative_
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI TensorBoard integration with Vertex AI Pipelines
See how to use Vertex AI TensorBoard to visualize experiments and monitor model performance.
- Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML training text entity extraction model for online prediction
Create text entity extraction models and do online prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML training tabular regression model for batch prediction using BigQuery
Create tabular regression models and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Get started with Vertex AI Training for XGBoost
Train XGBoost models using Vertex AI Training
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion Inpainting
Deploy runwayml/stable-diffusion-inpainting to Vertex AI for Online Prediction
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Digest and analyze data from BigQuery with Dataproc
Analyze GitHub Activity Data to explore metrics related to programming languages used in GitHub repositories.
- Vertex AI
- Python
- Notebook
Vertex AI Experiments: Custom training autologging - Local script
Run ML experiments with Vertex AI training and Vertex AI Experiments autologging integration.
- Vertex AI
- Python
- Notebook
Vertex AI: Create, train, and deploy an AutoML text classification model
Build an AutoML text classification model on Vertex AI.
- Vertex AI
- Python
- Notebook
Vertex AI TensorBoard custom training with custom container
Learn how to visualize your machine learning model training using Vertex AI TensorBoard
- Vertex AI
- Python
- Notebook
Gemma deployment to GKE using TGI on GPU
Deploy and serve text generation inference on gpus
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - CamP ZipNeRF (Jax) Notebook
Demonstrate a jax implementation of CamP: Camera Preconditioning for Neural Radiance Fields for training and rendering NeRFs more efficiently.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Zero-Shot Text-to-Video Generation
Deploy a model on Vertex AI and run online inference for Zero-Shot Text-to-Video Generation
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - OWL-ViT
Deploy a pre-trained OWL-ViT model on Vertex AI for online image captioning.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Mixtral 8x7B Model (Deployment)
Deploy prebuilt Mixtral 8x7B models in Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Profile model training performance using Cloud Profiler
Enable Cloud Profiler for your custom training jobs to monitor and optimize model training performance.
- Vertex AI
- Python
- Notebook
Vertex AI Migration: Custom image classification with a pre-built training container
Train using a pre-built container and deploy a custom image classification model for online and batch prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma Evaluation
Evaluate pre-trained and instruction-tuned Gemma models in Vertex AI
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Training an acquisition-prediction model using Swivel, BigQuery ML and Vertex AI Pipelines
Build a Text Categorization model using DataflowPythonJobOp and BigQuery ML components on Vertex AI Pipelines.
- Vertex AI
- Python
- Notebook
Tabular Workflows: TabNet Pipeline
Run TabNet algorithm using Vertex AI Tabular Workflows.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MediaPipe with image classification
Train an on-device image classification model in Vertex AI Model Garden
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI SDK: AutoML training tabular binary classification model for batch explanation
Create tabular binary classification models and do batch prediction with explanation using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML training hierarchical forecasting for batch prediction
Create hierarchical forecasting models using a Google Cloud AutoML and do batch prediction.
- Vertex AI
- Python
- Notebook
Get started with TensorFlow Serving with Vertex AI Prediction
Serve predictions from a Vertex AI Endpoint with TensorFlow Serving serving binary
- Vertex AI
- Python
- Notebook
Vertex AI: Vertex AI Migration: AutoML Text Entity Extraction
Create an AutoML Text Entity Extraction model, with a Vertex AI ncbi disease research dataset, and serve the model for batch prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V2.1 (Dreambooth Finetuning)
Finetune the stabilityai/stable-diffusion-2-1 model with Dreambooth and deploy it on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with Vertex AI Data Labeling
Get started with Vertex AI Data Labeling service.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Vicuna Models
Run local inference and deploy prebuilt Vicuna models with vLLM to improve serving throughput.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V1.5 (Dreambooth Finetuning)
Finetune stable-diffusion-v1.5 model with Dreambooth, and deploy it on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI SDK: Custom training image classification model for online prediction with explainability
Train and deploy a custom image classification model for online prediction with explanation using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MoViNet video clip classification
Demonstrate how to use MoViNet in Vertex AI Model Garden.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI migration: Custom image classification with a custom training container
Train a custom image classification model with TensorFlow and the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI: Track parameters and metrics for locally trained models
Track metrics and parameters for ML training jobs using Vertex AI SDK for Python.
- Vertex AI
- Python
- Notebook
Train a BigQuery ML ARIMA_PLUS Model using Vertex AI Tabular Workflows
Train a BigQuery ML ARIMA_PLUS forecasting model to predict monthly product sales.
- Vertex AI
- Python
- Notebook
Vertex AI TensorBoard hyperparameter tuning with the HParams Dashboard
create a Vertex AI TensorBoard instance and visualize model training metrics
- Vertex AI
- Python
- Notebook
Build a fraud detection model on Vertex AI
Build, deploy, and analyze predictions from a simple Random Forest model on a synthetic fraud transaction dataset to solve a financial fraud detection problem.
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for XGBoost models
Demonstrate how to use Vertex AI Model Monitoring for XGBoost models.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Evaluating batch prediction results from an AutoML Tabular classification model
Evaluate an AutoML Tabular classification model with Vertex AI Model Evaluation
- Vertex AI
- Python
- Notebook
Vertex AI TensorBoard custom training with prebuilt container
Learn how to visualize your machine learning experiment with Vertex AI TensorBoard.
- Vertex AI
- Python
- Notebook
Using the Vertex AI SDK with Large Language Models
Use the Vertex AI SDK to run Large Language Models on Vertex AI via the PaLM API.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MoViNet video action recognition
Train new models and test trained models for video action recognition using MoViNet in Vertex AI Model Garden.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL 1.0 - TPU v5e
Deploy a text-to-image model for online prediction on Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with Model Garden Pipeline Templates for BERT models
Modify, compile, and execute a prebuilt Vertex AI Model Garden pipeline template with Vertex AI Pipelines.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Dolly V2
Deploy pre-trained Dolly V2 models on Vertex AI for online prediction and evaluate the models on benchmark datasets.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Feature Store (Legacy): Streaming import SDK
Demonstrate how to use streaming import at the SDK layer in Vertex AI Feature Store (Legacy).
- Vertex AI
- Python
- Notebook
Get started with Vertex AI hyperparameter tuning pipeline components
Demonstrate how to use Vertex AI hyperparameter tuning pipeline components.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Falcon Instruct (PEFT)
Run inferences locally with prebuilt Falcon Instruct models, deploy prebuilt Falcon Instruct models, finetune and deploy Falcon Instruct models with performance efficient finetuning libraries (PEFT), quantizing and deploying Falcon Instruct models with GPTQ, and evaluating PEFT-finetuned Falcon Instruct models in Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Using Vertex AI Feature Store (Legacy) with Pandas Dataframe
Learn how to use Pandas with Vertex AI Feature Store (Legacy) using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Custom training and batch prediction
Train and deploy a custom image classification model for batch prediction using the Vertex AI SDK for Python.
- Vertex AI
- Python
- Notebook
Vertex AI SDK: Custom training image classification model for batch prediction with explainabilty
Train and deploy a custom image classification model for batch prediction with explanation using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
AutoML training image object detection model for online prediction
Create an image object detection model with Vertex AI SDK and do online prediction
- Vertex AI
- Python
- Notebook
Serving PyTorch image models with prebuilt containers on Vertex AI
Upload and deploy a PyTorch image model using a prebuilt serving container and make online and batch predictions.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - ViT-GPT2 Image Captioning
Deploy pre-trained ViT-GPT2 Image Captioning model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
AutoML training text entity extraction model for batch prediction
Create text entity extraction models and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Get started with NVIDIA Triton server
Deploy a `Vertex AI Model` resource to a NVIDIA Triton Inference Server and make online predictions using Vertex AI Prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - WizardCoder
Serve WizardCoder, a large pretrained language model that is capable of following complicated instructions to generate Python code.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with TensorFlow serving functions with Vertex AI Raw Prediction
Use Vertex AI Raw Prediction to send raw HTTP content directly to a model deployed to a Vertex AI Endpoint
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Evaluating batch prediction results from custom tabular regression model
Evaluate a custom regression model using the Vertex AI regression model evaluation component.
- Vertex AI
- Python
- Notebook
Distributed XGBoost training with Dask
Create a distributed custom training job using XGBoost with Dask on Vertex AI.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Falcon Instruct (Quantization)
Quantize Falcon Instruct models using AutoGPTQ and deploy them to Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with Endpoint and shared VM
Learn how to use Vertex AI for E2E MLOps on Google Cloud in production.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL Lightning
Deploy the ByteDance/SDXL-Lightning model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - ImageBind
Deploy prebuilt Imagebind models for online prediction in Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Training a TensorFlow model on BigQuery data
Train and deploy a custom tabular classification model for online prediction using the Vertex AI SDK for Python.
- Vertex AI
- Python
- Notebook
SparkML with Dataproc and BigQuery
Run Apache SparkML jobs with Dataproc and BigQuery to exemplify a common machine learning pipeline use case
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - TIMM
Train and deploy PyTorch timm models on Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden MediaPipe with gesture recognition
Train an on-device gesture recognition model using MediaPipe Model Maker in Vertex AI Model Garden.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Experiments: Autologging
Use the Vertex AI SDK to track metrics and parameters automatically, which will help you reproduce your experiments.
- Vertex AI
- Python
- Notebook
Vertex AI Tuning a PEFT model
Tune a PEFT large-language model (LLM) and make a prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: model upload, predict, and evaluate using google-cloud-pipeline-components
Build a Vertex AI Pipelines workflow that uploads a tabular custom model, creates a BatchPredictionJob, and evaluates the model with the BatchPredictionJob results
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for custom tabular models
Use Vertex AI Model Monitoring to monitor your custom tabular models.
- Vertex AI
- Python
- Notebook
Vertex AI Feature Store Feature View Service Agents Tutorial
Enable a dedicated service agent for a feature view in Vertex AI Feature Store.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: AutoML text classification pipelines using google-cloud-pipeline-components
Evaluate an AutoML text classification model using Vertex AI Model Evaluation
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MediaPipe with object detection
Train new models with MediaPipe Model Maker in Vertex AI Model Garden
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Pipelines with KFP 2.x
Demonstrate how to use Vertex AI Pipelines with KFP 2.x
- Vertex AI
- Python
- Notebook
Vertex AI: Track parameters and metrics for locally trained models
Track model training and evaluation metrics with Vertex AI Experiments.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (PEFT Hyperparameter Tuning)
Download prebuilt LLaMA2 models and tune LLaMA2 model hyperparameters with parameter efficient finetuning libraries (PEFT) on Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
AutoML training image classification model for online prediction
Get predictions from an image classification model using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Private Endpoint
Create and use Vertex AI `PrivateEndpoint` resources for serving models.
- Vertex AI
- Python
- Notebook
Vertex AI Migration: Custom Scikit-Learn model with pre-built training container
Train and deploy a custom tabular classification scikit-learn model for batch prediction with Vertex AI SDK.
- Vertex AI
- Python
- Notebook
AutoSxS: Evaluate a LLM in Vertex AI Model Registry against a third-party model
Evaluate the performance between a generative AI model in Vertex AI Model Registry and a third-party language model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LayoutML Document QA
Deploy a pre-trained LayoutML model on Vertex AI for online image captioning.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Ray on Vertex AI cluster management
Learn how to use Ray on Vertex AI SDK for cluster management.
- Vertex AI
- Python
- Notebook
Interactive exploratory analysis of BigQuery data in a notebook
Perform exploratory data analysis in BigQuery using Vertex AI Workbench.
- Vertex AI
- Python
- Notebook
Vertex AI LLM Reinforcement Learning from Human Feedback
Tune a large-language model using reinforcement learning from human feedback (RLHF) on Vertex AI
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - JAX OWL-ViT v2
Serve a JAX OWL-ViT v2 model for Simple Open-Vocabulary Object Detection with Vision Transformers task and deploy them on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with Vertex AI Vizier
Learn how to use Vertex AI Vizier to tune hyperparameters for a machine learning model.
- Vertex AI
- Python
- Notebook
Run hyperparameter tuning for a TensorFlow model
Tune your machine learning model's hyperparameters using hyperopt
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Code LLaMA Evaluation
Evaluate Code LLaMA models using EleutherAI's Language Model Evaluation Harness (lm-evaluation-harness) with Vertex CustomJob.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Pipelines introduction for KFP
Get started with Vertex AI Pipelines with the Kubeflow Pipelines (KFP) SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Lightweight Python function-based components, and component I/O
Build Vertex AI Pipelines using the Kubeflow Pipelines SDK.
- Vertex AI
- Python
- Notebook
Custom training and online prediction
Train and deploy a custom image classification model for online prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Video Diffusion Img2Vid XT (Research Purpose)
Run local inference and deploy image-to-video model to Vertex AI for batch prediction
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
AutoSxS: Check autorater alignment against a human-preference dataset
Use Vertex AI automatic side-by-side (AutoSxS) to check how well the autorater aligns with the human rater.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: pipeline control structures using the KFP SDK
Build Vertex AI Pipelines that use control structures with the Kubeflow Pipelines (KFP) SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Mistral-7B (PEFT)
Finetune Mistral with QLoRa and deploy to Vertex AI endpoint.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Model train, upload, and deploy using Google Cloud Pipeline Components
Train a custom model using Vertex AI Pipelines and deploy it to an endpoint
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden GenAI Workshop for Image Generation (inspired by Stable Diffusion WebUI)
Start a playground based on Gradio UI for stable diffusion models.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with importing a custom model evaluation to the Vertex AI Model Registry
Import a custom model evaluation to an existing Vertex AI Model Registry entry.
- Vertex AI
- Python
- Notebook
AutoML training image object detection model for export to edge
Create an image object detection model to export as an Edge model using an AutoML model.
- Vertex AI
- Python
- Notebook
Vertex SDK: Custom training tabular regression model for online prediction with explainabilty using get_metadata
Train and deploy a custom tabular regression model with Vertex AI SDK for online prediction with explanation.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: AutoML Tabular pipelines using google-cloud-pipeline-components
Build an AutoML tabular classification workflow on Vertex AI Pipelines.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: TPU model train, upload, and deploy using google-cloud-pipeline-components
Learn how to build a Vertex AI Pipelines workflow that trains a custom model using TPUs, uploads the model as a `Model` resource, creates an `Endpoint` resource, and deploys the `Model` resource to the `Endpoint` resource.
- Vertex AI
- Python
- Notebook
Vertex AI migration: AutoML tabular binary classification
Train a tabular binary classification model and do online prediction using an AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MediaPipe with text classification
Train on-device text classification models in Vertex AI Model Garden
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Evaluating batch prediction results from AutoML Tabular regression model
Evaluate a Vertex AI AutoML Tabular regression model using model evaluation component.
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for batch prediction in AutoML image models
Use Vertex AI Model Monitoring to monitor AutoML image models.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - ZipNeRF (Pytorch) Notebook
Implement a pytorch implementation of Zip-NeRF to render Neural Radiance Fields (NeRFs) more efficiently.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA3 (Deployment)
Demonstrate downloading and deploying prebuilt LLaMA3 models and deploy LLaMA3 with vLLM to improve serving throughput.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
AutoML training text sentiment analysis model for batch prediction
Create text sentiment analysis models and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI LLM and streaming prediction
Use Vertex AI LLM to make streaming predictions on large language models
- Vertex AI
- Python
- Notebook
Inventory prediction on ecommerce data using Vertex AI
Build a machine learning model for inventory prediction on an ecommerce dataset
- Vertex AI
- Python
- Notebook
Vertex AI: Track parameters and metrics for custom training jobs
Track metrics and parameters for Vertex AI custom training jobs and perform detailed analysis
- Vertex AI
- Python
- Notebook
Get started with Vertex AI Model Registry
Create and register multiple versions of a model using Vertex AI Model Registry.
- Vertex AI
- Python
- Notebook
Compare pipeline runs with Vertex AI Experiments
Experiment with different Vertex AI pipelines and track the runs to compare different configurations.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: AutoML tabular regression pipelines using google-cloud-pipeline-components
Build an AutoML tabular regression workflow on Vertex AI Pipelines.
- Vertex AI
- Python
- Notebook
Forecasting retail demand with Vertex AI and BigQuery ML
Explore demand forecasting using a BigQuery public retail dataset
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for custom tabular models with TensorFlow Serving container
Demonstrate how to use Vertex AI Model Monitoring for custom tabular models and a custom deployment container.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL 1.0 - LoRA serving
Deploy stabilityai/stable-diffusion-xl-base-1.0 with LoRA adapter to Vertex AI endpoint for text-to-image prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Getting Started with Claude 3 Models
Stream your Claude responses to reduce the end-user latency perception.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (PEFT Finetuning)
Download LLaMA2 models, finetune with PEFT, and deploy the finetuned model on Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with PyTorch on Ray on Vertex AI
Train and serve a PyTorch image classification model on Vertex AI using Ray on Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: AutoML image classification pipelines using google-cloud-pipeline-components
Build an AutoML image classification workflow on Vertex AI Pipelines using google_cloud_pipeline_components
- Vertex AI
- Python
- Notebook
Vertex AI Batch Prediction with Model Monitoring
Learn how to use Model Monitoring with batch prediction requests on a deployed Vertex AI Model resource.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (Quantization)
Demonstrate downloading prebuilt LLaMA2 models, deploying prequantized LLaMA2 models with vLLM, quantizating LLaMA2 models using either AWQ or GPTQ to reduce the GPU memory requirements and then deploying these models to vLLM as well.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden TFVision With Image Classification
Use this notebook to train and deploy TFVision models in Vertex AI Model Garden.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Semantic Search using Embeddings
Learn how to implement a semantic search engine using BERT and TensorFlow.
- Vertex AI
- Python
- Notebook
Vertex AI Migration: AutoML Video Object Tracking
Train an AutoML video object tracking model and do batch prediction with the Vertex AI SDK for Python.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Falcon Instruct (PEFT Finetuning)
Finetune and deploy Falcon Instruct models with performance efficient finetuning libraries (PEFT) in Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - BioGPT
Demonstrate how to serve BioGPT, a large language model trained on a massive dataset of biomedical text and code.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - BiomedCLIP
Serve a biomedical vision-language foundation model that is pretrained on PMC-15M
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Hugging Face Local Inference
Run local inference with various Hugging Face transformer or diffusion models.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
PyTorch distributed training with Vertex AI Reduction Server
Train a PyTorch ResNet model on the CIFAR-10 dataset using Reduction Server on Vertex AI.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden: Google Proprietary Model Image Object Detection
Train image object detection model using Vertex AI Model Garden
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI LLM Batch Inference with RLHF-tuned Models
Use this tutorial to perform inference on RLHF-tuned OSS large-language models (LLMs) with Vertex AI.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - OpenLLaMA (PEFT)
Demonstrate running local inference, deploying, finetuning, quantizing and evaluating OpenLLaMA
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Feature Store Based LLM Grounding Tutorial
Learn how to generate embedding vectors from large language models and load them into Vertex AI Feature Store.
- Vertex AI
- Python
- Notebook
Vertex AI - Llama2 fine-tuning with LoRA and serving on TPUv5e
Fine-tune a Llama2 7B model with LoRA using a Vertex AI Custom Training Job with a TPUv5e.
- Vertex AI
- Python
- Notebook
Vertex AI: Track artifacts and metrics across Vertex AI Pipelines runs using Vertex ML Metadata
Track metrics and artifacts across Vertex AI Pipelines runs.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Metrics visualization and run comparison using the KFP SDK
Learn how to build Vertex AI Pipelines that generate model metrics and metrics visualizations, and compare pipeline runs with Kubeflow Pipelines (KFP) SDK.
- Vertex AI
- Python
- Notebook
Get started with Vertex AI Training for LightGBM
Train a LightGBM model using Vertex AI Training
- Vertex AI
- Python
- Notebook
Vertex AI: Vertex AI Migration: AutoML Text Sentiment Analysis
Create an AutoML Text Sentiment Analysis model, with a Vertex AI ncbi disease research dataset, and serve the model for batch prediction.
- Vertex AI
- Python
- Notebook
Challenger vs Blessed methodology for model deployment into production
Use Vertex AI Pipeline to deploy the next version of a model into production using the challenger vs blessed method.
- Vertex AI
- Python
- Notebook
Get started with machine management for Vertex AI Pipelines
Manage machine resources when training as a component in `Vertex AI Pipelines`
- Vertex AI
- Python
- Notebook
Train a multi-class classification model for ads-targeting
Build a machine learning model for ads targeting use case
- Vertex AI
- Python
- Notebook
Online feature serving and fetching of BigQuery data with Vertex AI Feature Store Optimized Serving
Demonstrate how to use Optimized online serving in Vertex AI Feature Store for serving and fetching of feature values from BigQuery.
- Vertex AI
- Python
- Notebook
Vertex AI Hyperparameter Tuning for XGBoost
Learn how to tune XGBoost hyperparameters using Vertex AI Hyperparameter Tuning.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden: Video Object Tracking with Bytetrack
Deploy a video object tracking model on Vertex AI Endpoint resource
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Falcon Evaluation
Evaluate a pre-trained or a PEFT-finetuned Falcon Instruct models in Vertex AI
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - JAX DITO
Train and serve a JAX DITO model for open-vocabulary object detection and instance segmentation tasks on Vertex AI.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Train a Prophet Model using Vertex AI Tabular Workflows
Forecast inventory needs for each product and store using Prophet model in Vertex AI Tabular Workflows
- Vertex AI
- Python
- Notebook
Vertex AI: Vertex AI Migration: Custom XGBoost model with pre-built training container
Train and deploy a custom tabular classification XGBoost model for batch prediction using the Vertex AI SDK for Python.
- Vertex AI
- Python
- Notebook
Online feature serving and fetching of BigQuery data with Vertex AI Feature Store
Demonstrate how to use Vertex AI Feature Store for online serving and fetching of feature values in BigQuery.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Bart Large CNN
Deploy the pre-trained Bart Large CNN model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI SDK: AutoML training video classification model for batch prediction
Create video classification models and do batch prediction using a Vertex AI AutoML model.
- Vertex AI
- Python
- Notebook
Explaining image classification with Vertex Explainable AI
Get explanations for a model's predictions using feature attributions.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma Finetuning
Finetune and deploy Gemma models with Vertex AI Custom Training Job using parameter efficient finetuning methods PEFT (LoRA)
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - OpenCLIP
Finetune openclip and deploy it on vertex ai for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
BQML and AutoML - Experimenting with Vertex AI
Use Vertex AI Pipelines to rapidly prototype a model using both AutoML and BQML, do an evaluation comparison, for a baseline, before progressing to a custom model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring with Explainable AI Feature Attributions
Learn how to monitor your machine learning models with Vertex AI Model Monitoring
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Mixtral-8x7B (PEFT)
Fine tune Mixtral-8x7B with QLoRa data and deploy to a Vertex AI endpoint.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma (Deployment)
Deploy Gemma language models on TPU or GPU.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
AutoML Tabular Workflow pipelines
Train AutoML models using Vertex AI Tabular Workflows with different configurations.
- Vertex AI
- Python
- Notebook
Get started with Google Artifact Registry
Learn how to use Vertex AI with Google Artifact Registry.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - StarCoder
Deploy a pre-trained StarCoder model on Vertex AI for online prediction
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion Upscaler
Deploy stabilityai/stable-diffusion-x4-upscaler model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI SDK: AutoML tabular forecasting model for batch prediction
Create tabular forecasting models and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - JAX F-VLM
Train and serve a JAX F-VLM model for open-vocabulary object detection and instance segmentation tasks on Vertex AI
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3 Finetuning
Finetune and deploy Llama 3 models with Vertex AI using parameter efficient finetuning methods PEFT (LoRA).
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Training, tuning and deploying a PyTorch text sentiment classification model on Vertex AI
Build and deploy a text sentiment classification model by fine-tuning a pre-trained BERT model using Vertex AI and Pytorch SDK.
- Vertex AI
- Python
- Notebook
Custom training with custom training container and automatic registering of the model
Train a model with a custom container and automatically register the model.
- Vertex AI
- Python
- Notebook
Delete Outdated Experiments in Vertex AI TensorBoard
Delete old Vertex AI TensorBoard Experiments to avoid unnecessary storage costs
- Vertex AI
- Python
- Notebook
Vertex SDK: Custom training tabular regression model for online prediction with explainabilty
Train and deploy a custom tabular regression model for online prediction with explanation using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML Video Classification Example
Create an AutoML Video Classification Model and serve it for batch prediction.
- Vertex AI
- Python
- Notebook
Analysis of pricing optimization on CDM Pricing Data
Analyze pricing optimization on CDM Pricing Data using Vertex AI Workbench managed notebooks.
- Vertex AI
- Python
- Notebook
AutoML training image classification model for batch prediction
Use the Vertex AI SDK to create image classification models and do batch prediction using a Google Cloud AutoML model
- Vertex AI
- Python
- Notebook
Vertex AI Migration : AutoML Text Classification
Create an AutoML Text Classification Model, with a Vertex AI text dataset, and how to serve the model for batch prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Custom training with pre-built Google Cloud Pipeline Components
Use Vertex AI Pipelines with pre-built Google Cloud Pipeline Components to perform custom training.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - CLIP
Deploy pre-trained CLIP model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML training video object tracking model for batch prediction
Train a video object tracking model and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - NLLB (No Language Left Behind)
Deploy the pre-trained NLLB model on Vertex AI for online prediction
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Predictive maintenance using Vertex AI
Go through a predictive maintenance usecase on industrial data using machine learning techniques, deploy the machine learning model on Vertex AI, and automate the workflow using the executor feature of Vertex AI Workbench.
- Vertex AI
- Python
- Notebook
Get started with Vertex AI distributed training
Train a TensorFlow model with Vertex AI distributed training.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - BLIP VQA
Deploy the pre-trained BLIP VQA model on Vertex AI for online prediction.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Falcon Instruct Deployment
Run inferences locally with prebuilt Falcon Instruct models and deploy prebuilt Falcon Instruct models in Vertex AI
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Image Generation with MediaPipe
Customize a MediaPipe Image Generator to generate images of specific people, objects, and styles
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Garden - ViLT VQA
Deploy pre-trained ViLT VQA model on Vertex AI for online prediction
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Get started with BigQuery datasets
Get started with BigQuery Datasets for Vertex AI for BigQuery users.
- Vertex AI
- Python
- Notebook
Optimizing multiple objectives with Vertex AI Vizier
Learn how to use Vertex AI Vizier multi-objective optimization.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - WizardLM
Demonstrate how to serve WizardLM, a large pretrained language model that is capable of following complicated instructions.
- Vertex AI
- Generative KI in Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for AutoML tabular models
Use this Vertex AI Model Monitoring tutorial to monitor AutoML tabular models.
- Vertex AI
- Python
- Notebook