Skip to content

Commit

Permalink
update for grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hozen-groq authored Sep 19, 2024
1 parent 5da756f commit c7e84f8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tutorials/image_moderation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
"## Content Moderation\n",
"In today's digital age, the internet is a ubiquitous part of our daily lives. However, with the vast amount of information available online, ensuring a safe and positive environment for users has become a significant challenge. This is where content moderation comes into play.\n",
"\n",
"Specifically, image moderation is the process of detecting and filtering out inappropriate or harmful images, This is important for maintaining a safe and positive environment for users, especially in applications like social media and online marketplaces.\n",
"Specifically, image moderation is the process of detecting and filtering out inappropriate or harmful images. This is important for maintaining a safe and positive environment for users, especially in applications like online marketplaces, community forums, and social media in general.\n",
"\n",
"The Llama Guard model we'll use is an advanced content moderation tool designed to assess user messages, or text, for harmful content. By analyzing text input, Llama Guard designed to assess user messages for harmful content. By analyzing incoming messages, the model identifies and classifies harmful content across 14 categories, including hate speech, threats, and misinformation. \n",
"\n",
"The LlaVA model is a state-of-the-art image understanding model that can answer questions about an image, describe its content, and perform Optical Character Recognition (OCR) to extract text from images.\n",
"In this tutorial, we will use the LlaVA model to generate a description of a given image and use the generated description as input for the Llama Guard model to check for conteny safety. LlaVA is a state-of-the-art image understanding model that can answer questions about an image, describe its content, and perform Optical Character Recognition (OCR) to extract text from images. Llama Guard is an advanced content moderation tool designed to assess user messages, or text, for harmful content across 14 categories, including hate speech, threats, and misinformation.\n",
"\n",
"Let's dive into the code and learn how to combine the capabilities of Llama Guard and LlaVA to moderate images in real-time!"
]
Expand All @@ -35,8 +33,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Step 2: Install and ImportRequired Libraries\n",
"Let's install and import the libraries we'll need to interact with the Groq API and build our image moderation application."
"## Step 2: Install and Import Required Libraries\n",
"Let's install and import the libraries we'll need to interact with Groq API and build our image moderation application."
]
},
{
Expand Down

0 comments on commit c7e84f8

Please sign in to comment.