Angular or React, that's the dilemma--which one to choose for your next IT project
20/01/2023
LinkedIn Talent Awards Italy 2022: we are finalists!
24/02/2023

What is ChatGPT, between genius and paradoxes: a programmer's experience.

17/02/2023

Join us in the world of ChatGPT and learn how OpenAI and Microsoft's AI model works and how it can be the ally for programmers and beyond 😋

"We need to write a piece on what ChatGPT is! Everyone is talking about it!" That could have been how a cold February morning might have begun, with the editor-in-chief going J. Jonah Jameson-esque - Peter Parker's gruff boss at the Daily Bugle - pounding his fists on the table at me in a threatening, hasty manner and with his puffed-out cigar.

But this never happened-I proposed to write a piece on the "tool of the year" that is based on Generative Artificial Intelligence.

Brace yourselves, because we are going to see some great things! 

Index

  1. What is ChatGPT? Let's start from the beginning
    1. Transformer: the neural network behind GPT3 learning
  2. ChatGPT, one piece of advice: give free rein to your imagination
  3. Microsoft tries to raise the bar

What is ChatGPT? Let's start from the beginning

ChatGPT is a language model, developedby OpenAIwith co-funding from Microsoft, that uses automatic text generation technology based on deep learning.

This model has been trained on a huge corpus of text taken from the Internet and thus is able to generate responses independently on a wide range of inputs.

ChatGPT is designed to be used in a wide range of applications, such as creating chatbots, generating text for digital media, machine translation, or answering a wide variety of questions.

Transformer: the neural network behind GPT3 learning

Now that we've cleared the first point: what ChatGPT is, let's try to understand how it works. The model uses a Transformer neural network, which is a type of deep learning model designed specifically for text processing. The neural network analyzes the input text and uses it to generate a coherent and relevant response.

The model has been trained on billions of words and phrases, which means it has acquired extensive knowledge of many languages and many different sources of information.

So although it is not perfect, ChatGPT can generate very accurate and consistent answers to many different questions-continue reading to see some of them.

To plead the fallacy of some questions, basing the model on data taken from the Internet can create trivial problems: for example, it does not work as if it were a calculator, and sometimes for complex mathematical calculations it can generate incorrect results.

In particular, both reinforcement learning (RL) andsupervised learning (SL) were used to create the model of this bot. The registration process is very fast and in a very short time we have available for FREE - it is not yet known for how long - this very powerful tool. Questions can be asked colloquially as in a chat social.

Oh I forgot, sometimes you may find the queue full and have to wait before you can use it (kind of like the queue at the checkout). This detail may give some insight into the spread and popularity of the site.

ChatGPT, one piece of advice: give free rein to your imagination

I knew he could be a great right-hand man for us programmers. So the first simple request was:

Function in swift written by ChatGpt

Function in swift written by ChatGPT

"Not bad," you will say! And I say that too. So I tried, consultant that I am, to dig a little deeper:

Fundamental knowledge for a dev mid according to ChatGpt

Fundamental knowledge for a mid developer according to ChatGPT

I have to admit that he actually got it right... Certainly all of these are useful and necessary skills to call yourself one. But if you have doubts about the differences between SwiftUi and UIKit, I recommend my article in the Ulixe blog.

However, I had memories of paradoxes and riddles done at the tool by colleagues/contacts and I got a bit into it myself:

Paradoxes and riddles with chatGPT

Paradoxes and riddles with chatGPT 1

No, no we're not quite there... But I try to be hopeful and give it another chance, probably even easier. Let's see:

Paradoxes and riddles with chatGPT

Paradoxes and riddles with chatGPT 2

"Whatever, puzzles aren't your thing -- postponed until September!" So disappointed and bitter I could not go back on programming and logic. A drastic change was needed, a sharp turn by bringing out the tricolor pride: Pizza.

Neapolitan ChatGPT

To the eye it does not look bad - I confess, however, that I have not attempted the preparation. Interesting how you are able to range between a wide variety of topics. AI saved in the corner.

All this with very little input... Amazing! It would open up so many hypotheses (maybe even that of creating articles from blo... Oops!). So I continue in this vein by also winking at "more experienced" readers, asking:

Sarah Connor is safe from Terminator

Nothing, Sarah Connor is safe (and if any Terminators are reading, I have absolutely no idea where she is). Okay let's get serious for a moment heck! It's still content for a tech company blog! Let's see if I can spill some tricks to speed up my growth in the company.... 

How to become a CTO according to ChatGPT

Just kidding of course William Caleca, your place is safe (for now)! Interrogating the tool with what you have seen in this paragraph, I had a roller coaster of different emotions: surprised, amused, annoyed, and cuddled by the star-spangled dream! 

Microsoft tries to raise the bar

Microsoft has understood well what ChatGPT is and as announced a few days ago wants to integrate this AI into several of its products(Bing, Microsoft Teams, and others) with the intention, for example, to catch up with competitors in the case of the search engine and to further improve a good and widely used product in the case of the communication platform, but which, as a user for years for work and a former student, is far from being the ideal product for many small reasons.

In the case of Microsoft Teams, this will be a tool added in the premium version that will allow for simplified meetings, including automatic notes and suggested tasks based on the conversation had during the call.

According to some rumors, its integration into the Office suite also cannot be ruled out.

Let me remind you that Bill Gates' company entered the company's shares for several billion, and this is part of the investment recovery plan.

In conclusion, I think ChatGPT is a great tool to be helped at this point not only in the area of programming but in the round even for small everyday questions and problems!

The breadth of potential users (from programmers to content creators, from copywriters to students reaching even casual users) certainly makes it a great commercial product and we will certainly continue to hear about it. 

Until the next article! 

What is ChatGPT, between genius and paradoxes: a programmer's experience.
This site uses cookies to improve your experience. By using this site you are accepting the conditions expressed in our Cookie Policy
Cookie Policy