Git Product home page Git Product logo

gpt2-covidarticle's Introduction

GPT2 covidArticle

Run on Ainize

Model information

Base model: gpt-2 large
Epoch: 22
Loss: 0.1053
Dataset:covid-19 Article (https://github.com/ha-mulan/gpt2-FineTune-Tool/blob/master/dataset/cord19Article.txt)

About

it is the gpt2 large base model that generate covid article based on your input keyword

How to use

three ways to use Gpt2 covid article
	1.  CLI
	2.  Swagger
	3.  Demo

GET parameter

keyword: keyword of covid article you want to generate

Output format

generated text

With CLI

Input example

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

Output example

deadly ill patients with confirmed COVID-19 by SARS-CoV-2 RT-PCR between March 1 and March 18, 2020.
Outcomes were followed up to March 25, 2020.
RESULTS: Among the 299 hospitalized patients with COVID-19, the median age was 59 years (interquartile range, 49-69; range, 20-91 years), and 138 (53.0%) were men.
Of the deceased patients, 64 (24.9%) had a history of chronic medical illness, including diabetes (54 [20.4%]), hypertension (40 [14.9%]), chronic cardiovascular disease (24 [9.8%]), chronic kidney disease (16 [ 5.0%]), and malignancy (16 [5.0%]).
The median time from hospital admission to death was 9 days (interquartile range, 7-12; range, 0-31).
At the time of hospital admission, dyspnea (55 [22.6%]), cough (40 [14.9%]), and fatigue (26 [10.7%]) were the most common symptoms.
The median time from illness onset to dyspnea was 7 days (interquartile range, 2-9; range, 0-13), and cough was present in 92.1% (152/299) of the 	deceased patients.

With swagger

API page: Ainize

With a Demo

Demo page: End-point

gpt2-covidarticle's People

Contributors

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.