Testing Out An Open Source GPT

in #thoughts3 years ago

image.png

I'm testing out the GPTJ algorithm in this example. I've added some comments to the code, but if you're interested, you can find the original code here. I'm not really sure how well the algorithm works in this case, but I'm just going to try it out.

The first step in the algorithm is to calculate the number of unique words in the corpus.

def get_unique_words(filename): # Returns the number of unique words in the corpus. unique_words = {} # Get the file object. f = open(filename) # Read the file and get all the lines. lines = f.readlines() #

All the lines above were written by AI with some customization by me based on a writing prompt of 'I'm testing out the GPTJ algorithm'. Quite cool although it still does look a little artificial.

Maybe I need to play around with the settings a little more. My first output was a lot better although a little short.

Sort:  

Best of luck buddy, even tho I don't have any idea of this...😊
By the way, it seems Scorum is goin' through some good developments of recent with the adoption / Bridge to Binance Smart Chain.

You can check this out: https://scorum.com/en-us/scorum/@zoneboy/every-scorum-user-should-read-and-contribute

And I hope you haven't lost your keys😄

That's super exciting! I actually lost my keys lol. Did some digging and manage to log back in.
I really thought the project was dead but it looks like some users are looking to revive it.

Lol! Glad you got back your keys! 😄
Yes, and the way I'm looking at it, this would be huge, considering how serious the new guys are handling things of recent, with the ongoing partnership with some Dex and new projects.