Product Description and Ad Generation with GPT-J

What are Product Description and Ad Generation and Why Use GPT-J?

Product description generation is about automatically generating a product description based on keywords. This can be very convenient when you have hundreds or thousands of products and you can't afford to regularly write appealing descriptions for each product. Ad generation is about automatically generating an advertising based on keywords. It can be very useful if you need to write a high volume of ads on a regular basis, without sacrificing your original and genuine tone. GPT-J is perfectly suited for these tasks because it is very good at generating relevant and appealing descriptions based on raw information, in many languages. This is pure original content so there is no risk of duplicated content.

For example pass the following instruction to the AI: Generate a product description that contains the following keywords: shoes, women, $99. The AI model could return something like this:

Beautiful shoes for women, for $99 only!

Of course you can ask for much more advanced descriptions. For example you can change the tone, or you can ask the AI to generate longer descriptions.

GPT-J is the most advanced open-source NLP model as of this writing, and this is the best alternative to GPT-3 for full blog post generation, without restrictions. This model is so big that it can adapt to many situations, and behave like a real content writer. For advanced use cases, it is possible to fine-tune GPT-J (train it with your own data), which is a great way to perform more advanced product description or ad generation that is perfectly tailored to your company or industry.

Automatic product description and ad generation

Why Use Automatic Product Description and Ad Generation?

It's important to keep writing genuine and relevant product descriptions and ads, even when dealing with a high volume of writings. In order to avoid errors, maintain a good writing style, and save some time, automating these tasks can be a life save. Here are a couple of examples:

Publish on a Marketplace

Publishing your products on a marketplace can be tedious as you have to write proper descriptions for each product, and regularly add new products or update existing products. You can perfectly automate these product descriptions in many languages thanks to GPT-J.

Product description Copy on a Shopping Website

Do you have a shopping website with a huge product catalog? Maybe you don't want to spend too much time writing all these product descriptions and let AI write copies for you.

Write Facebook and Google Ads

Are you regularly writing ads on Facebook, Google, Linkedin... for your company/services/products? You can now automatically create ads copies thanks to AI.

Improve Style and Spelling

If you're unsure about the quality of your writing, you might want to let AI write product descriptions and ads for you with an appealing style and without mistakes, in many languages.

Performing Product Description and Ad Writing with GPT-J

In order to make the most of GPT-J, it is crucial to have in mind the so-called few-shot learning technique: by giving only a couple of examples to the AI, it is possible to dramatically improve the relevancy of the results, without even training a dedicated AI.

Sometimes, few-shot learning is not enough (for example if you are in a specific industry that needs advanced vocabulary). In that case, the best solution is to fine-tune (train) GPT-J with your own data.

Building an inference API for blog post generation based on GPT-J is a necessary step as soon a you want to use blog post generation in production. But building such an API is hard... First because you need to code the API (easy part) but also because you need to build a highly available, fast, and scalable infrastructure to serve your models behind the hood (hardest part). It is especially hard for machine learning models as they consume a lot of resources (memory, disk space, CPU, GPU...).

Such an API is interesting because it is completely decoupled from the rest of your stack (microservice architecture), so you can easily scale it independently, and you can access it using any programming language. Most machine learning frameworks are developed in Python, but it's likely that you want to access them from other languages like Javascript, Go, Ruby...

NLP Cloud's Product Description and Ad Copy API

NLP Cloud proposes an automatic product description and ad writing API based on GPT-J that gives you the opportunity to perform automatic copy out of the box, with breathtaking results. If the base GPT-J model is not enough, you can also fine-tune/train GPT-J on NLP Cloud and automatically deploy the new model to production with only one click.

For more details, see our documentation about text generation with GPT-J. Also see our few-shot learning example dedicated to product description and ad generation and easily test GPT-J generation on our playground.