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.
Chatbot based on the Pygmalion dialogue model
- Stringweasel
- Filter Inserter
- Posts: 464
- Joined: Thu Apr 27, 2017 8:22 pm
- Contact:
Re: Chatbot based on the Pygmalion dialogue model
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
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
-
- Filter Inserter
- Posts: 360
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: Chatbot based on the Pygmalion dialogue model
You can do it indirectly though, by having an external program to communicate with. Clustorio does that, although it doesn't look easy.
- Stringweasel
- Filter Inserter
- Posts: 464
- Joined: Thu Apr 27, 2017 8:22 pm
- Contact:
Re: Chatbot based on the Pygmalion dialogue model
Oof, yeah that could workDarkShadow44 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.

Alt-F4 Author | Factorio Modder
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
Re: Chatbot based on the Pygmalion dialogue model
The language model can be run locally, albeit that requires a powerful GPU.