Wrapper for the GPT2 Api
Project description
gpt2Api-Client
Under construction!
Developed by Anirudh from TechWithAnirudh (c) 2021
Examples of How To Use (Alpha Version)
Creating A Request
start_paragraph = "Today was a fine day. I woke up and brushed my teeth. And Ate Breakfast. I was going to work When"
api = Api()
api.setApiUrl(input('Enter The Api URL: '))
print(api.ConditionalSamples(start_paragraph))
start_paragraph = "Today was a fine day. I woke up saw some news that the coding event is starting today. I love coding so I prepared. After I prepared"
api = Api()
api.setApiUrl(input('Enter The Api URL: '))
print(api.ConditionalSamples(start_paragraph))
Go to this url: https://github.com/techwithanirudh/Shared/blob/master/GPT2Api.ipynb And run the code copy the url called GPT2ApiURL=... and paste it here. This will give the json response
Very Easy To To Use GPT2 Wrapper
Info
See The Docs On How To Use This: https://techwithanirudh.blogspot.com/2021/03/docs-for-gpt2api-client-module.html
Check out: https://www.youtube.com/channel/UCmse86kaxJ3n1dDT_bXDukg
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gpt2Api_Client-0.1.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for gpt2Api_Client-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3826c4ccbe1f1a533870c540c4468ce6a39f454a54734679ed5e977c074cce04 |
|
MD5 | d1d30127a9d43fc81a2833e7d56938e7 |
|
BLAKE2b-256 | 68d8cddee96dc3fb4738fc49f7735a48b6c2f12f2ec9755c69c94204f80afec9 |