Giter Club home page Giter Club logo

gpt2-philosophical's Introduction

GPT2 philosophical

Run on Ainize

Model information

Base model: gpt-2 large
Epoch: 24
Loss: 0.0923
Dataset:philosophical-text(https://www.kaggle.com/christopherlemke/philosophical-texts)
License: CC0: Public Domain

About

this model is based on gpt2-large and fine tuned with philosophical text dataset.
it generates philosophical text related to your input keyword.
first, input your keyword
second, wait for result

How to use

three ways to use Gpt2 philosophical text
	1.  CLI
	2.  Swagger
	3.  Demo

GET parameter

keyword: input your keyword than you will check out the philosophical text related to keyword

Output format

generated text

With CLI

Input example

curl -X GET "https://master-gpt2-philosophical_text-ha-mulan.endpoint.ainize.ai/api/?keyword=life" -H "accept: string"

Output example

  criminal use of it as any other man the card is some
  hocuspocusa blind as like as not the only question is how did
  he depart ah of course here is a hole in the roof with great
  activity considering his bulk he sprang up the steps and squeezed
  through into the garret and immediately afterwards we heard his
  exulting voice proclaiming that he had found the trapdoor

  he can find something remarked holmes shrugging his shoulders
  he has occasional glimmerings of reason il ny a pas des sots si
  incommodes que ceux qui ont de lesprit

  you see said athelney jones reappearing down the steps again
  facts are better than mere theories after all my view of the case
  is confirmed there is a trapdoor communicating with the roof and
  it is partly open

  it was i who opened it

  oh indeed you seem to have done the thing very completely i must compliment you

  my dear me mr sherlock holmes i was still balancing the matter in my mind how
  prosaic i seem to have been i confess that i was unable to anticipate

With swagger

API page: Ainize

With a Demo

Demo page: End-point

gpt2-philosophical's People

Contributors

gkswjdzz avatar hanjeonglee avatar yoonseokham avatar

Watchers

 avatar  avatar

Forkers

hams-workspace

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.