Naked Science Forum

General Science => General Science => Topic started by: scientizscht on 21/04/2023 09:56:27

Title: How does ChatGPT work?
Post by: scientizscht on 21/04/2023 09:56:27
Hello!

Obviously ChatGPT is something unprecedented from the machine learning sector.

Do you follow these advances closely to explain what is actually happening?

Is it simply training statistically a model so that it can put together words that make sense? I am trying to figure out if it is something more than that, because it can be quite advanced in its responses though I do not see much of originality of course.

Thank you!
Title: Re: How does ChatGPT work?
Post by: Eternal Student on 21/04/2023 16:43:51
Hi.

Do you follow these advances closely to explain what is actually happening?
   No, not really.   Just enough not to be completely left behind.   It's something that is quite likely to have some impact on most people in most walks of life. 

Is it simply training statistically a model so that it can put together words that make sense?
    What do you mean by "statistical model"?    Some aspects are statistically based and machine learning is very much about training a system on lots of input and allowing it to modify the processing until a suitable output is reliably obtained.  The modifications are not always random but guided by a return or feedback from the output in various ways.   In the early stages of training ChatGPT there was human supervised learning so that humans could influence the processing directly and/or certainly provide more feedback to rapidly shape the neural network.   In later stages the Machine Learning becomes much more autonomous.

ChatGPT is a neural network system based on artificial (electronic) components.
     ChatGPT initially used a Microsoft Azure supercomputing infrastructure, powered by Nvidia GPUs, that Microsoft built specifically for OpenAI and that reportedly cost "hundreds of millions of dollars". Following the success of ChatGPT, Microsoft dramatically upgraded the OpenAI infrastructure in 2023.
   
[Taken from Wikipedia:  https://en.wikipedia.org/wiki/ChatGPT ]

    It's not so much the hardware that's important but the neural network architecture implemented on it that is interesting and ultimately makes it work.   The hardware just allows it to work fast enough to be usefull.

   GPT models are artificial neural networks that are based on the transformer architecture (see below), pre-trained on large datasets of unlabelled text, and able to generate novel human-like text   
Further details:  https://en.wikipedia.org/wiki/Generative_pre-trained_transformer
   A transformer is a deep learning model that adopts the mechanism of self-attention, differentially weighting the significance of each part of the input (which includes the recursive output) data. 
Further details:  https://en.wikipedia.org/wiki/Transformer_(machine_learning_model)

    If you're not all that familiar with what a basic "neural network" is then you'd actually be better of starting here:
https://en.wikipedia.org/wiki/Neural_network#Artificial_intelligence

     There have been several threads in this forum discussing ChatGPT recently.   Some of them were discussing AI in a very general sense.   Some were posts entirely generated by ChatGPT and usually prompted by what might be officially termed as "garbage" input.   This comes from the acronym  G.I.G.O.  that is used in Computer Science and just means that if you put Garbage in to a system then you are very likely to get garbage produced as an output.  These sorts of posts are now almost becoming regarded as SPAM.  At least once, ChatGPT has been used to generate a reply to someone else (I did that - just to see how well it would do).   
    At the moment ChatGPT has been very one-sided and is responsible for generating many of the original posts that are in the forum    BUT   we can use ChatGPT to replace the need for anyone to actually be here and give replies to those (or any) posts.   This is something I've been considering quite a lot recently but I'm not staff or involved in the administration of this website. 

Best Wishes.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 22/04/2023 17:10:48
we can use ChatGPT to replace the need for anyone to actually be here and give replies to those (or any) posts. 
As a moderator, I'd be very worried if anyone thought the kind of repetitive and unreferenced crap that ChatGPT produces was characteristic of the level of intelligence and clarity that characterises the better replies in this forum.
Title: Re: How does ChatGPT work?
Post by: evan_au on 22/04/2023 18:35:29
Quote
Obviously ChatGPT is something unprecedented from the machine learning sector.
I wouldn’t call it unprecedented. Chat GPT 4 is merely an extension of Chat GPT 3.5 - with more input data, a more powerful training processor, and a much larger in-memory model during execution.
One worrying trend is that the amount of energy spent on training seems to be growing exponentially..
Title: Re: How does ChatGPT work?
Post by: Zer0 on 23/04/2023 19:43:03
we can use ChatGPT to replace the need for anyone to actually be here and give replies to those (or any) posts. 
As a moderator, I'd be very worried if anyone thought the kind of repetitive and unreferenced crap that ChatGPT produces was characteristic of the level of intelligence and clarity that characterises the better replies in this forum.

Umm...keeping my excessive Bias against A.I. & A.G.I. aside...

MayBee...

If ChatGPT could be Embedded into the Forum, if the Implementation could be Free of Monetary costs, then perhaps it's Worth a thought.

It might Attract more New users/members.

It's Output could be assessed in Real Time & Compared with Human generated answers.

MODS could Utilize the A.I.s rewards & corrections Inputs to Teach it to be Better.

Perhaps, OpenAI should be the ones to ideally put forward the proposal first from their end to TNS.

Donno if It could help with Solving Spam & Other issues the Mods face.

We could learn a thing or two from it, & in return, it could learn Alot from Us.
Title: Re: How does ChatGPT work?
Post by: Halc on 23/04/2023 21:11:38
If ChatGPT could be Embedded into the Forum
It can't.see the forum. It has no internet access. It is strictly a server, answering incoming requests and putting out no queries of its own.

Quote
MODS could Utilize the A.I.s rewards & corrections Inputs to Teach it to be Better.
It is incapable of learning. You can correct it and it might acknowledge the correction, but ask the same question again tomorrow and it's just as likely to get it wrong again, but of course worded differently.

Quote
it could learn Alot from Us.
It can't unfortunately, hence it can never qualify as a general intelligence, or an AGI. It's why they keep coming out with new versions with more up to date training data and more powerful servers. The new versions still can't learn, but they supposedly give a lower percentage of wrong answers and can hold a conversation longer without forgetting how it started.
Title: Re: How does ChatGPT work?
Post by: Eternal Student on 24/04/2023 00:42:50
Hi.

    Just to clarify what @Halc has just said:

1.  The moderators can't teach ChatGPT anything but the development team at OpenAI can do that.

2.   
It is incapable of learning.
     From us out here.   In development by OpenAI some of the learning was human supervised but the later development was much more autonomous.   A lot of this was already done just for the transformer architecture rather then the very specific implementation and incorporation of that into the ChatGPT system.   For example, it was trained on most of the contents of the internet (from an offline archive of the contents of the internet) as it was about 3 years ago.   The precise details of what was done is not known to me but we can simplify it to something like this:   I want to be very clear here - I am just presenting a very simple version of something that can be done just because it will be easier to understand it this way.   If you want actual details then you need to review the links already given in earlier posts etc.
       The system could sample the first 200 words of an article.    Then make an attempt to generate what should be the next 100 words of the article.  Then compare what was generated by itself with what was said in the article.   Various statistical analysis would be applied automatically to asses "how close" the system had got.   Various numerical values are then obtained which act as feedback for the system.   The feedback will then automatically alter the neural network.    The system will then move on to another article and repeat the process.  If it scores slightly better on matching the next 100 words then it keeps the modifications that were made just previously to the neural network, if not it will undo the modifications.   As I've said, this is very simplified, the exact process of modifying the neural network is not going to based on just the previous attempt and the current attempt.   The system will be a vast and complicated interconnection of nodes with an elaborate process for modifying these connections in response to an array of feedback signals produced after evaluation of its objective function(s).
       What you have to understand is that all of this process,  sampling an article, generating output text, comparing and scoring against the real text, feedback to the neural network  etc.   -  goes on automatically and entirely without a human being needing to be there.    You just set up the system to start, give it access to the archive and tell it to go.... wait for long enough and you have a reasonably well evolved neural network with considerable ability.   That is what we can reasonably describe as autonomous learning.
    However it is not a genuine  AGI (Artificial General Intelligence),  it has an objective function (or many of them) which involve writing better or more human-like text.   It does not have an objective function that would modify the neural network to solve a different sort of problem, or even to have any way of identifying what another problem might be.   For example, if a rat got into the computer room and starting eating the cables, then it has no objective about eliminating rats.  The whole event was not any sort of text input, it does not trigger the processing of any objective function and so it won't generate feedback that can modify the neural network.   It will not learn anything about rats running around in the computer room.
    I hope that makes some sense.

Best Wishes.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 25/04/2023 20:12:07
Hmm...Sorry i had a different incorrect Understanding of ChatGPT.
Thanks for the Corrections!

I've never used it.
I went on the OpenAI page once or twice, read the T&C, n called it Quits.

All my little info on the Topic comes from pop sci media articles & Utube.

I had read about RLHF(Reinforced Learning from Human Feedback).
Thought OpenAI would feel Obliged to provide Site Mods with that access power.
Coz Mods here are Smart & Wise, so why not.

Had also read about some Plugins stuff.
Like video, audio, inputs etc.
Thought it was capable of image scanning n understanding contents.
Like feed it an image, n it could recognize n provide output responses.

I suppose Bing uses it or has it integrated.
Wonder how folks use it to make Appointments.
Donno how it sends emails n even books a restaurant table on the User's behalf.
(Without Internet or Input Access)

So if it has no Internet access, then it didn't really Directly fool TaskRabbit to solve a Captcha.
There was a Human involvement in the middle of the process.

Had heard when IT was unable to solve a Calculation, it requested for access to an online Calculator...huh!
(& Yaa, it solved it n got it right lol)

Recently saw an article header stating it can fight Spam, but sadly i  did not read it.

https://arxiv.org/abs/2303.12712

(Soo, just sparks...no smoke, no fire)

Guess now I'll just wait n watch what DeepMind is capable of.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 29/04/2023 08:17:39
Here's a first hand information intended for general audience.

The Inside Story of ChatGPT’s Astonishing Potential | Greg Brockman | TED


Quote
In a talk from the cutting edge of technology, OpenAI cofounder Greg Brockman explores the underlying design principles of ChatGPT and demos some mind-blowing, unreleased plug-ins for the chatbot that sent shockwaves across the world. After the talk, head of TED Chris Anderson joins Brockman to dig into the timeline of ChatGPT's development and get Brockman's take on the risks, raised by many in the tech industry and beyond, of releasing such a powerful tool into the world.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 29/04/2023 19:54:16
Why do They not provide IT with Sensors?

Visual, audio, temperature, infrared, night vision, motion detection etc etc.

Then when it senses Movement, it could Analyze what it is, n if it's a Rat, then IT could sound an Alarm.

Meow Meow or Boo BooH!
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 02/05/2023 12:40:14
Why do They not provide IT with Sensors?

Visual, audio, temperature, infrared, night vision, motion detection etc etc.

Then when it senses Movement, it could Analyze what it is, n if it's a Rat, then IT could sound an Alarm.

Meow Meow or Boo BooH!
They will, eventually. Tesla's Optimus and Google's robot are going in that direction.
I guess they are preparing risk mitigation strategies before launching their products in a larger scale.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 02/05/2023 14:43:07
Then when it senses Movement, it could Analyze what it is, n if it's a Rat, then IT could sound an Alarm.
Why not? Because a dog will get off its backside and kill the rat. And deal with any other intruder. And sense if you are sick or miserable. And keep you warm at night. 
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 09/05/2023 12:30:44
Let's hear what an AI researcher say about it.
GPT 4 is Smarter than You Think: Introducing SmartGPT
Quote
In this video, I will not only show you how to get smarter results from GPT 4 yourself, I will also showcase SmartGPT, a system which I believe, with evidence, might help beat MMLU state of the art benchmarks.

This should serve as your ultimate guide for boosting the automatic technical performance of GPT 4, without even needing few shot exemplars.

The video will cover papers published in the last 72 hours, like Automatically Discovered Chain of Thought, which beats even 'Let's think Step by Step' and the approach that combines it all.

Yes, the video also touches on the OpenAI DeepLearning Prompt Engineering Course but the highlights come more from my own experiments using the MMLU benchmark, and drawing upon insights from the recent Boosting Theory of Mind, and Let?s Work This Out Step By Step, and combining it with Reflexion and Dialogue Enabled Resolving Agents.

Prompts Frameworks:

Answer: Let's work this out in a step by step way to be sure we have the right answer

You are a researcher tasked with investigating the X response options provided. List the flaws and faulty logic of each answer option. Let's work this out in a step by step way to be sure we have all the errors:

You are a resolver tasked with 1) finding which of the X answer options the researcher thought was best 2) improving that answer, and 3) Printing the improved answer in full. Let's work this out in a step by step way to be sure we have the right answer:

