Original link:https://codechina.org/2022/12/chatgpt-function-1-writing/
Introduction to ChatGPT
ChatGPT is a pre-trained large-scale language model, developed by OpenAI, capable of high-quality artificial intelligence (AI) conversations. It can automatically generate reasonable answers based on context, and in many cases, users can’t even tell whether a human or an AI is answering a question.
The reason why ChatGPT is very popular at present is that it has excellent language understanding ability and can quickly generate human language answers to meet users’ needs for real-time dialogue. In addition, ChatGPT can also learn the user’s language style and perform appropriate language expressions according to different scenarios, which makes it achieve good results in various application scenarios.
Many people regard ChatGPT simply as a chat tool or game, but in fact it is a pre-trained large-scale language model that contains a large amount of corpus during the training process, which contains a lot of real-world knowledge, And absorbed by AI, ChatGPT stores a lot of knowledge internally. Therefore, ChatGPT can be used for many practical tasks in life and work, not just a simple chat tool or game.
How to use ChatGPT
The method of using chatgpt is very simple, you only need to complete the following steps:
- Visit the official website of chatgpt, follow the prompts to register and log in.
- Enter the main interface of chatgpt, and select the “Dialogue” option in the left menu.
- Enter the question you want to ask in the text box on the main interface, and then click the “Send” button.
- chatgpt will return a relevant answer according to the question you input. You can continue to enter new questions based on the answers to have a conversation with chatgpt.
As shown below,
You just need to ask the right questions, hints, and ChatGPT can serve you. Here are some examples for your reference.
Use in copywriting
I am a writer, what can ChatGPT do for us in this regard?
In fact, it can even be written independently as long as you need it.
For example, I entered the following prompt and got the following story:
hint:
Write a story about Sun Wukong falling in love with a goblin after returning from learning scriptures
result:
After Monkey King came back from learning scriptures, he came to a village of goblins. This goblin is called Fairy Zixia. She is as beautiful as a flower and has a melodious voice. Monkey King and Fairy Zixia got along happily and soon fell in love.Fairy Zixia is the most popular fairy in the village, everyone loves her. But she fell in love with Monkey King, which made her feel very entangled. Monkey King also fell in love with Fairy Zixia, but he knew that Fairy Zixia was a fairy, and he was a human being.
So Monkey King decided to leave Zixia Fairy, he hoped to erase Zixia Fairy from his heart. But Fairy Zixia is unwilling to give up Monkey King, she is willing to take risks for love.In the end, Monkey King and Fairy Zixia fell in love and killed each other, and spent many happy days together. They support each other, support each other, and face various difficulties together. Their love finally succeeded and they had a sweet and happy life together.
by ChatGPT
There are many ways to play this kind of game. You can add various restrictions to your prompts, and ChatGPT can generate stories according to your needs. Here, I didn’t mention Fairy Zixia, but because ChatGPT is trained based on massive real-world corpus, it actually knows that Monkey King is more compatible with Fairy Zixia, so it automatically found this name.
But I think this method of purely using ChatGPT to generate the whole story is not really meaningful. In fact, there are many ways we can play. We discuss them one by one below.
title artifact
Many people are not very good at writing titles. For example, when I write articles, the titles I write are very straightforward and unattractive. And ChatGPT’s corpus contains countless content, so you can even let it help you title your articles, such as,
hint:
The existing title is “to write a good article, you need to read more books, and you can write a good article after reading more books”, please help me think of a more party title
Here are a few titles you can try:
“To write a good article, you need to read more: reading is the first condition for writing”
“How can I write a wonderful article? Read more!”
“Read more, write better: Read more is a shortcut to writing skills”
“How to write better articles? Read more, think more, and practice more!”
“The secret to writing great articles: read more, think more, practice more, practice more!”
Hope these headlines inspire you and bring more reading to your articles.by ChatGPT
You see, I asked it to recommend the headlines of the headline party. It not only recommends very well, but also knows that good headlines may bring “more reading”.
polish article
To give an example, this is a sentence in my previous article, “Today, I remembered that I have countless things I want to do, and there is always not enough time. Once I fall into depression, I will not be able to achieve anything. However No joy at all.”
I can ask ChatGPT to polish it up for me,
hint:
To polish this passage, today, I remembered that I have countless things I want to do, and there is always not enough time. Once I fall into depression, I will not be able to achieve anything. Yet there was no joy either.
result:
Today, I was reminded once again that I have countless unfinished business and never enough time. When you get depressed, you can’t get anything done. It left me feeling very empty, with no joy or fulfillment.by ChatGPT
If the prompt information is more and the requirements are more complex, it can be polished better, as follows,
hint:
Expand this paragraph and add some examples and golden sentences. Today, I remembered that there are countless things I want to do, but there is always not enough time. Once I fall into depression, I will not be able to achieve anything. Yet there was no joy either.
result:
Today, I was once again reminded of the countless unfinished things I have, such as those long-delayed projects, those abandoned dreams, and those unfulfilled wishes. And there is never enough time. I knew that if I didn’t take my time, if I wallowed in depression, it would lead to nothing.I don’t want to waste my life anymore, I don’t want to miss another opportunity. I want to make my life meaningful, and I want to make my life more valuable. So I struggle, I challenge, I create. I want to make my every day full and meaningful, so that every moment of myself can be rewarded.
“The value of a person should be judged by what he contributes, not by what he obtains.” This is the famous saying of Marx. I want to make my life meaningful, and I want to contribute to society. I want to make my life full of hope, and I want to make my life full of joy. I want to let myself gain something every day, and I want to let myself grow every moment.
Today, I admit again that I have countless unfinished business. But I want to believe that I can change, that I can accomplish those things. I’m going to persevere, I’m going to keep trying. I want to believe in my strength, I want to believe in my ability. I want to make my life full of meaning, and I want to make my life full of joy. I want to let myself gain something every day, and I want to let myself grow every moment. This is my life, this is my dream.
by ChatGPT
extract summary
Not only can you expand and polish, ChatGPT can also help you summarize the information you find for quick comprehension or citation in the article.
hint:
Rewrite the following passage into an abstract of less than 100 words
“OpenAI is an artificial intelligence (AI) research laboratory composed of the for-profit organization OpenAI LP and the parent company’s non-profit organization OpenAI Inc. The purpose is to promote and develop friendly artificial intelligence to benefit mankind as a whole. OpenAI was established at the end of 2015. Headquartered in San Francisco, the organization’s goal is to open patents and research results to the public through “free cooperation” with other institutions and researchers.[4][5] The motivation of founders Elon Musk and Sam Coleman is to publish Concerns about the potential risks of strong artificial intelligence.[6][7]
As of 2018, OpenAI’s headquarters is located in the Mission District of San Francisco, in the same office building as Neuralink, another company of Elon Musk. [8] On March 1, 2019, the OpenAI LP subsidiary was established for profit-making purposes. [9]
On July 22, 2019, Microsoft invested $1 billion in OpenAI. The two parties will work together to develop artificial intelligence technology for Azure cloud platform services. The GPT-3 language model was announced on June 11, 2020, and Microsoft obtained an exclusive license on September 22, 2020. [10][11]
The above information is quoted from the Wiki page.
result:
OpenAI is an artificial intelligence research laboratory comprised of the non-profit organization OpenAI Inc and the for-profit organization OpenAI LP. It works to promote friendly artificial intelligence that benefits humanity as a whole. Founded in 2015, OpenAI is headquartered in San Francisco, in the same building as founder Elon Musk’s company, Neuralink. It discloses patents and research results through collaboration with other institutions and researchers. In 2019, OpenAI established a for-profit subsidiary, and Microsoft invested 1 billion US dollars to cooperate with OpenAI to develop artificial intelligence technology.by ChatGPT
Because it is an intelligent summary, some format information contained in the original text, such as [number], does not need to worry about it, it will be automatically removed.
proofread text
hint:
Proofread the following passage. Today, I remembered that I have countless things I want to do, but time is not waiting for me. I need to work hard to catch up with the same navel and achieve success.
result:
Today, I was reminded of the countless things I want to do. However, time does not wait for me, I need to work hard to catch up with my peers and achieve achievements.by ChatGPT
The three typos of “you”, “servant”, and “umbilical cord” have all been corrected.
I found a small Chinese essay written by foreign students on the Internet, and we asked ChatGPT to proofread it.
hint:
Proofread the following passage
“My name is Leyla. I am 18 years old and I am from Kazakhstan. I was born in the city of Almaty. I have lived in Beijing for more than four years. Now I am studying at the Chinese Academy of Beijing Language and Culture University. My major is translation. I didn’t want to study abroad at first, but my father forced me to go. I had no choice but to listen to him. When I first came to China, I felt very strange to everything. That was the first time I went abroad and left my parents for the first time. I often miss my family. I shed tears when I think about it. I remember that one day she called me and said: “Whichever country you go to study in will encounter some difficulties, but everyone will encounter difficulties. No matter what difficulties we encounter, we must actively deal with them and always be full of hope for life. Don’t be sad, don’t be sad, Allah is with us. With the help of my family and friends, I gradually got used to the life here. “
and list the errors
result:
The proofreaded text should look like this:My name is Leila, I am 18 years old and I am from Kazakhstan. I was born in the city of Almaty. I have lived in Beijing for more than four years. Now I am studying at the Chinese Academy of Beijing Language and Culture University, and my major is translation.
Originally I didn’t want to study abroad, but my father forced me to. I have no choice but to listen to him. When I first came to China, everything felt strange to me. This is my first study abroad and the first time away from my parents. I often miss my home. Just thinking about it makes me cry. I remember, one day my mother called me and told me: “No matter which country you go to study abroad, there will be some difficulties, but everyone will have difficulties. No matter what difficulties we encounter, we must deal with them positively and always Be hopeful about life. Don’t be sad, don’t be sad because Allah is with us. With the help of my family and friends, I am slowly adapting to life here.”mistake:
The sentence structure is wrong, “I have lived in Beijing for more than four years” should be changed to “I have lived in Beijing for more than four years”
In the second sentence, “study at the Chinese Academy of Beijing Language and Culture University” should be changed to “I study at the Chinese Academy of Beijing Language and Culture University”
In the fourth sentence, “I didn’t want to study abroad” should be changed to “I didn’t want to study abroad”
In the fifth sentence, “I have no choice but to listen to him” should be changed to “I have no choice but to listen to him”
In the sixth sentence, “That’s the first time I went abroad, the first time I left my parents” should be changed to “This is the first time I went abroad to study, and it was also the first time I left my parents”
In the seventh sentence, “I remember, one day she called me and said:” should be changed to “I remember, one day my mother called me and told me:”by ChatGPT
translate
Many times, we have written a Chinese article, and it is very hard to translate it by ourselves. We can ask ChatGPT to translate a version first, and then we will handle it as appropriate and publish it.
hint:
Translate this passage into English, French and Japanese
“After all, each of us is too small for this world. No matter how big your thoughts are, the world always operates according to its own laws. The sun also rises every day as usual. As long as the sun is still there, energy will continue to be input The earth, the earth will not perish. The only thing we can do is to do what we want to do, to fulfill every little dream of our own, come on… “
result:
After all, for this world, we are all too small, no matter how big your idea is, the world always operates according to its own rules. The sun also rises as usual every day, as long as the sun is still there, the energy will continue to enter the earth, the earth will not perish. The only thing we can do is do what we want to do, fulfill our little dreams, cheer up…Après tout, pour ce monde, nous sommes tous trop petits, peu importe la grandeur de votre idée, le monde fonctionne toujours selon ses propres règles. , l’énergie continuea à entrer sur la terre, la terre ne périra pas. La seule chose que nous pouvons faire est de faire ce que nous voulons faire, réaliser nos petits rêves, se remonter le moral…
やっぱり、この世界では、私たちみんながとても小さいです.どんなに大きい考えがあっても、世界は常にそれ自己のルールに従って运営されます. The sun も every day is usually nisheng ります. The sun がまだある极り, エネルギーははなぶゅ々と入り, the earth は死びることはありません.自たちができることは, 自分がしたいことをすること, 小さな梦を叶えること, Yuan気を出すこと…です.
by ChatGPT
Tomorrow we will continue to discuss how such an AI function can help independent developers and programmers to better complete their work.
Limitations and Issues of ChatGPT
Although ChatGPT is a very good language model, it also has some weaknesses and problems. First, its training is based on corpus, and if certain information or knowledge is lacking in the corpus, then ChatGPT may have problems in answering related questions. For example, if some recent events or knowledge are lacking in the corpus, then ChatGPT may not be able to answer questions related to these events.
Secondly, since ChatGPT is a deep learning model, it has certain requirements for data volume and computing resources. If the amount of data is not large enough or the computing resources are insufficient, then the performance of ChatGPT may degrade, resulting in insufficient quality of generated answers.
In addition, ChatGPT’s answers may be biased because its training data comes from the real world, which may be affected by social bias. For example, if there is sexist or racist information in the training data, then ChatGPT’s answers may also be similarly biased.
Even under the premise that the corpus is sufficiently accurate, ChatGPT currently does not have the ability to reason and logic, so sometimes, the description of the facts will be wrong, and you need to pay attention when using it.
In conclusion, although ChatGPT performs well in dialogue, there are still some weaknesses and problems to be solved.
This article is transferred from:https://codechina.org/2022/12/chatgpt-function-1-writing/
This site is only for collection, and the copyright belongs to the original author.