Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.
/ KoGPT2 Public archive
forked from 210010/KoGPT2

Korean GPT-2 pretrained cased (KoGPT2)

License

Notifications You must be signed in to change notification settings

this-is-my-life/KoGPT2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KoGPT2 http server

실행방법:

python3.8 -m pip install -r requirements.txt
port=8080 python3.8 app.py

예시:

req: GET /job?query=깃허브
res: {"result":["는","털","▁이"],"success":true}

result: 정확도 별로 정렬된 추천 키워드, (▁는 스페이스, </s>는 문장 끝을 의미)
req: GET /job?query=2021년은&loop=100
res: {"result":"2021년은▁‘세계적▁경제대국’으로▁도약하는▁원년으로▁삼겠다는▁목표를▁세웠다.</s>","success":true}

result: 생성된 문자열

About

Korean GPT-2 pretrained cased (KoGPT2)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Dockerfile 0.7%