latitudegames / AIDungeon

Infinite adventures await!
http://www.aidungeon.io/
MIT License
3.19k stars 554 forks source link

Initial commit of C# port - does not build #184

Open MichaelSpencerJr opened 4 years ago

MichaelSpencerJr commented 4 years ago

๐ŸŽ‰ Issues resolved:

๐Ÿงช How to Test

  1. Do this
  2. Then this
louisgv commented 4 years ago

This is awesome! However I feel like it's better to put this in a separate repo :-?

MichaelSpencerJr commented 4 years ago

You might be right, but I hope to persuade people otherwise:

MichaelSpencerJr commented 4 years ago

Don't worry - I can't either. :-) I'm running the Python project in one Visual Studio debugger and am porting statements to C# in another as I encounter them. I haven't actually confirmed TensorFlow.net can successfully load the GPT-2 model into memory yet.

Once that is done, I'll rework this into something more product-shaped than proof-of-concept-shaped.

Multiple people on Discord were asking to see what I had so far, so that's why this is here (despite its current sorry state).

JKamsker commented 4 years ago

Ahh didn't know that xD Well then keep it up :P

JushBJJ commented 4 years ago

insane

iggyglass commented 4 years ago

If need be, you could just run the code in Iron Python, which is a .NET python interpreter.

dustinlacewell commented 4 years ago

What is the overall goal of porting to C#?

Deltrego commented 4 years ago

Anyone interested in writing a C# port might find this useful: https://github.com/losttech/Gradient-Samples/tree/master/GPT-2 (Gradient is Tensorflow's .NET binding)