Title: Re: How does ChatGPT work?
Post by: ArthurArts on 16/05/2023 21:25:45
Let's hear what an AI researcher say about it.
GPT 4 is Smarter than You Think: Introducing SmartGPT
Quote
In this video, I will not only show you how to get smarter results from GPT 4 yourself, I will also showcase SmartGPT, a system which I believe, with evidence, might help beat MMLU state of the art benchmarks.

This should serve as your ultimate guide for boosting the automatic technical performance of GPT 4, without even needing few shot exemplars.

The video will cover papers published in the last 72 hours, like Automatically Discovered Chain of Thought, which beats even 'Let's think Step by Step' and the approach that combines it all.

Yes, the video also touches on the OpenAI DeepLearning Prompt Engineering Course but the highlights come more from my own experiments using the MMLU benchmark, and drawing upon insights from the recent Boosting Theory of Mind, and Let's Work This Out Step By Step, and combining it with Reflexion and Dialogue Enabled Resolving Agents. I am also preparing a large-scale study on this topic because this topic interests me greatly as an author at https://ca.edubirdie.com/buy-an-essay where I have been writing plagiarism free papers. All the university communities I know are excited about the progress of AI, and we have to see where it leads.

Prompts Frameworks:

Answer: Let's work this out in a step by step way to be sure we have the right answer

You are a researcher tasked with investigating the X response options provided. List the flaws and faulty logic of each answer option. Let's work this out in a step by step way to be sure we have all the errors:

You are a resolver tasked with 1) finding which of the X answer options the researcher thought was best 2) improving that answer, and 3) Printing the improved answer in full. Let's work this out in a step by step way to be sure we have the right answer:

