Git Product home page Git Product logo

gpt2-questionandanswer's Introduction

GPT2 questionAndAnswer

Run on Ainize

Model information

Base model: gpt-2 large
Epoch: 23
Loss: 0.628
Dataset:Question-Answer Dataset (https://www.kaggle.com/rtatman/questionanswer-dataset)
License: CC BY-SA 3.0

About

this model is based on gpt2-large and fine tuned with question answer dataset.
it generates information about your input keyword.
first, input your keyword that you want to ask
second, wait for result

How to use

three ways to use Gpt2 Question and answer
	1.  CLI
	2.  Swagger
	3.  Demo

GET parameter

keyword: input your keyword that you want to ask

Output format

generated text

With CLI

Input example

curl -X GET "https://master-gpt2-question-and-answer-ha-mulan.endpoint.ainize.ai/api/?keyword=kangaroo" -H "accept: string"

Output example

kangaroo
kangaroo is a modern macropus rufus and the only extant representative of the family macropodidae kangaroos have large curved claws to help them clamber onto trees


kangaroos have been featured on coins as well as a mascot for australias australian currency  the kangaroo is also the symbol for the australian koala foundation  the foundation is a not for profit charity which aims to protect the koala from extinction

kangaroos have also inspired the mascot for melbourne city council  the kangaroo is featured on the citys coat of arms as well as its official logo and periodic reviews

today kangaroos are widely regarded as a vulnerable species needing immediate protection they are classified as vulnerable by the iucn and the united nations environmental program unep china  unep is the conservation division of the peoples republic of china responsible for the survival of the world population of the kangaroo

the word kangaroo derives from the guugu yimidhirr word gangurru referring to a grey kangaroo  etymology of mammal names    rufus was the first western language to use the word kangaroo  thus the first people to describe an animal as kangaroo may have merely described a grey kangaroo  however research suggests that the actual name corresponds to the indian melangaroo gemell

With swagger

API page: Ainize

With a Demo

Demo page: End-point

gpt2-questionandanswer's People

Contributors

yoonseokham avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.