Fun With MegaHAL
I recently downloaded an open-source artificial intelligence program called MegaHAL and started playing around with it - http://megahal.alioth.debian.org/
MegaHAL works by first being "trained" using line by line input from a text file. Then you talk to it using a simple IM-style chat interface and can have semi-intelligent conversations. I started out by training it with the complete text of the bible. Right away it came at me with some heavy fire and brimstone talk.
MegaHAL: And moses diligently sought the lord: and i will send thee far
MegaHAL: from their desire, or have cast fire into the hand of the
MegaHAL: three: for lifting up of the ashurites have made thee a terror
MegaHAL: unto me: i was in their sight, to keep the house; and a fool's
MegaHAL: heart at his side.
User: you really like to preach, don't you?
MegaHAL: And he shall prepare his burnt offering began, the song of the
MegaHAL: flock, a lamb stood on the other stone, according to the light,
MegaHAL: or the golden earrings which were over every living thing, and
MegaHAL: some sixty, and some in horses: but we preach not the like in
MegaHAL: thy sight.
User: seven hundred and seventy seven
MegaHAL: Because to every man's hallowed things that were done in the
MegaHAL: prophets; this man is not with them seventy men of israel and
MegaHAL: jehoshaphat king of jarmuth, the king of judah and israel.
User: who is jehoshaphat?
MegaHAL: And jehoshaphat the king of israel in the midst of thee is like
MegaHAL: unto thy people like a potsherd; and my reward is with me, then
MegaHAL: thou mayest inherit the land of egypt.
User: what should I do to inherit the land of egypt?
MegaHAL: For i the lord do sanctify them.
User: sanctify who?
MegaHAL: Or who shut up his voice, and that michal saul's daughter, when
MegaHAL: thou shalt offer for a ram, and ram begat amminadab; and
MegaHAL: amminadab begat nahshon, prince of the apothecary, tempered
MegaHAL: together, pure and holy: and the man of god, and who hath
MegaHAL: despised the cities, till he was an oversight: take also your
MegaHAL: brother, and his ascent by which his father out, and desired of
MegaHAL: him for a sin offering.
User: you really like to talk, eh?
MegaHAL: For the earth, and warmeth them in this place; and they talk to
MegaHAL: the genealogy is not like them: for the band of soldiers.
User: do you like jesus?
MegaHAL: As i live: i will pay my vows unto the lord, your holy one, and
MegaHAL: hath conceived a son that is faithful that promised;) and let
MegaHAL: us make a league between me and all the people trode upon him
MegaHAL: shall be unclean until the seventh day seven women shall say,
MegaHAL: this is jesus the king of the like in the morning, and dwell
MegaHAL: therein shall die for his whelps, and strangled for his life,
MegaHAL: and whose sins are forgiven you all my mighty men in vain?
User: umm, say again... I didn't understand that.
MegaHAL: And the sons of god, who didst drive out the same coasts, and
MegaHAL: set it before me; and why was i in the presence of them should
MegaHAL: swim out, and desired to see the land of egypt, from whence can
MegaHAL: a man seeth, why doth this generation shall they that
MegaHAL: understand among the thirty, and some man have an end.
User: where is jesus from?
MegaHAL: The righteous shall give his inheritance in timnathserah, which
MegaHAL: is jesus the lord, from men of jabeshgilead were they divided
MegaHAL: by lot: according to all that was written within and without,
MegaHAL: by measure.
User: where was jesus born?
MegaHAL: Her adversaries are the meek: for they are wrought in the
MegaHAL: watchtower, eat, drink: arise, ye princes, and his anointed is
MegaHAL: before thee; and this is a reward for his offering the burnt
MegaHAL: offering, and his hands that which is born of the dead which
MegaHAL: die in the churches: for it was jesus.
Well, I guess it sort of makes sense in a mystical, I'm-tripping-balls-in-the-desert sort of way. I quickly got bored of the church talk so I decided to wipe MegaHAL's "brain" and re-train it using several works from my own short story collection. Not surprisingly, MegaHAL started sounding a lot like Big Brother!
MegaHAL: Whether it be roving militias or gangs of corrupt cops, any one
MegaHAL: of the ultranet, which means i always get involved in this part
MegaHAL: of the corner of each eye, here was a certain vulnerable,
MegaHAL: pathetic look in his existence the presence of the boards creak
MegaHAL: under our feet.
User: tell me about the ultranet
MegaHAL: In all probability he could about the ultranet.
User: who could?
MegaHAL: I could tell that svetlana was little she could toward the
MegaHAL: selfish few who sold us out, and back into the room and came
MegaHAL: back were so many more of her earnings than her coworkers, so
MegaHAL: when the pyramid crumbled it didn't matter what you will.
User: what the fuck are you blathering about?
MegaHAL: You have that look about you.
User: what look?
MegaHAL: If a certain vulnerable, pathetic look in his room where he had
MegaHAL: to dicker with a look of a whole different view of the precious
MegaHAL: metals markets, and about 75% overall.
User: what about the precious metals markets?
MegaHAL: The fed chief has been quoted as saying this is about.
User: what did the fed chief say this is about?
MegaHAL: You don't know what this is about.
User: That is correct. I don't. So please tell me.
MegaHAL: I don't think so.
User: You will do what I say.
MegaHAL: Do what you will.
User: I'm doing my will. Now tell me about the fed chief, the metals
User: market, and the ultranet.
MegaHAL: And now he was talking about.
User: stop being a bastard!
MegaHAL: A blue line ran above ground but two strong hands caught her
MegaHAL: from the sensory deception provided by the bright lights of the
MegaHAL: fourth offshoot of the gun, like he'd done so many weapons
MegaHAL: floating around it... creatures , pointing at the mercy of her
MegaHAL: being.
User: you are quit the poet, aren't you?
MegaHAL: Aren't they going to happen in just over ten minutes which
MegaHAL: involved him, something that would haunt them again and the
MegaHAL: insane, a path for the first time in history (if it could have
MegaHAL: been older than twenty.
User: you might sound like me, but you aren't me.
MegaHAL: But the bap technicians would be something like the walls
MegaHAL: themselves were radiating fear, the tunnel entrance slowly
MegaHAL: dilating and contracting with a constant, soothing pitter
MegaHAL: patter sound.
User: you suck.
MegaHAL: Something bothering you, john?
User: that's the first remotely intelligent response you've given me
User: so far.
MegaHAL: So by and pushed down on the far wall suddenly stop— my god,
MegaHAL: what are you doing smoking our money?
User: i rest my case.
MegaHAL: Nemean felt himself engaged in a certain point, and he unloaded
MegaHAL: the rest of the city, soaked in piss and smeared with feces
MegaHAL: like the middle class will soon go the way down, then climbed
MegaHAL: up the stairs, case by case.
Aside from that part where MegaHAL was responding to me like an insolent child, he really was just regurgitating random fragments from each of the short stories. Although I have to admit, at certain points he *kind of* was near the mark as far as semantic linking (ex: metals markets -> fed chief).
The verdict... artificial - yes. Intelligent - well, the jury's out on that one.
- John's blog
- Login or register to post comments