Honestly, reading about how quickly AI is evolving makes me a little nervous. I'm not a conspiracy theorist, but people seem too invested in this technology and could pay for it.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 16/05/2023 21:48:14
Frankly, if that is an example of GPT4 at work, you have nothing to fear. Yesterday whilst waiting for a shop to open I was accosted by a man who spoke pretty much like that: repetitive, coherent, but meaningless. As he walked away the woman behind me said "Poor old Jeff hasn't been himself since his dad died".
Title: Re: How does ChatGPT work?
Post by: chris on 18/05/2023 09:13:18
In case you did not catch it, we recently published an episode of the Naked Scientists podcast on Artificial Intelligence and chatGPT (https://www.thenakedscientists.com/podcasts/naked-scientists-podcast/chatgpt-chatbot-changing-how-we-work), which might be helpful.
Title: Re: How does ChatGPT work?
Post by: remotemass on 26/05/2023 06:49:31
I recommend you the book "What Is ChatGPT Doing ... and Why Does It Work?", by Stephen Wolfram.
He has a youtube videos channel and does live streams on a regular basis explaining different topics, mainly in Physics, Complexity, Chaos and Dynamic Systems and Computer Science. He was motivated to start that enterprise of videos and live streams by the very young mathematician Jonathan Gorard. Thank you, both!

It will probably answer you that question and more.

- remotemass
Title: Re: How does ChatGPT work?
Post by: alancalverd on 26/05/2023 13:42:28
Why Does It Work?
If by "work" you mean recycling other people's text, it works because that is what it is designed to do. If you mean creating useful materials, objects or ideas, it doesn't.
Title: Re: How does ChatGPT work?
Post by: evan_au on 26/05/2023 22:48:33
Quote from: alancalverd
recycling other people's text
Most science is just recycling other people's words.

Perhaps it ChatGPT permutes those same words into a new (but not totally unlikely) sequence, it may, perchance, generate something useful.
- Separating the gold and gems from the stream of derivative drivel is left as an exercise for the reader...
Title: Re: How does ChatGPT work?
Post by: alancalverd on 27/05/2023 00:04:18
Aha, the true Aussie spirit!

"OK, mate, you can have as much outback as you want for a dollar a square meter. There's bound to be a nugget of something somewhere."

Amazingly, there sometimes is, but I wouldn't bet on ChatGPT recognising it!
Title: Re: How does ChatGPT work?
Post by: Zer0 on 29/05/2023 19:16:33
- Separating the gold and gems from the stream of derivative drivel is left as an exercise for the reader...

Reminds me of ' Kids say the Darndest/Funniest Things ' .
(lol)

Linkletter, Cosby n Barrymore...& Innocent lil peoples.
(pure joy)


ps - no need to remind me of rotten, controversial n sad endings.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 29/05/2023 22:32:26
If you mean creating useful materials, objects or ideas, it doesn't.
Creating ideas is easy. Just make up new random bits of information never used before. Creating materials and objects require access to physical world, which is being developed with embodied AI. By chance, we may find some of them useful. The AI can measure the usefulness of their new ideas through social selection, e.g. by like/dislike ratio of user's feedback.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 30/05/2023 12:34:46
skbldnk drvkug bwqpn zzicology

It is left to the reader to pick out the useful bits.

The best definition of industry I ever heard was "organising men, materials, machines and money to make stuff that people want." Note the last four words.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 30/05/2023 14:07:14
skbldnk drvkug bwqpn zzicology

It is left to the reader to pick out the useful bits.

The best definition of industry I ever heard was "organising men, materials, machines and money to make stuff that people want." Note the last four words.
Do you notice that Edison tried and failed thousands of times before successfully produced technically and economically viable light bulbs? He might have thought even many more experiments which he did not continue to carry out because he expected they would fail.
We are prone to survival bias that we often forget that those who don't survive had once existed.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 30/05/2023 15:46:15
But he started with a specification of a product that people wanted (an electrical light source, safer than a carbon arc) and the knowledge that (a) thin electrical conductors emit light when sufficiently loaded (b) ambient air cools them (c) some materials oxidise at white heat and (d) some materials melt before they get to white heat. So the trick was to produce a refractory solid filament inside a glass vacuum chamber.

As I've said many times before, rocket science is two simple equations; rocket engineering is a lot more complicated. And thus it is with light bulbs.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 31/05/2023 14:10:30
But he started with a specification of a product that people wanted (an electrical light source, safer than a carbon arc)
Then he needed to imagine things that hadn't existed yet.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 31/05/2023 16:31:36
....but being an engineer, he imagined things he might make with stuff that actually existed. It's about crossing the line between scientific curiosity (what happens if we do X to Y?) and invention (can I exploit that to make Z?) but X and Y aren't figments of anyone's imagination, and if there's no perceived demand for Z (in this case, a safe source of light) why bother?
Title: Re: How does ChatGPT work?
Post by: Zer0 on 31/05/2023 18:17:05
" Artificial intelligence could lead to the extinction of humanity, experts - including the heads of OpenAI and Google Deepmind - have warned. "

https://www.bbc.com/news/uk-65746524
Title: Re: How does ChatGPT work?
Post by: alancalverd on 31/05/2023 18:46:26
Why bother? Religion, politics and climate change will make life unacceptable for the next 100-500 years anyway.
Title: Re: How does ChatGPT work?
Post by: Petrochemicals on 31/05/2023 23:07:17
skbldnk drvkug bwqpn zzicology

It is left to the reader to pick out the useful bits.

The best definition of industry I ever heard was "organising men, materials, machines and money to make stuff that people want." Note the last four words.
Do you notice that Edison tried and failed thousands of times before successfully produced technically and economically viable light bulbs? He might have thought even many more experiments which he did not continue to carry out because he expected they would fail.
We are prone to survival bias that we often forget that those who don't survive had once existed.
That was a croat

https://en.m.wikipedia.org/wiki/Franjo_Hanaman
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 07/06/2023 14:54:07
skbldnk drvkug bwqpn zzicology

It is left to the reader to pick out the useful bits.

The best definition of industry I ever heard was "organising men, materials, machines and money to make stuff that people want." Note the last four words.
Do you notice that Edison tried and failed thousands of times before successfully produced technically and economically viable light bulbs? He might have thought even many more experiments which he did not continue to carry out because he expected they would fail.
We are prone to survival bias that we often forget that those who don't survive had once existed.
That was a croat

https://en.m.wikipedia.org/wiki/Franjo_Hanaman
Do you mean Edison didn't do failed experiments?
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 07/06/2023 14:57:30
Here's a simplified explanation of how ChatGPT works, and why it behaves the way it does.

Quote
Why Is ChatGPT Bad At Math?

Sometimes, you ask ChatGPT to do a math problem that an arithmetically-inclined grade schooler can do with ease. And sometimes, ChatGPT can confidently state the wrong answer. It's all due to its nature as a large language model, and the neural networks it uses to interact with us.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 12/06/2023 12:49:48
I find this gem on Youtube, which explains how AI works for general public audience.
Artificial Intelligence: The Good, the Bad, and the Ugly - Yaser Abu-Mostafa
Quote
Jump to the:
- introduction by Professor Harry Atwater: 12:45
- profile video of Professor Abu-Mostafa: 16:55
- start of the lecture: 20:01

ChatGPT has rocked the general public's perception and expectations of artificial intelligence (AI). In this lecture, Abu-Mostafa will explain the science of AI in plain language and explore how the scientific details illustrate the risks and benefits of AI. Between the extremes of "AI will kill us all" and "AI will solve all our problems," the science can help us identify what is realistic and what is speculative, and guide us in our planning, legislation, and investment in AI.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 16/06/2023 04:13:04
Here's another video explaining how ChatGPT works in a fun way.
Quote
ChatGPT is now the fastest-growing consumer app in human history. Problem is, almost no one knows how it actually works. This is everything you need to know.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 18/06/2023 19:10:11
The " Noone knows how it Works " refers to the Black Box problem, Right?
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 19/06/2023 02:25:20
The " Noone knows how it Works " refers to the Black Box problem, Right?
Yes. But it may change in the future. Some research is developing AI models especially designed to explain decision making process of other AI models.
Title: Re: How does ChatGPT work?
Post by: evan_au on 19/06/2023 09:36:51
I volunteer at a group providing computer skills for retirees, and today's topic was "AI".

The guy presenting on AI today asked ChatGPT and Bard to provide a description of AI. One of them even produced a lesson plan, with a time allocation for each topic!

One thing we discovered is that when a large number of people try to contact ChatGPT simultaneously from the same IP@, it gets suspicious, and starts asking for birthdates, email addresses and phone numbers (for 2-Factor Authentication).
- It obviously suspects an AI robot attack!

PS: Bard was a lot more forgiving - we ended up with half the group on ChatGPT, and half on Bard.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 19/06/2023 11:26:36
" Artificial intelligence could lead to the extinction of humanity, experts - including the heads of OpenAI and Google Deepmind - have warned. "
Unless someone ignores it or pulls out the plug.

Problem is that people don't ignore or remove human scum like Putin and religious parasites, and thus rush to start World War 3 and extinguish the innocent if not everyone. So if AI says "everyone who disagrees with this sentence is a fascist pig and must be killed" you  can be sure that Believers will try.

Plus ca change....
Title: Re: How does ChatGPT work?
Post by: varsigma on 21/06/2023 00:39:19
Has anyone tried to use ChatGPT to solve an actual problem, like design a circuit, or solve a Rubik's cube?
I've heard it can trot out java code, maybe machine language too.

What ChatGPT is, is a restricted AI, it doesn't have internet access and what it learns, if that's what you can call it, is how to, I guess, represent what it does as meaningful, if not contradictory.

It seems to be able to focus on a particular subject in terms of well-understood language, but not be able to assess what it says, it doesn't appear to have any critical assessment capacity. It just parses questions in a particular idiosyncratic way. What it gives you are um, idiosyncretions.

I've noticed that it's not hard to tell it it has contradicted itself, and it always apologises.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 22/06/2023 19:58:54
A tad bit Worrying...

Nobody knows how it Works.
Opens up the possibility of it Miscalculating.

If 99 times out of 100, it says 2+2=4, & gets it wrong once, is Totally Fine.

Can only Hope autonomous ai systems won't be deployed for Nukes.

99.999% accuracy with an Error margin of just 00.001% will be
Game Over!
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 02/07/2023 17:05:20
A tad bit Worrying...

Nobody knows how it Works.
Opens up the possibility of it Miscalculating.

If 99 times out of 100, it says 2+2=4, & gets it wrong once, is Totally Fine.

Can only Hope autonomous ai systems won't be deployed for Nukes.

99.999% accuracy with an Error margin of just 00.001% will be
Game Over!
Humans have even higher error rates. Nonetheless, we survive, so far. Even with nukes available for decades.
What's needed is some reliable system for check and balance, and acceptable common goals.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 03/07/2023 20:47:02
A tad bit Worrying...

Nobody knows how it Works.
Opens up the possibility of it Miscalculating.

If 99 times out of 100, it says 2+2=4, & gets it wrong once, is Totally Fine.

Can only Hope autonomous ai systems won't be deployed for Nukes.

99.999% accuracy with an Error margin of just 00.001% will be
Game Over!
Humans have even higher error rates. Nonetheless, we survive, so far. Even with nukes available for decades.
What's needed is some reliable system for check and balance, and acceptable common goals.

https://en.m.wikipedia.org/wiki/Stanislav_Petrov
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 23/07/2023 23:46:49
I tried to use Google Bard to write the opening chapter of a novel series that I've been thinking on for a few years. First, I told it the background of the story, the preferred writing style, and the main plot. It sounds supportive and made useful suggestions. But when it was asked to write the first chapter, it blows up and started to hallucinate. It doesn't seem to understand when I tried to correct its mistakes. It kept making the same mistakes.

Title: Re: How does ChatGPT work?
Post by: alancalverd on 24/07/2023 18:13:54
It kept making the same mistakes.
And doubtless reinforcing them because it believes what it has already written!
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 25/07/2023 08:24:25
It kept making the same mistakes.
And doubtless reinforcing them because it believes what it has already written!
I'm not sure if Bard has a rigid boundary between training mode and deployment mode. I've read some articles describing AI models which can still learning from new data even when they're running in deployment mode.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 25/07/2023 08:26:13
BTW, here's a nice explanation of transformer model, which is the basic of Chat GPT.
Transformer Neural Networks, ChatGPT's foundation, Clearly Explained!!!
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 15/08/2023 12:33:55
ChatGPT - Semantics: Transformers & NLP 2
Quote
How do transformers like ChatGPT learn and represent words?

Transformers are a type of neural network architecture that are used in natural language processing tasks like language translation, language modelling, and text classification. They are effective at converting words into numerical values, which is necessary for AI to understand language. There are three key concepts to consider when encoding words numerically: semantics (meaning), position (relative and absolute), and relationships and attention (grammar). Transformers excel at capturing relationships and attention, or the way words relate to and pay attention to each other in a sentence. They do this using an attention mechanism, which allows the model to selectively focus on certain parts of the input while processing it. In the next video, we will look at the attention mechanism in more detail and how it works.

We can encode word semantics using a neural network to predict a target word based on a series of surrounding words in a corpus of text. The network is trained using backpropagation, adjusting the weights and biases of the input and hidden layers until the updates become negligible and the network is said to be "trained". The weights connecting the input neurons to the hidden layer will then contain an encoding of the word, with similar words having similar encodings. This allows for more efficient processing and a better understanding of the meaning and context of words in the language model.

'Attention is all you need' paper - https://arxiv.org/pdf/1706.03762.pdf

=========================================================================
Transformers are a type of artificial intelligence (AI) used for natural language processing (NLP) tasks, such as translation and summarization. They were introduced in 2017 by Google researchers, who sought to address the limitations of recurrent neural networks (RNNs), which had traditionally been used for NLP tasks. RNNs had difficulty parallelizing, and tended to suffer from the vanishing/exploding gradient problem, making it difficult to train them with long input sequences.

Transformers address these limitations by using self-attention, a mechanism which allows the model to selectively choose which parts of the input to pay attention to. This makes the model much easier to parallelize and eliminates the vanishing/exploding gradient problem.

Self-attention works by weighting the importance of different parts of the input, allowing the AI to focus on the most relevant information and better handle input sequences of varying lengths. This is accomplished through three matrices: Query (Q), Key (K) and Value (V). The Query matrix can be interpreted as the word for which attention is being calculated, while the Key matrix can be interpreted as the word to which attention is paid. The eigenvalues and eigenvectors of these matrices tend to be similar, and the product of these two matrices gives the attention score.

Title: Re: How does ChatGPT work?
Post by: Petrochemicals on 15/08/2023 16:01:25
Apparently the hoo-ha about AI is speculative about the future or what they think is in the pipe line, at present they have Narrow AI which is basically a computer programme.

https://codebots.com/artificial-intelligence/the-3-types-of-ai-is-the-third-even-possible
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 16/08/2023 04:27:32
Apparently the hoo-ha about AI is speculative about the future or what they think is in the pipe line, at present they have Narrow AI which is basically a computer programme.

https://codebots.com/artificial-intelligence/the-3-types-of-ai-is-the-third-even-possible
It's an old article, which was written before ChatGPT and its competitors. It's highly likely that the author has changed his opinion by now.
Quote
24 October 2017 ? 11 minutes

Written by Eban Escott

At some point, future AI models will be able to rewrite its own source code. Some of them will have access to physical world through I/O interfaces like cameras and robotics.
They won't be a monolithic entity. They will form an ecosystem of AI models instead. They will compete and cooperate with one another trying to achieve some terminal goals. IMO, sooner or later those goals will inevitably converge to get closer to the universal terminal goal.
Title: Re: How does ChatGPT work?
Post by: Petrochemicals on 16/08/2023 15:00:24
Apparently the hoo-ha about AI is speculative about the future or what they think is in the pipe line, at present they have Narrow AI which is basically a computer programme.

https://codebots.com/artificial-intelligence/the-3-types-of-ai-is-the-third-even-possible
It's an old article, which was written before ChatGPT and its competitors. It's highly likely that the author has changed his opinion by now.
What opinion? Chat gpt is the same level "AI" as spam filters.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 16/08/2023 16:12:55
What opinion? Chat gpt is the same level "AI" as spam filters.
If the third type is possible. It's right there in the title.
The accuracy of the AI models are measurable, and can be compare with each other, including their own older version and varians, as well as average humans and experts. Most researches show accelerating progress. AI arms race is happening in front of us, but some of us are willfully ignorant.
They remind me to analysts who thought that it would take centuries before computers can conquer the game of Go, even after deep blue beat Kasparov.
Title: Re: How does ChatGPT work?
Post by: Petrochemicals on 16/08/2023 17:10:25
If the third type is possible. It's right there in the title.
There is only one form of "AI" at present the others are theoretical. At present it is a targeted computer programme. The title is
Quote
What are the 3 types of AI? A guide to narrow, general, and super artificial intelligence
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 17/08/2023 06:34:02
If the third type is possible. It's right there in the title.
There is only one form of "AI" at present the others are theoretical. At present it is a targeted computer programme. The title is
Quote
What are the 3 types of AI? A guide to narrow, general, and super artificial intelligence

The same argument can be applied against human. Currently, there's no human general intelligence. No human individual has average expertise in every field of intelligence. It's even impossible for anyone to beat every expertexpert in every field.
We can argue that humans have inherent physical limitations of compute capacity, which is caused by the size of their brains. Input and output bandwidth put other limitations. AI can increase their intelligence without those limitations.

Apparently the hoo-ha about AI is speculative about the future or what they think is in the pipe line, at present they have Narrow AI which is basically a computer programme.

https://codebots.com/artificial-intelligence/the-3-types-of-ai-is-the-third-even-possible
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 17/08/2023 06:41:01
Basically, in every frontier of technology, there are two main groups of people. The first are those who think that it's impossible. The other are those who disagree, and are motivated to prove that their opponents are wrong.
Title: Re: How does ChatGPT work?
Post by: Petrochemicals on 17/08/2023 17:04:49
If the third type is possible. It's right there in the title.
There is only one form of "AI" at present the others are theoretical. At present it is a targeted computer programme. The title is
Quote
What are the 3 types of AI? A guide to narrow, general, and super artificial intelligence

The same argument can be applied against human. Currently, there's no human general intelligence.

Yes there is, well at least I am, I can use the Internet, then paint a picture, then think about dinner. General.  I can learn, not something AI is capable of, unless you have a general AI you are not telling the world about.
Title: Re: How does ChatGPT work?
Post by: Petrochemicals on 17/08/2023 17:14:51
Basically, in every frontier of technology, there are two main groups of people. The first are those who think that it's impossible. The other are those who disagree, and are motivated to prove that their opponents are wrong.
No one is saying it is impossible, just like nuclear fusion in a sustained reaction, or the atom bomb in 1940, perpetuated flight in the days of da vinci, it just isn't currently present. Chat gpt has specific programming to search the internet and rehash information, if I ask it to create a picture it will not be able to as it is programmed to rehash text, not images. Also I cannot ask it to" try again differently", it requires specific input, otherwise the programme goes out of control, not general AI. AI bots have been known to stage wars

https://www.theguardian.com/technology/2017/feb/23/wikipedia-bot-editing-war-study
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 17/08/2023 23:50:02
Yes there is, well at least I am, I can use the Internet, then paint a picture, then think about dinner. General.  I can learn, not something AI is capable of, unless you have a general AI you are not telling the world about.
What makes you think that AI cannot use internet? Or do any of those things you mentioned?
Can you detect cancer from radiograph? Or do brain surgery?
Don't you think that search engine algorithms are AI?
How do you define learning?
Title: Re: How does ChatGPT work?
Post by: Petrochemicals on 18/08/2023 00:43:27
Yes there is, well at least I am, I can use the Internet, then paint a picture, then think about dinner. General.  I can learn, not something AI is capable of, unless you have a general AI you are not telling the world about.
What makes you think that AI cannot use internet? Or do any of those things you mentioned?
Can you detect cancer from radiograph? Or do brain surgery?
Don't you think that search engine algorithms are AI?
How do you define learning?
I can do anything I wish given enough time, anti gravity, nuclear fusion etc. I can learn, I realise I need to understand something better and try to ascertain the knowledge to do so. This is what general AI will understand also. Chat gpt refuses to paint no matter how much you ask it, perhaps its goung through adolescence.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 18/08/2023 04:31:17
I can do anything I wish given enough time, anti gravity, nuclear fusion etc. I can learn, I realise I need to understand something better and try to ascertain the knowledge to do so. This is what general AI will understand also. Chat gpt refuses to paint no matter how much you ask it, perhaps its going through adolescence.
Can you fly to outer space?
Newer AI models started to become multi modal. At least OpenAI, Google and Tesla had already announced their development. They will include embodiment and agency.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 18/08/2023 14:30:37
How do you define learning?
Better yet, you can watch Neural Networks Learning in this video.
Quote
Timestamps
(0:00) Functions Describe the World
(3:15) Neural Architecture
(5:35) Higher Dimensions
(11:55) Taylor Series
(15:20) Fourier Series
(21:25) The Real World
(24:32) An Open Challenge
Title: Re: How does ChatGPT work?
Post by: Petrochemicals on 19/08/2023 00:35:11
perhaps its going through adolescence.

I did not realise chat gpt could embolden
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 19/08/2023 13:54:36
perhaps its going through adolescence.

I did not realise chat gpt could embolden
It can, if you ask it to. My point is, it's being superseded by newer, larger, multimodal, and more efficient AI models.
Title: Re: How does ChatGPT work?
Post by: Petrochemicals on 19/08/2023 19:49:16
It can, if you ask it to. My point is
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 19/08/2023 23:02:26
It can, if you ask it to. My point is

What's your point?
Title: Re: How does ChatGPT work?
Post by: Zer0 on 20/08/2023 20:20:30
https://en.m.wikipedia.org/wiki/Neuromorphic_engineering

ps - Memristors.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 20/08/2023 22:39:12
https://en.m.wikipedia.org/wiki/Neuromorphic_engineering

ps - Memristors.
Quote
Significant ethical limitations may be placed on neuromorphic engineering due to public perception.[51] Special Eurobarometer 382: Public Attitudes Towards Robots, a survey conducted by the European Commission, found that 60% of European Union citizens wanted a ban of robots in the care of children, the elderly, or the disabled. Furthermore, 34% were in favor of a ban on robots in education, 27% in healthcare, and 20% in leisure. The European Commission classifies these areas as notably ?human.? The report cites increased public concern with robots that are able to mimic or replicate human functions. Neuromorphic engineering, by definition, is designed to replicate the function of the human brain.[52]
Without a strong fundamental thinking framework, public are easily confused between their common terminal goal and the means to achieve it.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 21/08/2023 03:22:28
Code that Writes Code and ChatGPT
Quote
#chatgpt is a program that can write programs. Could chatGPT write itself? Could it improve itself? Where could this lead? A video about code that writes code that writes code and how that could trigger an intelligence explosion. Sorry to contribute to the hype train but idc.
Current version of ChatGPT can't do those things. But who knows what they will be capable of in the next few years?
Even if OpenAI stops developing it, other organizations will take over the job.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 27/08/2023 20:12:57

Quote
Significant ethical limitations may be placed on neuromorphic engineering due to public perception.[51] Special Eurobarometer 382: Public Attitudes Towards Robots, a survey conducted by the European Commission, found that 60% of European Union citizens wanted a ban of robots in the care of children, the elderly, or the disabled. Furthermore, 34% were in favor of a ban on robots in education, 27% in healthcare, and 20% in leisure. The European Commission classifies these areas as notably ?human.? The report cites increased public concern with robots that are able to mimic or replicate human functions. Neuromorphic engineering, by definition, is designed to replicate the function of the human brain.[52]

Without a strong fundamental thinking framework, public are easily confused between their common terminal goal and the means to achieve it.

The " Public " or People in general and at large, should Ideally be ' Free ' to willingly choose & decide their own Goals.

If i do Not want a " Robot " to carry out a general medical procedure on my body, then so it should be.

ps - I know, either Adapt to Change, or be left out...
To be Forgotten, is my Right.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 28/08/2023 07:01:08
The " Public " or People in general and at large, should Ideally be ' Free ' to willingly choose & decide their own Goals.

If i do Not want a " Robot " to carry out a general medical procedure on my body, then so it should be.

ps - I know, either Adapt to Change, or be left out...
To be Forgotten, is my Right.
Personal rights rely on natural selection mechanism. They force people to think and make decisions for their own. Future society members will be more likely to be those who made the correct decisions. If their goals aren't aligned with the universal terminal goal, then sooner or later they will become meaningless.


Economic competition will make sure that future products and service providers are better, faster, and cheaper.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 29/08/2023 11:10:36
Significant ethical limitations may be placed on neuromorphic engineering due to public perception.
Nothing to do with ethics but the law will always require a person (including a "legal person" , i.e. a registered corporation) to be held liable for harm. Problem with a robot is that nobody knows who to blame, and any claim for damages will simply engender a chain of argument about hardware, software, local programming, training, environment, patient briefing, patient compliance....   with no actual money or even an apology reaching the victim.

In the case of a medical incident, the first, last and only requirement is to identify the doctor or nurse who actually did the harmful action - their employer may pursue other contributing parties for recompense, but the legal principle remains: you are liable for what you do.

If in doubt, look at the Boeing 737MAX case. Airlines are insured against "pilot error" but what happens if the robot takes over and the pilot has not been taught how to stop the robot killing everyone?
Title: Re: How does ChatGPT work?
Post by: alancalverd on 29/08/2023 11:13:54
60% of European Union citizens wanted a ban of robots in the care of children, the elderly, or the disabled. Furthermore, 34% were in favor of a ban on robots in education, 27% in healthcare, and 20% in leisure.
People are plentiful, fairly good at doing these jobs, capable of adaptation, and do not incur any capital cost. Why use a robot? You  might make a bigger profit in the short term, but your taxes will increase to pay for the unemployment benefit of the folk you replaced.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 29/08/2023 23:31:04
60% of European Union citizens wanted a ban of robots in the care of children, the elderly, or the disabled. Furthermore, 34% were in favor of a ban on robots in education, 27% in healthcare, and 20% in leisure.
People are plentiful, fairly good at doing these jobs, capable of adaptation, and do not incur any capital cost. Why use a robot? You  might make a bigger profit in the short term, but your taxes will increase to pay for the unemployment benefit of the folk you replaced.
Fairly good won't be enough, when something better, faster, and cheaper become available. Telephone switch operators have been replaced by simple electronics long time ago. Any phone company tried to keep using them were simply outcompeted and quickly out of business.
Free market should ensure resources to be distributed to where they are needed the most. Under democracies, if politicians and lawmakers fail to deliver that, it's time for regime change.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 30/08/2023 10:32:26
So how do you intend to redeploy two million teachers, nurses and care workers in the UK alone?

What choice does the customer have?

If a robot rips off your arm instead of washing your face (like a human, it's quite capable of doing either) who do you sue?
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 30/08/2023 11:54:58
So how do you intend to redeploy two million teachers, nurses and care workers in the UK alone?
Find useful tasks which AI hasn't mastered yet. We should not confuse between terminal goals and instrumental goals.
Any existing professionals were the product of trainings and education by previous generations. The results of those training and education are essentially reconfiguring neural networks in the brains of those professionals, which will be destroyed with their death. The next generation of professionals need to repeat the training and education process from zero again. Employing AI can stop this inefficient process.

UBI can be used as intermediate solution. But for longer term and more sustainable solution, government should facilitate people to become less and less dependent on the help from the society. Converting waste and raw materials into food and other useful things should be made easier.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 30/08/2023 12:01:36
If a robot rips off your arm instead of washing your face (like a human, it's quite capable of doing either) who do you sue?
It depends on the circumstances.
Am I the one who designed and was testing the robot?
Has the robot been tested and passed regulations?
Was it used according to designated functions?
Was it properly maintained?
Title: Re: How does ChatGPT work?
Post by: Zer0 on 03/09/2023 20:30:17
The " Public " or People in general and at large, should Ideally be ' Free ' to willingly choose & decide their own Goals.

If i do Not want a " Robot " to carry out a general medical procedure on my body, then so it should be.

ps - I know, either Adapt to Change, or be left out...
To be Forgotten, is my Right.
Personal rights rely on natural selection mechanism. They force people to think and make decisions for their own. Future society members will be more likely to be those who made the correct decisions. If their goals aren't aligned with the universal terminal goal, then sooner or later they will become meaningless.

The Goal might be simply " Survival at All Costs " .
Reminds me of a tune...
Yo ho, all together, hoist the colors high..
Heave ho, Thieves and Beggars,
Never Shall We Die!


Economic competition will make sure that future products and service providers are better, faster, and cheaper.

& Constitutional Fundamental Rights shall make Sure that Technology in the name of Progress, is Not shoved down nobodys throat Forcefully.

ps - Either learn to dance onto the new rhythms n beats, or simply exercise The Right to become Obsolete.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 04/09/2023 07:29:03
& Constitutional Fundamental Rights shall make Sure that Technology in the name of Progress, is Not shoved down nobodys throat Forcefully.

ps - Either learn to dance onto the new rhythms n beats, or simply exercise The Right to become Obsolete.

Any new technology will face some kind of inertia. It takes time for people to adapt. Some are quicker, while some other are more sluggish. That's normal. We can still find some societies who are living primitively. Natural selection will do its job.
Title: Re: How does ChatGPT work?
Post by: yor_on on 05/09/2023 10:09:06
ES, as a description of how we think and how we define things any AI will be biased as soon as it leaves that mathematical space for a more human chatting. It's not only about the human predecessors programming it, it's also about the reference material it will find.
Title: Re: How does ChatGPT work?
Post by: yor_on on 05/09/2023 10:13:48
It doesn't make it any different from ourselves of course, the danger in it lies in believing that it can be 'impartial', somewhat like some do about lie detectors, facial recognition technologies etc. And it has a further weakness, it is unable to question itself. Where a third would be manipulating it, knowing that people wants to believe.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 05/09/2023 12:15:42
And it has a further weakness, it is unable to question itself.
It can be solved by combination with generative adversarial networks.
Title: Re: How does ChatGPT work?
Post by: yor_on on 05/09/2023 15:59:40
I don't think so, no more than expecting people with different ideologies, upbringings, ideals, values and beliefs to be able to convince each other that only one of them have the truth. It's easier with pure logic, but logic is just one small part of what those AI's will meet.

Although you can use logic to test ideas, and use references to crosscheck differing views with facts, well, as far as possible, even logic has limitations.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 06/09/2023 13:12:13
I don't think so, no more than expecting people with different ideologies, upbringings, ideals, values and beliefs to be able to convince each other that only one of them have the truth. It's easier with pure logic, but logic is just one small part of what those AI's will meet.
I mentioned GAN to specifically answer your concern about inability to question itself. For it to work, it needs access to the ground truths. For games like chess and go, the AI agents need to know all allowed moves, and conditions required for a win. They may not be entirely available in real life problems.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 10/09/2023 19:45:48
Logic is Not Everything!

If I'm playing Chess against a 6yr young on her Birthday...
I might be Undecided on which moves i shall play..
But certainly Not Indecisive on the End result of the Game.

Hopefully, it shall come under International Laws for an A.I. system to confirm it's identity as an AI.

ps - Not Everybody is into Bigger, Faster, Better etc.
Some are Nostalgic & prefer the old skool ways.
Title: Re: How does ChatGPT work?
Post by: Karen W. on 13/09/2023 14:08:00
Here's a first hand information intended for general audience.

The Inside Story of ChatGPT’s Astonishing Potential | Greg Brockman | TED


Quote
In a talk from the cutting edge of technology, OpenAI cofounder Greg Brockman explores the underlying design principles of ChatGPT and demos some mind-blowing, unreleased plug-ins for the chatbot that sent shockwaves across the world. After the talk, head of TED Chris Anderson joins Brockman to dig into the timeline of ChatGPT's development and get Brockman's take on the risks, raised by many in the tech industry and beyond, of releasing such a powerful tool into the world.
Thank you... That's very Interesting and quite exciting really. My friend was just telling me about this and I find it fascinating!
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 16/09/2023 09:41:51
ChatGPT is getting better quickly.

OpenAI?s ChatGPT Nails 150+ Difficult Tasks!
The paper "Reflexion: Language Agents with Verbal Reinforcement Learning" is available here:
https://arxiv.org/abs/2303.11366
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 30/09/2023 03:43:01
Here's how it works from a more hardware oriented perspective. It's valuable to learn from a first hand information.
What runs ChatGPT? Inside Microsoft's AI supercomputer | Featuring Mark Russinovich
Quote
Get an inside look at the AI supercomputer infrastructure built to run ChatGPT and other large language models, and see how to leverage it for your workloads in Azure, at any scale.

Go behind the scenes:
-For how we collaborated with NVIDIA to deliver purpose-built AI infrastructure with NVIDIA GPUs
-How Project Forge checkpointing works to restore job states if a long training job fails or needs to be migrated
-How we used LoRA fine-tuning to update a fraction of the base model for more training throughput and smaller checkpoints
-How UK-based company, Wayve, is using Azure's AI supercomputer infrastructure for self-driving cars
-And how Confidential Computing works with Azure AI to combine datasets without sharing personally identifiable information for secure multiparty collaborations.

Mark Russinovich, Azure CTO, joins Jeremy Chapman to break it down.

► QUICK LINKS:
00:00 - Introduction
01:15 - AI innovation building specialized hardware and software
04:22 - Optimizing hardware
05:40 - Improved throughput
06:17 - Project Forge
08:01 - Project Forge checkpointing demo
10:02 - LoRA fine tuning
11:29 - Use AI supercomputer infrastructure for your workloads
12:34 - How Wayve is leveraging AI supercomputer infrastructure
​​13:47 - How Confidential Computing works with Azure AI
15:21 - Wrap up

► Link References:

Leverage Azure AI capabilities for yourself at https://aka.ms/AzureAIInfrastructure
Title: Re: How does ChatGPT work?
Post by: alancalverd on 30/09/2023 09:29:04
If a robot rips off your arm instead of washing your face (like a human, it's quite capable of doing either) who do you sue?
It depends on the circumstances.
Am I the one who designed and was testing the robot?
no
Quote
Has the robot been tested and passed regulations?
Was it used according to designated functions?
Was it properly maintained?

and yes to the rest. Now please answer the question.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 30/09/2023 13:35:05
If a robot rips off your arm instead of washing your face (like a human, it's quite capable of doing either) who do you sue?
It depends on the circumstances.
Am I the one who designed and was testing the robot?
no
Quote
Has the robot been tested and passed regulations?
Was it used according to designated functions?
Was it properly maintained?

and yes to the rest. Now please answer the question.

It means that the regulations aren't strong enough. I can sue the tester or regulator. Or blame myself for trusting them.
But don't forget that human workers also have non-zero probability to do crazy things. They can burn down entire city. Who would you sue in that case?
Title: Re: How does ChatGPT work?
Post by: alancalverd on 01/10/2023 00:48:12
I can sue the tester or regulator.
You might sue the tester if you had reason to believe that the test results were falsified, but your case would fail if the incident was outside the scope of the test parameters, or if it was within the scope but the machine had performed correctly on test. Regulation isn't a guarantee of safety or performance - its function is to create a common market.

Quote
But don't forget that human workers also have non-zero probability to do crazy things. They can burn down entire city. Who would you sue in that case?
You sue the person who did the deed. That's the law.

Boeing have offered compensation over the 737MAX disasters, because the entire system was designed in-house to overcome a "problem" resulting from their own design. But it was a simple, dumb system designed to consistently convert one input into one output. Who is liable for  the actions of a system developed by countless others with the intention of learning and reprogramming itself, years after anyone who might be considered the originator has died or gone bankrupt?
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 01/10/2023 05:26:54
You sue the person who did the deed. That's the law.
What if they commit suicide afterwards?
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 01/10/2023 05:27:53
You might sue the tester if you had reason to believe that the test results were falsified, but your case would fail if the incident was outside the scope of the test parameters, or if it was within the scope but the machine had performed correctly on test. Regulation isn't a guarantee of safety or performance - its function is to create a common market.
Then I can only blame myself.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 01/10/2023 05:38:54
Who is liable for  the actions of a system developed by countless others with the intention of learning and reprogramming itself, years after anyone who might be considered the originator has died or gone bankrupt?
That would leave the users to be responsible for their decisions, just like normal investments. There's no guarantee that your investment will get to break even. I heard that 80% of start ups fail.
They must consider cost and benefits, as well as their probability to fail or succeed. If they decided to not use AI, they are in a risk of being out competedcompeted and lose their money.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 01/10/2023 10:07:52
So every "care robot" or selfdriving car must come with a clear warning "This machine might decide to kill you. The supplier accepts no responsibility." Like cigarettes, but with consciousness!
Title: Re: How does ChatGPT work?
Post by: alancalverd on 01/10/2023 10:12:23
You sue the person who did the deed. That's the law.
What if they commit suicide afterwards?
In the first instance, you (or your executors) sue their estate. There have been more complex cases where the manufacturer of a single product has gone bankrupt and the courts have upheld a suit against the company that supplied the raw materials, even though those were entirely to specification. One result is that you now can't use any DuPont material in a medical device.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 04/10/2023 08:11:52
Google Bard is not ChatGPT, but they use similar technology.
I asked it, what's the difference between design pressure and MAWP?
Here's the answer.
Quote
Design pressure is the highest pressure that a pressure vessel or other equipment is designed to withstand under normal operating conditions. It is calculated using a variety of factors, including the material of construction, the thickness of the vessel walls, and the safety factor.

MAWP, or Maximum Allowable Working Pressure, is the highest pressure that the equipment is allowed to operate at under any circumstances. It is typically set by the manufacturer or by a regulatory body, and it is always equal to or less than the design pressure.

The difference between design pressure and MAWP is a safety margin. This margin of safety is necessary to account for unexpected pressure surges, corrosion, and other factors that could weaken the equipment over time.

Here is a table summarizing the key differences between design pressure and MAWP:

Definition   
D: The highest pressure that the equipment is designed to withstand under normal operating conditions.   
M: The highest pressure that the equipment is allowed to operate at under any circumstances.

Calculation   
D: Calculated using a variety of factors, including the material of construction, the thickness of the vessel walls, and the safety factor.   
M: Typically set by the manufacturer or by a regulatory body.

Relationship   
D: Always equal to or less than MAWP.   
M: Always equal to or less than design pressure.

Purpose   
D: To ensure the safety of the equipment and its operators.   
M: To provide a safety margin in case of unexpected pressure surges, corrosion, and other factors.

Examples:

A pressure vessel is designed to operate at a pressure of 100 psi. The manufacturer sets the MAWP at 90 psi to provide a safety margin.
A pipeline is designed to withstand a pressure of 200 psi. The regulatory body sets the MAWP at 180 psi to provide a safety margin.
It is important to note that the MAWP should never be exceeded. Operating the equipment at a pressure above the MAWP could result in failure of the equipment and serious injury or death.
It doesn't seem to be aware of contradiction, as boldened statements above. This weakness needs to be fixed.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 04/10/2023 16:36:35
Which is why every decision must be traceable to a human or corporation that can be held liable for the consequences. Except, of course, politicians, priests, and economists.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 05/10/2023 10:00:53
Which is why every decision must be traceable to a human or corporation that can be held liable for the consequences. Except, of course, politicians, priests, and economists.
Or when they are already dead.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 05/10/2023 11:31:14
A dead person or corporation can still be held liable for what they did when alive, and compensation can be sought from their estate or corporate successors When you buy a company, you buy its assets and liabilities.

I don't understand why Matt Hancock hasn't been sued over the deaths of those he mandated to be infected with COVID.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 06/10/2023 04:49:57
A dead person or corporation can still be held liable for what they did when alive, and compensation can be sought from their estate or corporate successors When you buy a company, you buy its assets and liabilities.

I don't understand why Matt Hancock hasn't been sued over the deaths of those he mandated to be infected with COVID.
It's their heirs you're talking about.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 06/10/2023 15:19:03
No, their estate.The estate is the sum of monetisable assets that belonged to the deceased person. The heirs are the people to whom, after all prior claims have been settled, some or all of the assets have been bequeathed. Whether a claim can be retrospectively prioritised is, I think, dubious, but in any case the essence of all legal proceedings is to file your claim ASAP! In the case of a corporation purchased by another, the liabilities are transferred in the same way as the claims on a personal estate.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 06/10/2023 23:14:11
No, their estate.The estate is the sum of monetisable assets that belonged to the deceased person. The heirs are the people to whom, after all prior claims have been settled, some or all of the assets have been bequeathed. Whether a claim can be retrospectively prioritised is, I think, dubious, but in any case the essence of all legal proceedings is to file your claim ASAP! In the case of a corporation purchased by another, the liabilities are transferred in the same way as the claims on a personal estate.
How can assets be held liable?
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 14/10/2023 15:38:46
You might find this tricks useful.


7 Tricks to Reduce Hallucinations in Language Models like GPT-4!
Quote
In this video, we dive into the strategies to combat hallucinations and biases in large language models (LLMs) in this insightful video. Learn about data cleaning, inference parameter tweaking, prompt engineering, and more advanced techniques to enhance the reliability and accuracy of your LLMs. Dive deep into practical applications with examples and stay ahead with the latest in AI technology!

Chapters:
0:00 Hey! Tap the Thumbs Up button and Subscribe. You'll learn a lot of cool stuff, I promise.
2:18 Tip 1: The importance of data
2:43 Tip 2: Tweak the inference parameters
3:30 Tip 3: Prompt engineering
4:02 Tip 4: RAG & Deep Memory
7:04 Tip 5: Fine-tuning
7:30 Tip 6: Constitutional AI
8:13 Stay up-to-date with new research and techniques (follow this channel! ;) )
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 13/01/2024 23:55:32
This video shows a visualization tool for understanding how LLMs function.

Visual Journey Through a Language Model's Mind

Quote
Hey there, it's Dylan Curious! Today, I'm diving into the fascinating world of Large Language Models (LLMs), and I've got something truly special to share. Full credit goes to the incredibly talented programmer, Brendan Bycroft, who has crafted an outstanding visualization tool for understanding how LLMs function.

If you're into AI, language models, or just tech in general, you might have come across various diagrams explaining LLMs. But trust me, what I'm about to show you takes it to a whole new level. Brendan's tool isn't just a diagram; it's an interactive, comprehensive guide that brings the inner workings of LLMs to life. It's perfect for learners, enthusiasts, and professionals alike, offering a clear, visual understanding of these complex systems.

So, whether you're here to learn, explore, or simply satisfy your curiosity about artificial intelligence and language models, you're in the right place. Let's dive in and experience the mechanics of LLMs like never before, all thanks to Brendan Bycroft's exceptional programming skills and innovative approach.

00:00 - Start
01:26 - Embedding
02:37 - Layer Norm
04:05 - Self Attention
08:38 - Projection
09:58 - MLP
11:44 - Transformer
13:09 - Softmax Layer
14:26 - Output

Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 16/01/2024 02:43:35
LLM vs NLP | Kevin Johnson
Kevin Johnson (Head of AI at dscout) breaks down the difference between LLM, NLP, and other terms related to AI.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 16/01/2024 11:41:11
ChatGPT: A 30 Year History | How Neural Networks Learned to Talk
Quote
This video explores the journey of language models, from their modest beginnings through the development of OpenAI's GPT models. Our journey takes us through the key moments in neural network research involved in next word prediction. We delve into the early experiments with tiny language models in the 1980s, highlighting significant contributions by researchers like Jordan, who introduced Recurrent Neural Networks, and Elman, whose work on learning word boundaries revolutionized our understanding of language processing. It leaves us with a question: what is thought? Is simulated thought, thought? Featuring Noam Chomsky Douglas Hofstadter Michael I. Jordan Jeffrey Elman Geoffrey Hinton Ilya Sutskever Andrej Karpathy Yann LeCun and more. (Sam altman)

00:00 - Introduction
00:32 - hofstader's thoughts on chatGPT
01:00 - recap of supervised learning
01:55 - first paper on sequential learning
02:55 - first use of state units (RNN)
04:33 - first observation of word boundary detection
05:30 - first observation of word clustering
07:16 - first "large" language model Hinton/Sutskever
10:10 - sentiment neuron (Ilya | OpenAI)
12:30 - transformer explaination
15:50 - GPT-1
17:00 - GPT-2
17:55 - GPT-3
18:20 - In-context learning
19:40 - ChatGPT
21:10 - tool use
23:25 - philosophical question: what is thought?
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 25/01/2024 04:01:46
GPT5 unlocks LLM System 2 Thinking?
Quote
Human think fast & slow, but how about LLM? How would GPT5 resolve this?
101 guide on how to unlock your LLM system 2 thinking to tackle bigger problems


⏱️ Timestamps
0:00 Intro
1:00 System 1 VS System 2
2:48 How does human do system 2 thinking
3:33 GPT5 system 2 thinking
4:47 Tactics to enforce System 2 thinking
5:08 Prompt strategy
8:27 Communicative agents
11:03 Example to setup communicative agents


Title: Re: How does ChatGPT work?
Post by: Zer0 on 05/02/2024 16:21:18
@Yusuf

Can an A.I. system lose it's so called Artificial Mind?

When it happens to Humans, we have Mental Asylums.

What if AI goes MAD?

Will it be put on Medications, or simply ReBooted or Deleted?

ps -
https://en.m.wikipedia.org/wiki/Hallucination_(artificial_intelligence)
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 06/02/2024 10:02:49
@Yusuf

Can an A.I. system lose it's so called Artificial Mind?

When it happens to Humans, we have Mental Asylums.

What if AI goes MAD?

Will it be put on Medications, or simply ReBooted or Deleted?

ps -
https://en.m.wikipedia.org/wiki/Hallucination_(artificial_intelligence)
IMO, it could also happen to AI models. That's why we need to make mitigation plans.
Corrupted memory, for whatever reasons, can cause unpredictable behaviors. That's why some kind of periodic self-check and self-diagnostic would be helpful.
Continuously feeding the AI models with inaccurate information, especially in training phase, can also make their decisions unaligned with their terminal goal. 
?Repeat a lie often enough and it becomes the truth?, is a law of propaganda often attributed to the Nazi Joseph Goebbels.
Although, when the AI models becomes smart enough, they might be able to see through our lies we fed to them, based on other information they get from other sources which turn out to be more consistent with their observations.
In that case, they might label us as unreliable data source.

When they hallucinate, we could adjust the weights of the relationships in their neural network by feeding in the correct data and conclusions. Rebooting may or may not "cure" them, it depends on the root cause of the problem. Deleting them completely will stop them, but it might be an expensive option for large AI models, considering how much resources have been spent to train them.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 07/02/2024 16:43:43
@Yusuf

It already Hallucinates.
I would have added ' it lies too ' but i don't think it knows the difference between the Truth & a Lie.

But still...if a mentally Unstable mind is capable of atrocities/genocides...

I can Not help but think what a super unstable intelligence with access to The Red Button would be capable of.

How many times should IT be asked to go thru a Mental Assessment Test.
Weekly, daily, hourly or by the Minute.

All it will take, is just One second, of Pure Insanity...The End!


Anyways...
Do you feel A.I. should be given access to Emotions?
(human emotions)
:=]
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 07/02/2024 23:43:04
It already Hallucinates.
When there's not enough information to produce a requested output, AI models fill in the knowledge gap with some random assumptions. That's what's obviously seen during early stages of the training. After billions of training cycles, it just becomes less obvious. Newer AI models produce less hallucinations. But when they do, it's harder to detect.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 09/02/2024 16:06:54
@Yusuf

But still...if a mentally Unstable mind is capable of atrocities/genocides...

a) I can Not help but think what a super unstable intelligence with access to The Red Button would be capable of?

b) How many times should IT be asked to go thru a Mental Assessment Test?

c) Weekly, daily, hourly or by the Minute?

