How to tune AI in 10 seconds?

1. The troubles of AI tools

Many friends will be a little disappointed after using ChatGPT and AI painting platform. Everyone feels that the content generated by these platforms is not as high-quality as imagined, and the generated content often does not match the user's own ideas.

cbdc212079fea6b46d1774c6fa9bab58.png

What is the reason? It's not that the AI ​​platform itself is not good, but that many beginners don't have a good grasp of prompt words , that is, Prompt.

The so-called prompt refers to the question or task description raised by the artificial intelligence language model. In the field of natural language generation, prompt refers to a piece of text or some instructions used to guide the model to generate specific text or perform certain tasks.

When Xiao Hui first used the ChatGPT and AI painting platform, he was not very good at writing prompt words, which made the generated content a mess. Later, Xiaohui finally mastered the correct usage of prompt words through continuous learning of the prompt word project and continuous trial and error.

Recently, I found some templates for writing high-quality prompts quickly. With these templates, anyone can quickly write very detailed and accurate prompts.

Today, Xiaohui is here to share with you some good templates found in the recent research on prompt words. Let's look at two examples:

Prompts written by newbies:

"Write an article about how to solve the problem of insomnia"

Excellent prompt word template:

15e5bc729e367b2f7304aedfb3b0a9ae.png

Prompts written by newbies:

"Write an ad copy for the iPhone 15"

Excellent prompt word template:

c4dabd092d003a18cb2722f973163374.png

Which of these two sets of prompt words is more accurate and effective? I'm afraid I don't need to say more, everyone will have the answer in their hearts.

1f53cec869dfcde343d5d89fc72b7743.png

Friends must be very curious, where did you find such a good prompt word template?

These prompt word templates were not found by me, but generated by a useful tool. This tool can turn decay into magic, optimizing vague prompt words into precise and detailed prompt word templates.

When everyone is looking for prompt word templates, I feel that the tool I use is like a cheating tool for prompt words. It only takes a few seconds to generate customized professional prompt words according to the tasks I specify, and quietly amazes everyone. people.


2. Prompt word optimizer

What tool is so powerful? A prompt word optimizer I use is called PromptPerfect .

Where exactly is PromptPerfect? This is a cutting-edge prompt word optimizer designed for large models, and it is also the first prompt word optimizer that can automatically optimize prompt words for any mainstream AI model.

PromptPerfect covers ChatGpt, GPT 4, Claude, Claude 2, Wenxinyiyan, DALL-E 2, Stable Diffusion and MidJourney, etc. During use, you can directly generate professional prompt words for the specified model, and you can also see the preview of the results of the corresponding model after running the prompt words.

a8e55636029e76a46765454434458f9c.png


3. Registration and login

How to use PromptPerfect?

We can visit the following URL on the PC side to enter the official website of PromptPerfect:

https://promptperfect.jinaai.cn/a/NEW

After that, we click the login button in the upper left corner to choose a variety of channels to log in:

e728f885b02ad9c4dd0bb5135d47c91c.png

Here, Xiaohui chose WeChat login, which is relatively convenient. After scanning the code, we entered the main page of PromptPerfect. The functions of this product can satisfy the beginners, advanced, and advanced players of the big model.

For professionals who need to use prompt word engineering, such as developers, this product provides an API and SDK for easy calling, as well as Prompt as a Service service, which can be directly used as an API interface and integrated into a small program or In the APP, let the powerful functions of PP become part of your application.

b3f91764029ac5c0bd531ec8716381fe.png

Next, we will formally try to optimize the prompt words.

4. Text model optimization

First, let's try the optimization of ChatGPT prompt words. Click "One-click automatic prompt word optimization", and then select the ChatGPT model from among the many models:

086257542c3e534b80580b400f107558.png

In the second step, more plug-ins allow users to set quality and language settings:

229d1345df9af35f4ee26fd72ce40e1f.png

Then, we can start typing our prompt words. We try to let GPT 4 generate football game analysis for football betting recommendation. Obviously, this original prompt word is too simple. If you send it directly to GPT, GPT will only tell you that the task cannot be completed due to lack of data.

ab34ab3ec25a8a71cedc433d4d2353d3.png

Fortunately, we used the prompt word optimization platform. After about 10 seconds, the PromptPerfect platform optimized the prompt words for us:

b1b7142c23d0129b0c05ab8542e19b25.png

The new prompt words have clearer requirements for tasks and provide specific guidance to better complete tasks. It clarifies every detail of the generated content, which allows the AI ​​model to try its best to provide effective feedback according to your needs.

