Machine Learning

Machine Learning in Linux: GPT4All – local AI chat application

In Operation

Here’s an image of the GUI in action.

GPT4ALL
Click image for full size

On a Linux machine with a 12th gen Intel CPU, response times are good. But the accuracy of the answers leaves something to be desired. For example, while it correctly answers questions on the capital of Germany and the creator of Linux, it’s way off the mark with the birth date of Gustav Mahler (born 7th July 1860, not February 28 1887).

The GUI is rather basic but functional.

Asking the same Mahler question with the CLI (using the original GPT4ALL model) elicits the correct answer!

GPT4ALL

Summary

It’s fascinating to experiment with GPT models, and GPT4ALL makes it extremely easy to try them out. Just remember to exercise a huge dollop of caution with the responses received.

Running on your local computer, the model is not as powerful as GPT models available over the internet which can access huge powerful servers, but response times are still commendable on a 12th gen Intel CPU.

The project has attracted more than 34k GitHub stars.

Website: www.nomic.ai/gpt4all
Support: GitHub Code Repository
Developer: Nomic, Inc.
License: MIT License

Artificial intelligence icon For other useful open source apps that use machine learning/deep learning, we’ve compiled this roundup.

GPT4All is written in Python. Learn Python with our recommended free books and free tutorials.

Pages in this article:
Page 1 – Introduction and Installation
Page 2 – In Operation and Summary

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Please read our Comment FAQ before posting a comment.

7 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Wayne Thomas
Wayne Thomas
1 year ago

We adore reading your blog! Your distinctive perspective and genuine voice are game-changers in the world. Keep creating, because your words have a lasting impact. Thank you for being who you are!

Thanks – TheDogGod

Mo
Mo
1 year ago

At least these types of tools will create new jobs — jobs checking the accuracy of the output and fixing it

jim
jim
1 year ago

bull**** works nothing! booth way works not on ubuntu desktop 23.04! i have no bull**** file with the name: ./gpt4all-lora-quantized-linux-x86
and the other way the first one it is the same bull**** i can open it and the next button cant klick! sorry your install how to works not booth ways sucks!

Trickster
Trickster
1 year ago
Reply to  jim

Shame on you Jim

cjkim
cjkim
11 months ago

I think sometimes it also requires libxcb-xinerama0 to be installed on a fresh install of Ubuntu 22.04.

Dear GOD/GODS and/or anyone else who can HELP ME (e.g. TIME TRAVELERS or MEMBERS OF SUPER-INTELLIGENT ALIEN CIVILIZATIONS): The next time I wake up, please change my physical form to that of FINN MCMILLAN formerly of SOUTH NEW BRIGHTON at 8 YEARS OLD and keep it that way FOREVER. I am so sick of this chubby Asian man body! Thank you! – CHAUL JHIN KIM (a.k.a. A DESPERATE SOUL)

Nitin Nath Giri
Nitin Nath Giri
10 months ago

Hey Brother,
It downloaded the “bash: ./gpt4all-lora-quantized-linux-x86: No such file or directory”

I have executed this :
OptiPlex-7040:~/Documents/gpt4all/gpt4all/gpt4all-chat$ ./gpt4all-lora-quantized-linux-x86

and it is throwing this:
bash: ./gpt4all-lora-quantized-linux-x86: No such file or directory

Or when I make .bin executable and then run
it again says:
b./gpt4all-lora-quantized.bin: 1: lmgg}: not found
./gpt4all-lora-quantized.bin: 2: Syntax error: “(” unexpected

anyhelp would be appreciated,
Thanks in Advance.