[Tutorial] How to make own local GPT4all in 5 minute without any skills!


To start with, I will write that if you don't know Git or Python, you can scroll down a bit and use the version with the installer, so this article is for everyone!

 

Today we will be using Python, so it's a chance to learn something new. I don't know if it's just my opinion or if many people think that it's one of the three most commonly used programming languages nowadays, for me it's PHP, JavaScript, and Python.

To the point! It's impossible to ignore artificial intelligence algorithms and not hear about ChatGPT. But what if I told you that you can have your own ChatGPT on your local computer without any limitations?

 

Running your own bot will require basic knowledge of Git, using the console and editor, and having Python installed. However, by reading this tutorial, you should be able to manage with just having Python installed.

Git:

https://git-scm.com/

Python:

https://www.python.org/

0 Chapter for more advanced users

 

1. We navigate to the directory where we want to create the project and open the console, or we launch the console (use whatever you want, you can use the console built into Visual Studio Code) and use the command:

cd c:/project

2. We download the necessary package from the repository using the command (it may take a while):

git clone https://github.com/nomic-ai/gpt4all .

3. Now, using Python, we can carry out local projects using AI.

 

PS. If you don't know Python yet, don't worry. I will introduce it to you a little more in future tutorials.

 

I Chapter for less advanced but curious users.

Alternative version without Git and Python.

 

1. We download the ready-made installer using the same GitHub repository.

https://github.com/nomic-ai/gpt4all . Scrolling down the page a bit, we will find... "GPT4All-J Chat UI Installers" where we will see the installers. MAC/OSX, Windows and Ubuntu. Sure, I can provide the next steps for the Windows installer

Shortcuts:

MAC/OSX

https://gpt4all.io/installers/gpt4all-installer-darwin.dmg

Windows

https://gpt4all.io/installers/gpt4all-installer-win64.exe

Ubuntu

https://gpt4all.io/installers/gpt4all-installer-linux.run

 

2. Run the installer and click "Next"

3. Choose the installation location and click "Next"

4. Accept the terms and click "Next"

5. "Next"

6. Click "Install" (this will take some time and requires several GB of space)

7. After installation, click "Finish".

8. Press the Win key and type GPT, then launch the GPT4ALL application.

 

The bot "converses" in English, although in my case it seems to understand Polish as well. It is trained on a smaller amount of data, but it can be further developed and certainly opens the way to exploring this topic.

With properly formulated questions, it can write code, poetry, or stories no worse than GPT 3.5 Turbo.

In the next tutorials, I will try to explain the topic of machine learning and write some code that will learn something.

How do you rate this article?

7


Chainable.it
Chainable.it

I am an experienced programmer who has recently started creating tutorials on various topics within the IT world. In my tutorials, I cover topics such as PHP, JavaScript, Python, HTML, CSS, PowerShell, Windows, Linux, and AI.


chainable. how to code
chainable. how to code

From layman to geek. All IT aspects in one place. How to code, how to use blockchain and other stuff.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.