b1fd8de1596aa7580db9c8c5c094c4b8.png

The following is the output after optimization using prompt words:

7ce68a5c2909667dfc7525120fafee89.png

e23d0ed824c02c2e89313a6dbf553a0c.png

Another example is when you want a personalized AI chatbot, the cost of fine-tuning the model is too high, so we can choose to pre-set Prompt, and make Prompt Bot in a one-to-one chat scene.

Here we take Crayon Shin-chan as an example and use PP to deploy a chat robot service for Crayon Shin-chan.

First, enter the original prompt in PP: "Please role-play with me, you are Crayon Shin-chan, and I am your friend Masao Sato."

Then comes the moment to witness the magic.

7128d531648272a9d99e837bc302ed8a.png

PromptPerfect can also deploy this prompt word as a service , which can not only visually test the effect of Prompt on the website, but also automatically build an immediately usable public API interface, and provide curl, Python, JS code, allowing anyone Both call your chatbot service through the API.

2d666b7283e4619de37a0012f256abb8.png

Basically, with PromptPerfect, you can quickly develop your own Prompt application as long as you write a little front-end, such as designing an AI dialogue robot, interactive game design, writing advertising copy services, and so on.

5.MidJourney optimization

After trying ChatGPT’s prompt word optimization, let’s try the prompt word optimization of AI painting platform MidJourney.

In the first step, we choose the image model - MidJourney:

88f6e856ffd0197b782d10e398ff0dc2.png

In the second step, set the language to English, because MidJourney is most suitable for English prompt words:

dfc35ca5773112d24404dff4cc22f55e.png

Then, we can start typing our prompt words. This time we try to draw a little girl running:

94063fd65748dbeb5005592f62c40e28.png

After a period of time, the PromptPerfect platform optimized the prompt words for us:

69831c7ed1b0ec3e3ec93d253c4e74b9.png

This cue word has many parameters set, it looks very professional, and it converts Chinese into English, which saves us the time to write English cue words specially.

We input the original prompt words and the optimized prompt words into the MidJourney platform respectively, and see what kind of results are drawn.

As a result of the original prompt words, it can be seen that MJ's understanding of Chinese prompt words is really poor.

83016a6b6e7cfb32d7b3616836805efe.jpeg

Optimize prompt word results:

e5dfdf206595596e0fbb3170cbe61329.png

It can be seen that the results drawn by optimizing the prompt words are more accurate and more vivid!

26faba18bf21f726fe1edceefe446fe4.png


6. Thinking and conclusion

Finally, Xiaohui would like to talk about his feelings about using the PromptPerfect optimizer.

AI large models are a series of brand new things for us. Although many large models have powerful intelligent performance, they are often not so friendly to new users.

The PromptPerfect prompt word optimizer, as a bridge between users and AI large models, allows every ordinary person to use AI large models more smoothly, and use optimized prompt words to generate their own content as they like. The help is really immeasurable.

Here, Xiaohui recommends that everyone who is interested in AI should use this prompt word optimizer.

Exclusive registration address for PC: https://promptperfect.jinaai.cn/a/NEW

Register now, and there are many novice benefits:

Benefit 1: You can get 20 points for registration, and you can also generate points for logging in every day, which is basically enough for light early adopters.

Benefit 2: For some heavy users, there is a limited-time discount of 15 yuan points for purchases this month! First scan the coupon to receive the card package~

ae893173f1d55b4b81fa80377a3622a8.png

In order to benefit readers, I also asked the official to apply for some additional benefits for everyone, which are only valid on the day after the post is published. If you are interested, you must work hard.

Exclusive registration address: https://promptperfect.jinaai.cn/a/NEW

  1. Register through the exclusive registration address today. The first 100 new users can receive WeChat red envelopes. WeChat red envelopes need to be registered and filled out a questionnaire to receive.

  2. You can also participate in the limited-time free lucky draw for new users in the first month, 0 yuan to win 100 points, a total of 20 people;

【Notice】:

Only after registering and filling out the questionnaire below can you participate in the above red envelope activities. The number of benefits is limited and first come first served!

(After PC registration, long press the QR code to fill out the questionnaire)

fa584e7e6eaa21a978fcc183848ffaa8.jpeg

Welfare opportunities are limited, first come first served~~

d019da69caa5e56ea2f9f193570a0be1.png

Be sure to use a PC to open this link https://promptperfect.jinaai.cn/a/NEW (the best experience is to register with WeChat)

Guess you like

Origin blog.csdn.net/bjweimengshu/article/details/132372581