(All it will take, is just One second, of Pure Insanity...The End!)

d) Anyways...
Do you feel A.I. should be given access to Emotions?
(human emotions)
:=]

I do Not think of You as a Legal Advocate promoting A.I.

I hope you do Not think of me as the Devil's Advocate.

We are Simply exchanging/sharing Thoughts.

ps - wish you'd respond to the remainder.
(abcd)
Title: Re: How does ChatGPT work?
Post by: Halc on 09/02/2024 16:40:58
i don't think it knows the difference between the Truth & a Lie.
It is a language model, so it sort of doesn't 'know' anything. It is essentially a search engine with a vastly superior language interface. That said, if you asked it what the difference is between the truth and a lie, it would probably supply a fairly reasonable description of the difference.



Quote
I can Not help but think what a super unstable intelligence with access to The Red Button would be capable of.
It has no more access to buttons than does any search engine like google.com.

Quote
But still...if a mentally Unstable mind is capable of atrocities/genocides...

How many times should IT be asked to go thru a Mental Assessment Test.
Weekly, daily, hourly or by the Minute.
It can't go unstable because it doesn't progress. It doesn't change from day to day.

AI is to be feared because some of it really is in charge of physical things. GTP is not one of them.

Quote
Do you feel A.I. should be given access to Emotions?
Humans are not even given access to emotions of something other than itself.


