Requested

GPT-2 Text Generator With Api...


Completed
This feature request has been completed. Install the latest ARC Pro to experience the newest features and bug fixes.

Get ARC Pro

Hey I found this...it is not really a feature request, but I thought it might be interesting for you guys to try? Its also an attempt to not open a thread for a question, but using this way for putting some content to the forum!:)

https://app.inferkit.com/demo

They are having a nice api...so I figured it could be nice for building some oracle, or poem device. Since the answers are sometimes a bit of, but really funny!!


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

PRO
Synthiam
#1  

Haha - we've been playing with this all morning. Thanks for sharing!

PRO
USA
#2   — Edited

Yeah this is great...

Would the robot evolve?xD

As more time went by, what would the little robo-dinosaur look like? It would be twice as long as it is wide, with sharp, serrated teeth, a long tail and agile claws. It would be like a dog but might be able to eat your pants, team member Jamie Bock, an assistant professor of computer science at Carnegie Mellon University in Pittsburgh, told the audience at the Association for the Advancement of Artificial Intelligence’s (AAAI) International Conference in March.

PRO
Synthiam
#3  

Oh my I have to share this one with you. We were experimenting with different custom start phrases that require real-life or emotional experiences. Aaaaaaaaaand this is what we got from one - which i laughed quite hard!

User-inserted image

PRO
USA
#4  

Bahahaha that is hilarious!!!

PRO
Synthiam
#5  

I mean - it does sort of make sense. There's logic behind it but, wow... just wow!

#6   — Edited

User-inserted image

edit just realized the ai dropped the f** word and edited it out:D

#7  

xD There is some real wisdom in that one too!!!:D

PRO
USA
#8  

Sunspring. A couple filmmakers fed an AI Sci-Fi scripts then had it create a new one. ....its so so so.....indescribable ...you must watch it! This was 2016, curious with advancement in AI what a new attempt would produce something a bit more..um coherent ?!

PRO
Synthiam
#9   — Edited

Well - ai in the sense we’re discussing can’t really be improved much because the neural net is merely associating existing sentences that it’s been fed. General intelligence is (agi) is the advancement we’re all hoping for. Because agi, much like Perry’s interest, is about understanding properties of things. Meaning, ai says this word is near this word x percent of the time. Where agi says this this property of this thing is associated with this thing’s property because of this other thing and can be used for these things etc etc

another example is a glass on a table. Agi knows the table and glass are separate items and it also knows basic usage information of the items. The AI would not know the items or that they’re even separate. The ai may say a table with a cup on it, only because that’s what it knows that image to be. It doesn’t know they’re separate items.

so when you break down this scenario of conversing with a computer, ai isn’t really that useful outside of a predetermined goal. However, for general conversation that has no goal and can kinda go anywhere like two humans talking, you need agi

that service we’re playing with appears to have a database of existing complete sentences that it’s retrieved from scouring the internet and RSS feeds (presumably). So it can relate similar words of similar articles and extract sentences to match them together. It’s actually quite basic but real funny

albeit, the funny part is only due to false expectation that it should work. We read into the sentences and TRY to relate the randomness to the topic. Like a Buddhist monk talking in riddles...

remember, ai is merely a huge database of related things it’s been taught. So it can appear random, but it’s not - there’s association. The more data and complex the network is, it’s more difficult to predict.

PRO
USA
#10  

Yeah when AI can truly understand the context of a sentence (or an image) and can relate it to a subject/s, then we are talking about an understanding of what is being said/written. Its very interesting to be present and watch the birth of AI. Because I feel like we are only at the single cell stage! Lets hope for exponential growth.

PRO
Synthiam
#11   — Edited

That’s not in the definition of ai. Again you’re talking about agi. That’s like saying it’ll be great when cars become trucks so they can carry more. Cars are cars and trucks are trucks.:) Ai is ai and agi is agi

ai is already a thing. It’s a statistic based network of associated items. Ai has its use, and mostly in finance these days...

agi is the thing you’re excited to see.

PRO
USA
#13  

...........Got it!

PRO
Synthiam
#15  

A link so nice, it was pasted twice

#17  

This is a nice addon to the discussion above...in my sense GPT-3 is already a step forward to Artificial General Intelligence, since it is very versatile. At least in pretending to be intelligent and sentinent!  Lets see how GPT-4 will perform...as Lex Fridman says, training data is the bottleneck!!:D

PRO
USA
#19   — Edited

We are in the early days of GTP-3, 4 - the future may hold better the key to unlock this conundrum.

getting old - I been in the right place, but it must have been the wrong time  :-)

EzAng

#20  
import requests, json


def generate_text(text):
    endpoint = "https://api.inferkit.com/v1/models/standard/generate";
    # refer to https://inferkit.com/docs/generation-api to customize your data request
    data = json.dumps({
        "prompt": {
            "text": "{}".format(text)
        },
        "length": 100
    })
    headers = {"Authorization": "Bearer ************************************"}
    response = requests.post(endpoint, data=data, headers=headers).json()
    print(response)
    return (text + ' ' + response["data"]["text"])

print(generate_text("hello how are you?"))

Just wanted to share this, to save anyone wanting to call the api some time!!:)

#21  

Hi.  It says this feature request is "Completed". If so where would I find the skill? I have looked through the AI skills and it is not there. Is it on hold? What are the plans if any to add any of the GPT (2? 3? 6? x?) code as an ARC skill?

Thomas

#22  

Oh my God, too funny but hey it works!. " Gypsy priests may not be permitted to use holy water to bless their hands after mass as they are said to have a laxative effect on nuns in that church

Temple Chaiyaphum temple halts religious ceremony after a..."

I really should get my robot to speak that in Cylon voice!!xD