This project generate marketing man style text using GPT-2 model.
model: laxya007/gpt2_Marketingman
-
First, Choose wanna type!
-
Second, Fill text in "text"! This will be base of marketing man style text!
-
And then, Fill number in "samples"! The app generates sample number of text!
-
If you select 'long' type, be fill number in "length"! The app generates text of that size
text: The base text to generate a word.
samples: How many generate word?
text: The base text to generate marketing man style text.
samples: How many generate text?
length: Size of text.
{
number: word,
number: word,
number: word,
...
}
{
number: generated text,
number: generated text,
number: generated text,
...
}
Input example
curl -X POST "https://main-gpt2-marketing-man-fpem123.endpoint.ainize.ai/GPT2-marketing-man/short" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "text=Hello " -F "samples=3"
Output example
{
"0": ",",
"1": " for",
"2": " Bit"
}
Input example
curl -X POST "https://main-gpt2-marketing-man-fpem123.endpoint.ainize.ai/GPT2-marketing-man/long" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "text=Hello, " -F "samples=3" -F "length=50"
Output example
{
"0": "Hello, world! Welcome to The Daily Apple! When I first started blogging, my first thought was, “Wow, I could actually do this.” In 2007, with the help of my daughter, I launched The Daily Apple website. As a",
"1": "Hello, welcome to The Sims. : Defining and Measuring Service Quality 309 Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third",
"2": "Hello, this is Mr. Clausen. This is my wife. I see that you are well aware that the airline reservation system is extremely difficult for the average consumer to use. I have thought about it, and after some discussion it seemed to me that perhaps"
}
Use API page: Ainize
Use demo page: End point
--