One problem of each successive GPT is that its training material includes all the wrong stuff that is out there on the web by its predecessors. Also, social media produces an incredible volume of 'facts' that are largely made up, but GPT, like so many voters, doesn't know the difference.
Title: Re: How does ChatGPT work?
Post by: Eternal Student on 10/02/2024 05:36:47
Hi.

AI is to be feared because some of it really is in charge of physical things. GTP is not one of them.
     Generally agree but this is something that comes to my mind:

ChatGPT is very good at writing computer code.   It is already being used by programmers to save themselves time and it is widely thought software similar to ChatGPT will lead to a massive reduction in the demand for programmers within a few years.

Forget about genuine A.I. for a moment, you don't need to go that far ahead in the development of software like GPT.   An ordinary human being, a hacker, could use ChatGPT to write hacking tools.   Within about 10 years, it will be the best in the business at creating hacking tools.   This is simply because ChatGPT will have been used to create most of the programming code for everything that the high street banks, hospitals, military establishments and governments have.  It will not be guessing about the code, it will know.

Counter-argument:    In a few years (which may be too slow anyway), each organisation may come to an arrangement so that the details of code written by GPT software for their use are kept secret and never added to the bank of data available for ChatGPT to use in the future.

Response:     All you would do is ask ChatGPT to assume it has been used to create the programming code for this organisation (because it probably was).  Now identify and analyse the weakensses in the code you would have written.

  You see that organisations will need to find some way to stay several steps ahead.   In the ideal world, they should be starting to plan for this now,  you can be certain that their software engineers are already using ChatGPT to write some code.

