6

Cakechat.
Not going to deny Lukalabs' credit where it's due, it's an actually good NN chatbot. Works pretty decently even on my poor old Haswell i3.

But... the things you do, Lukalabs.
First off... PYTHON 2?!?! IN ${CURRENT_YEAR}?

Jokes aside, there's a lot of things that could've been done better, or in a more compatible way, or both. Such as:

tokenized_dialog_context = imap(get_tokens_sequence, dialog_context)
tokenized_dialog_contexts = [tokenized_dialog_context]

1. imap doesn't exist in python3, but whatever, doesn't make a big difference.
2. why wrap it in another array?
3. *two* variables, and the first one just used to create the second?

I will admit, Cakechat works well, but it's one of those things where if you try to run it on anything other than the recommended settings, it's not very fun.

Right now, I'm porting it to python3 with six, and making small refactor adjustments in random places to clean up the code.

(Official live demo at https://cakechat.replika.ai/, if you want to try it out.)

Comments
Add Comment