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

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

#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