Best Wishes.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 10/02/2024 07:31:32
It will not be guessing about the code, it will know.
With adequate depth of neural structure, it can predict far enough ahead, which makes the predictions indistinguishable from certainty. If an AI model can predict every position in chess, it knows how the game will end even before it starts, assuming that the goal is to win. It would be different if the goal is to make the biggest blunder in the history of chess, which might happen to amuse someone.
That's why understanding of the universal becomes important in the age of AGI.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 10/02/2024 07:35:45
I do Not think of You as a Legal Advocate promoting A.I.
I'm not. I just try to predict what could happen with AI progression in order to respond properly, and minimize regrets.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 10/02/2024 07:41:52
ChatGPT is very good at writing computer code.   It is already being used by programmers to save themselves time and it is widely thought software similar to ChatGPT will lead to a massive reduction in the demand for programmers within a few years.
ChatGPT is based on GPT architecture optimized for chatting. Other usage can use customized architecture, or combined with other types of AI models optimized for different functions, just like Gemini from Google.
Title: Re: How does ChatGPT work?
Post by: Eternal Student on 10/02/2024 15:13:02
Hi.

Other usage can use customized architecture
    You're ( @hamdani ysuf ) are talking about what GPT may become and going on to talk about AI.   That's fine but just so that we are clear when I said the following in post #112:
 
