Open in app

Sign In

Write

Sign In

Sascha Heyer
Sascha Heyer

1.2K Followers

Home

Lists

About

Published in

Google Cloud - Community

·Jul 27

Generative AI — Protect your LLM against Prompt Injection in Production

We must presume that an attacker can completely manipulate the actions of our LLM and gain valuable insights. — 🛡️ In the digital battlefield of Large Language Models (LLMs), a new adversary known as “Prompt Injection” has risen. Cloaked in the style of normal input, it influences the LLM to execute unintended actions, posing a threat to our LLM applications. In this article, I strip away its camouflage, inspect…

Large Language Models

8 min read

Generative AI — Protect your LLM against Prompt Injection in Production
Generative AI — Protect your LLM against Prompt Injection in Production
Large Language Models

8 min read


Published in

Google Cloud - Community

·Jul 19

Generative AI - Image Generation using Vertex AI Imagen

Imagen is one of Google's foundation models, a text-to-image diffusion model developed by Google AI. — Google’s new foundation model, Imagen, is here to bring your dreams to life. Ever wondered what your dreamy doughnut descriptions would look like in real life? Or fantasized about being a pirate with a parrot on your shoulder? (Arr, Matey! 🦜) Take a peek into the world of Image Generation…

Vertex AI

8 min read

Generative AI - Image Generation using Vertex AI Imagen
Generative AI - Image Generation using Vertex AI Imagen
Vertex AI

8 min read


Published in

Google Cloud - Community

·Jul 14

Generative AI - Learn the LangChain Basics by Building a Berlin Travel Guide

LangChain is a framework that’s like a Swiss army knife for large language models (LLMs). — We’ll delve into LangChain’s components by implementing an engaging tour guide, making it an “all-knowing” Berlin expert. Follow along to see why LangChain is truly a game-changer by helping us easily create advanced LLM applications. So fasten your seatbelts and prepare for an engaging journey. With our AI companion powered…

Large Language Models

8 min read

Generative AI - Learn the LangChain Basics by Building a Berlin Travel Guide
Generative AI - Learn the LangChain Basics by Building a Berlin Travel Guide
Large Language Models

8 min read


Published in

Google Cloud - Community

·Jun 14

Generative AI - Understand and Mitigate Hallucinations in LLMs

Have you ever wondered if AI could dream? Interestingly, AI doesn’t dream, but it does “hallucinate”. — Large Language Models (LLMs) like PaLM or GPT occasionally demonstrate this intriguing behavior called hallucination. As the use of these models increases in various applications, understanding and managing these hallucinations has become essential. Understanding LLM Hallucinations An LLM hallucination is when the model makes stuff up that either doesn’t make sense or doesn’t…

Large Language Models

5 min read

Generative AI - Understand and Mitigate Hallucinations in LLMs
Generative AI - Understand and Mitigate Hallucinations in LLMs
Large Language Models

5 min read


Published in

Google Cloud - Community

·Jun 12

Generative AI - Mastering the Language Model Parameters for Better Outputs

Parameters in large language models are crucial because they help control the model's behavior. — PaLM 2 and GPT provide parameters for temperature, token limit, top-k, and top-p. This Article explains those parameters with everyday language and relatable examples. Before we dive into the parameters, it's crucial to understand the concept of tokens. The Language of Tokens In the world of large language models, a token can be as…

Llm

6 min read

Generative AI - Mastering the Language Model Parameters for Better Outputs
Generative AI - Mastering the Language Model Parameters for Better Outputs
Llm

6 min read


Published in

Google Cloud - Community

·Jun 5

Generative AI - Document Retrieval and Question Answering with LLMs

Apply LLMs to your domain-specific data — With Large Language Models (LLMs), we can integrate domain-specific data to answer questions. This is especially useful for data unavailable to the model during its initial training, like a company's internal documentation or knowledge base. The architecture is called Retrieval Augmentation Generation or less commonly used Generative Question Answering. This…

Machine Learning

7 min read

Generative AI - Document Retrieval and Question Answering with LLMs
Generative AI - Document Retrieval and Question Answering with LLMs
Machine Learning

7 min read


Published in

Google Cloud - Community

·May 31

Generative AI - Best Practices for LLM Prompt Engineering

This article walks you through the process of creating robust prompts for LLMs. Learn how slight variations in your prompt can shape your model response. — What is Prompt Engineering? Prompt Engineering refers to crafting effective prompts that can efficiently instruct LLMs that power Bard or ChatGPT to perform desired tasks. Those tasks can be applied to many different use cases. It involves the precise wording, formatting, and structuring of a prompt to optimize the model’s output, enhancing relevance and…

Generative Ai

6 min read

Generative AI - Best Practices for LLM Prompt Engineering
Generative AI - Best Practices for LLM Prompt Engineering
Generative Ai

6 min read


May 30

ML Articles Sascha Heyer

A comprehensive list of articles that provides you knowledge about Machine Learning on Google Cloud. — This website is for the sole purpose of keeping an overview of all ML-related articles I published on medium.com. Almost every article contains a notebook with code for you to use, including a YouTube video. Generative AI Generative AI — Getting Started with PaLM 2 Generative AI — The Evolution of Machine…

Machine Learning

2 min read

ML Articles Sascha Heyer
ML Articles Sascha Heyer
Machine Learning

2 min read


Published in

Google Cloud - Community

·May 24

Generative AI - Getting Started with PaLM 2

Learn how to get started with Generative AI and PaLm2 on Vertex AI — The Vertex AI PaLM API is a Google Cloud service that enables the usage and training of generative models. Let me first remove some of the confusion. Generative AI Studio is a feature of Vertex AI. …

Generative Ai

5 min read

Generative AI - Getting Started with PaLM 2
Generative AI - Getting Started with PaLM 2
Generative Ai

5 min read


Published in

Google Cloud - Community

·May 23

Generative AI - The Evolution of Machine Learning Engineering

How to Approach ML Problems in Times of Generative AI. The world of ML is rapidly changing. — With the advent of large language models that power Generative AI such as PaLM by Google and GPT by OpenAI, the recent landscape has considerably shifted. These large LLMs that can only be trained by companies with significant budgets have begun to alter the approach of ML engineers toward solving…

Generative Ai

4 min read

Generative AI - The Evolution of Machine Learning Engineering
Generative AI - The Evolution of Machine Learning Engineering
Generative Ai

4 min read

Sascha Heyer

Sascha Heyer

1.2K Followers

Hi, I am Sascha, Senior Machine Learning Engineer at @DoiT. Support me by becoming a Medium member 🙏 bit.ly/sascha-support

Following
  • Sixing Huang

    Sixing Huang

  • Shanif Dhanani

    Shanif Dhanani

  • Sandro Manke

    Sandro Manke

  • Dr J Rogel-Salazar

    Dr J Rogel-Salazar

  • Daniela Zamora

    Daniela Zamora

See all (628)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams