runwayml / processing-library

RunwayML-for-Processing

Home Page:https://runwayml.github.io/processing-library/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPT2 example

j3nsykes opened this issue · comments

Is more recent updates Runway has changed the output text data.getString() to be "generated_text" not "text". This makes the Processing example work on versions around 0.10.10.
However, in the more recent versions 0.10.27 this example fails to generate the output text in either Runway or Processing. It receives the input String fine which makes me think it isn't a port or network issue. Perhaps another message structure was changed that is not visible in the code but part of the library file?
Other examples continue to work such as AttGAN.

Thanks for pointing that out,

Indeed it looks like the json structure for the model changed a bit.

I'll need to do a pass of testing examples and updating them accordingly

We identified a bug in 0.10.27 that was causing an issue with the way data was proceeded when using the Networks panel. We are patching the bug and will update the fix in 0.10.28

Amazing thank you!

This is now fixed on 0.10.28! @j3nsykes try updating your version of Runway.

Also, you might need to update the output to:

 text_output = data.getString("generated_text");

Let me know if that works

That works great now thanks!

Closing this issue as it's been resolved by @j3nsykes in PR #12