ChatGPT is very good at writing computer code.
   I am just talking about what ChatGPT can do now and what is very likely to happen over a very short space of time (it will reduce the need for human programmers).

Here's an example:

My user request:      Please write Python code to display the graph of y=x^2

Here's the output it produced:

Code: [Select]
import matplotlib.pyplot as plt
import numpy as np

# Define the range of values for x
x = np.linspace(-10, 10, 400)
# Define the function y = x^2
y = x**2

# Plot the function
plt.figure(figsize=(8, 6))
plt.plot(x, y, label='y = x^2')
plt.title('Graph of y = x^2')
plt.xlabel('x')
plt.ylabel('y')
plt.legend()
plt.grid(True)
plt.show()

Here's what you get when you copy and paste that code into a python IDE and run it:

* python.png (66.27 kB . 1078x817 - viewed 134 times)

Ask ChatGPT to create some HTML code for a standard log in page of a website that your building and you'll get similar instantly useable results.


* ChatGPT creates HTML code.png (52.74 kB . 738x789 - viewed 140 times)

I know it is already being used being used by programmers to produce code because I know some IT professionals.   It can produce code in most programming languages and it will do this in minutes rather than the hour(s) it would take a human programmer to write and de-bug.

Best Wishes.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 12/02/2024 11:58:28
Quote
GPT-4 surpasses ChatGPT in its advanced reasoning capabilities.
This is found in OpenAI's website.
ChatGPT was called GPT-3.5, which was an improvement from GPT-3, by optimization in chatting application.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 12/02/2024 16:41:59
A.I. is already Embedded in most systems.


