IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> MegaHAL, need input
Sandman[SA]
post May 6 2004, 05:24 AM
Post #1


RCBot Waypointer
*****

Group: Moderator
Posts: 987
Joined: 15-September 03
From: Philadelphia
Member No.: 19



In the rcbot_botprofiles_readme.txt, details of what to do with the 4 common_hal files are a bit vague. For some reason, rcbot 1.3 does not come with the common_hal.aux so I have absolutely no clue of what to put in there. Also, the common_hal.brn is basicly void of any examples so im unsure of what to include there either.


Cheeseh, can you offer any assistance? I want to know exactly what I can and can't do with these 4 common_hal files. The more detailed you can get, the better.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 6 2004, 10:35 AM
Post #2


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



hmm, must have forgotten the auxilliary file, it will read it if you create it (make a common_hal.aux file) & copy the format of the other megahal files.

I managed to know what all of the files were by simply looking at them and seeing what was in them from PMs RACC megaHAL test program.

the .brn is all binary data so obviously you aren't meant to even look at that or edit it, it's simply for data storage.

The .trn file, what is in it is simply lines of text which are sentences. So obviously just shove any arbitrary sentence you find which is of relevence and shove them in that file. The training file is simply for the bots to make a brain if they don't have one instead of learning first. Just shove in sentences and they will learn from them if they don't have a brain instead of learning first from humans talking in the game.

.swp should be easy no?

This just holds words that can be swapped from the bot listening for it to say things. e.g. if someone says "your stuff" the bot might say "my stuff" so that it makes sense. And of course saying "I am" while talking to the bot, the bot should say "you are" back at some point and NOT "I am" because the person was talking about themself and not the bot. Also you don't want it to say "I are" or "you am" either so you need both words in that swp file to have their third/first person type meanings.

I've told Petit what the .ban was for, filtering words if you don't want bots to learn them.


this is PM's auxilliary file.

CODE

# RACC - Bot chat HAL auxiliary keywords file
#
# This is a list of keywords which can be used as is by the HAL only for
# supplementing another keyword.
# Every word must be written in CAPITAL LETTERS.
# Any void or sharp-prepended line will be ignored.

DISLIKE
HE
HER
HERS
HIM
HIS
I
I'D
I'LL
I'M
I'VE
LIKE
ME
MINE
MY
MYSELF
ONE
SHE
THREE
TWO
YOU
YOU'D
YOU'LL
YOU'RE
YOU'VE
YOUR
YOURS
YOURSELF


can either make a new file with all that or download the attachment smile.gif


Attached File(s)
Attached File  common_hal.aux ( 457bytes ) Number of downloads: 22
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Sandman[SA]
post May 6 2004, 09:27 PM
Post #3


RCBot Waypointer
*****

Group: Moderator
Posts: 987
Joined: 15-September 03
From: Philadelphia
Member No.: 19



Ok, that's helping.

The common_hal.trn sounds like an equivilant to the bot_chat.ini. Assuming your to fill this with random sentences, something you may see people talking about doring gameplay. Can it be used LIKE the bot_chat.ini where it can respond to certain circumstances or do the bots use it for random chit-chat only?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 6 2004, 11:30 PM
Post #4


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



you can think of it as another bot_chat.ini file but really you are just putting arbitrary sentences into it, rather than a sentence that a bot might say to you in general. This file should contain a mixed amount of sentences on seperate subjects preferably. Read the megaHAL "training megaHal" section at megaHAL homepage (http://megahal.sourceforge.net)

QUOTE

4.4 Training MegaHAL
When MegaHAL is started it has no knowledge of language, and is unable to give a reply at all---the program needs to be trained using a source of text to ensure that it does not reveal its identity prematurely. A large corpus of training data was created for this purpose.

The training data is made up of various texts:

Hand-crafted sentences designed in order to create a personality for MegaHAL, including sentences containing a false name, age and occupation.
Encyclopaedic information taken from the Web, on topics such as geography, music, sports, movies and history.
A selection of sentences picked from transcripts of previous Loebner contests.
Lines of dialogue taken from scripts for movies and television shows.
Lists of popular quotations.
A small amount of text in languages other than English.
When MegaHAL is trained using this data, it is able to respond to questions on a variety of topics. It is hoped that the program will also learn new topics from the judges, although this remains to be seen.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Sandman[SA]
post May 7 2004, 04:32 AM
Post #5


RCBot Waypointer
*****

Group: Moderator
Posts: 987
Joined: 15-September 03
From: Philadelphia
Member No.: 19



Wow, very interesting. This could lead into the creation of some pretty huge training files. Now what about the bots learning this stuff though? Seems they have indivdual .brn files for each bot profile. That's 25 brains, one for each profile. Won't this suck up a lot of hdd space?

Would it be possable for all bots to read from the same .brn or is it that you where looking to get the bots to each have it's own learning curve and thus present some sort of individuality?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 7 2004, 05:23 PM
Post #6


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



yep. Tinman, who runs a svencoop server, has had the server running for a while with bots (months or so). The biggest .brn files are I think at maximum: a couple of meg. If they get too big you can make them stop learning, there is a command for it (check the rcbot_commands.txt file).

it's possible to read/write to/from the same brain file but yeah I'd rather have each bot to have an individual "brn", to make each bot somewhat different.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LordSkitch
post May 22 2004, 12:15 AM
Post #7


I cuddle with my bots.
*****

Group: Moderator
Posts: 980
Joined: 16-April 04
From: Alvin, Texas
Member No.: 291



You know, a feature that'd be just down-right sexy for their speech... For the humanizeString function, have drop, swap, capitalize, and lower be user definable in bot_config.ini, so I can set them all to 0, so they stop tyPng Liek moornic chiLdern! ...and so they stop spelling my name wrong. dry.gif

And another thing that would be great, if the reputations were editable, so we could make the bots love us and hate everyone else...

user posted image
With those two combined, this sort of thing could be prevented. huh.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Sandman[SA]
post May 22 2004, 01:41 AM
Post #8


RCBot Waypointer
*****

Group: Moderator
Posts: 987
Joined: 15-September 03
From: Philadelphia
Member No.: 19



user posted image That's funny, they usually say I hack. laugh.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 30th July 2025 - 06:07 PM