Chatbot based on the Pygmalion dialogue model

This is the place to request new mods or give ideas about what could be done.
Post Reply
Mozyrsky
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Aug 02, 2015 12:59 pm
Contact:

Chatbot based on the Pygmalion dialogue model

Post by Mozyrsky »

Pygmalion is a proof-of-concept dialogue model based on EleutherAI's GPT-J-6B. It can be run locally or online on COLLAB. Here is the example of using such a chatbot in a different game: https://github.com/ausboss/ffxiv_pygmalion
It would be a pretty useless mod, but seeing how short that lua is, I imagine it might be easy enough to implement. So I just wanted to throw this idea at the wall for someone to find.

User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 315
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Re: Chatbot based on the Pygmalion dialogue model

Post by Stringweasel »

That would be cool, but that lua code is so small because it connects to the the internet for the hard stuff. In Factorio that's not possible for mods :)
Alt-F4 Author | Factorio Modder
Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock | Weasel's Demolition Derby

DarkShadow44
Filter Inserter
Filter Inserter
Posts: 275
Joined: Thu Jun 01, 2017 12:05 pm
Contact:

Re: Chatbot based on the Pygmalion dialogue model

Post by DarkShadow44 »

You can do it indirectly though, by having an external program to communicate with. Clustorio does that, although it doesn't look easy.

User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 315
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Re: Chatbot based on the Pygmalion dialogue model

Post by Stringweasel »

DarkShadow44 wrote:
Fri Feb 03, 2023 6:26 am
You can do it indirectly though, by having an external program to communicate with. Clustorio does that, although it doesn't look easy.
Oof, yeah that could work :shock:
Alt-F4 Author | Factorio Modder
Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock | Weasel's Demolition Derby

Mozyrsky
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Aug 02, 2015 12:59 pm
Contact:

Re: Chatbot based on the Pygmalion dialogue model

Post by Mozyrsky »

Stringweasel wrote:
Thu Feb 02, 2023 9:19 am
it connects to the the internet for the hard stuff
The language model can be run locally, albeit that requires a powerful GPU.

Post Reply

Return to “Ideas and Requests For Mods”