Skip to content

Examples

neuromancer edited this page · 4 revisions

Example Sessions:

Memorizing word associations

In this example, we are going to show how to memorize simple association between words with progressive learning.

$ ./start.sh tokipona
reserbot: project Ubik

 _   _______ _____ _   __
| | | | ___ \_   _| | / /
| | | | |_/ / | | | |/ /
| | | | ___ \ | | |    \
| |_| | |_/ /_| |_| |\  \
 \___/\____/ \___/\_| \_/

I am Ubik. Before the universe was I am. I made the suns. I made the worlds.
I created the lives and the places they inhabit;
I move them here, I put them there. They go as I say, they do as I tell them.
I am the word and my name is never spoken, the name which no one knows.
I am called Ubik but that is not my name. I am. I shall always be.

Alpha 1 - Codename: Wendell Borton ("Bllluuhhhhh...!!")

Type help or ? to list commands.
--> load
Loading bootstrapped neurosequencers.
Loading src/languages/tokipona/bootstrapped_data/seqLetterSyllable
Loading src/languages/tokipona/bootstrapped_data/seqSyllableWord
Loading src/languages/tokipona/bootstrapped_data/seqWordSyllables
Loading src/languages/tokipona/bootstrapped_data/seqSyllableLetters
Conversations cleaned.

We start learning these associations:

toki → pona

telo → nasa

--> start
Conversation started.
--> say toki .
Processing "toki ."
<== p    lu  la  la
--> say pona .
Processing "pona ."
<== la  la  la  la  la
--> end
Conversation ended.
--> start
Conversation started.
--> say telo .
Processing "telo ."
<== p  l   lu  lu  la
--> say nasa .
Processing "nasa ."
<== la  la  la  la  la
--> end
Conversation ended.
--> rest
Resting ...
(wait please)
Done.

So we can test if training was effective:

--> start
Conversation started.
--> say toki .
Processing "toki ."
<== pona  .
--> discard
Conversation aborted.
--> start
Conversation started.
--> say telo .
Processing "telo ."
<== nasa  .
--> discard
Conversation aborted.

Now, it is time to learn new associations:

mama → lili

unpa → ike

--> clean
Conversations cleaned.
--> start
Conversation started.
--> say mama .
Processing "mama ."
<== p  .
--> say lili .
Processing "lili ."
<== .
--> end
Conversation ended.
--> start
Conversation started.
--> say unpa .
Processing "unpa ."
<== na  .
--> say ike .
Processing "ike ."
<== .
--> end
Conversation ended.
--> rest
Resting ...
(wait please)
Done.

As we can see, all associated words are remembered without catastrophic forgetting:

--> start
Conversation started.
--> say toki .
Processing "toki ."
<== pona  .
--> discard
Conversation aborted.
--> start
Conversation started.
--> say telo .
Processing "telo ."
<== nasa  .
--> discard
Conversation aborted.
--> start
Conversation started.
--> say mama .
Processing "mama ."
<== lili  .
--> discard
Conversation aborted.
--> start
Conversation started.
--> say unpa .
Processing "unpa ."
<== kike  .
--> discard
Conversation aborted.
Something went wrong with that request. Please try again.