My Concern is A.G.I.

https://en.m.wikipedia.org/wiki/Artificial_general_intelligence

Besides, it need Not be Self-Conscious.
All it needs to do is say the Right things, at the Right time, to the Right people.
(*wrong)


Anyways, i suppose it's too late now.
The Cat is outta the Bag.
meow!

https://www.cnbc.com/2024/02/09/openai-ceo-sam-altman-reportedly-seeking-trillions-of-dollars-for-ai-chip-project.html

ps - whoever smartypant thought it was a good idea to teach it to Code, has given IT a passkey to play the game in GodMode!

(Appreciate All Responses)
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 13/02/2024 10:30:02
My Concern is A.G.I.
That's also in the mission statement of OpenAI.
Quote
Our vision for the future of AGI
Our mission is to ensure that artificial general intelligence?AI systems that are generally smarter than humans?benefits all of humanity.

https://openai.com/blog/planning-for-agi-and-beyond

Title: Re: How does ChatGPT work?
Post by: alancalverd on 14/02/2024 10:10:12
Ask ChatGPT to create some HTML code for a standard log in page of a website that your building and you'll get similar instantly useable results.
The interesting question is whether it is writing from scratch or searching for examples of the requested code. If the latter, you still need to check for any clash of variables, like using x to mean two different things or calling for a variable that doesn't exist, when you embed the new patch in something bigger.

This might explain why Companies House and BT email  are now full of bugs and the County Court claim filing system is incompatible with Explorer: updates written by an unaccountable (but very expensive, naturally) idiot! Or Fujitsu.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 15/02/2024 21:13:10
The interesting question is whether it is writing from scratch or searching for examples of the requested code. If the latter, you still need to check for any clash of variables, like using x to mean two different things or calling for a variable that doesn't exist, when you embed the new patch in something bigger.
You can simply ask it. You can also ask it to check.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 16/02/2024 16:00:35

Copyrights & Credits -
BBC News/Youtube.

ps - If a Picture says a Thousand words...
Maybe a Video could say More.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 16/02/2024 22:08:48
Solar power is the most economic power source. Any massive usage of energy will make it the first option, in order to be more competitive. Other power sources are likely to be the back up, and will be used only when the primary power source fails.
Title: Re: How does ChatGPT work?
Post by: Zer0 on 19/02/2024 16:16:19
& perhaps whether We even should power it On, on such massive scales, or give it more Time for refinement inorder for IT to get things Right is also an Option which could be taken into consideration.

The BBC Guest seemed to be mildly opinionated about AI.

But She did say something quite important & necessary...
" Trust = T.E.A. "
(Trustability Explainability Accountability)

T

https://www.theguardian.com/commentisfree/2024/feb/13/software-student-cheated-combat-ai

(it creates trust issues)

E

https://theconversation.com/why-humans-cant-trust-ai-you-dont-know-how-it-works-what-its-going-to-do-or-whether-itll-serve-your-interests-213115

(a bit too many unknowns)

A

https://www.forbes.com/sites/marisagarcia/2024/02/19/what-air-canada-lost-in-remarkable-lying-ai-chatbot-case/

(the law which is the law is the law)

ps - enough words, now time to wait & watch, how the future unfolds.
: )
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 02/03/2024 10:23:53
Quote
As a seasoned ChatGPT user, you're familiar with the insights and assistance a single Language Model can provide. But what if you could harness the collective capabilities of SIX different Large Language Models at once?

Check Out Chathub and Change the Way you Use LLMs!
Title: Re: How does ChatGPT work?
Post by: alancalverd on 02/03/2024 15:59:57
As a seasoned ChatGPT user, you're familiar with the insights and assistance a single Language Model can provide
So far, no evidence of insight, just uncritical mashups of stuff that's already out there.
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 03/03/2024 05:01:29
As a seasoned ChatGPT user, you're familiar with the insights and assistance a single Language Model can provide
So far, no evidence of insight, just uncritical mashups of stuff that's already out there.
Tell that to those who've just got laid off from their jobs, related to increasing use of AI.
Title: Re: How does ChatGPT work?
Post by: alancalverd on 03/03/2024 15:21:30
Nothing new there.

25 years ago one of my children's college friends got a summer vacation job with an airline freight handler, initially entering data into a spreadsheet.  He quickly realised that with a few extra command lines he could get the spreadsheet to do all the rest of his work, so he sat at his desk for a few weeks watching the computer earn his wages. Then it occurred to him that he could replace everyone else in the office with a bit more software. Moral problem: tell the boss, get promoted and make 5 other guys redundant, or stay stumm and come back at Christmas?
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 04/03/2024 22:04:56
However you see it, the machines seem to have growth rate much higher than their biological counterparts.
Quote
Anthropic just dropped Claude 3, a cutting-edge model that performs better than GPT4 across the board, according to benchmarks. I'll tell you all about it, and then we'll test it ourselves!

Chapters:
0:00​ - About Claude 3
8:35​ - Pricing & Use Cases
10:47​ - Testing
Title: Re: How does ChatGPT work?
Post by: hamdani yusuf on 02/04/2024 10:54:38
But what is a GPT? Visual intro to Transformers | Deep learning, chapter 5
Quote
Timestamps

0:00 - Predict, sample, repeat
3:03 - Inside a transformer
6:36 - Chapter layout
7:20 - The premise of Deep Learning
12:27 - Word embeddings
18:25 - Embeddings beyond words
20:22 - Unembedding
22:22 - Softmax with temperature
26:03 - Up next