资源算法gpt2-discord-bot

gpt2-discord-bot

2020-03-03 | |  64 |   0 |   0

GPT-2 Discord Bot

Setup

  • Install dependencies with:

pip install -r requirements.txt
  • Run the script download_model.sh by:

sh download_model.sh 117M

This should download the gpt-2 model. 117M is the smallest model, 345M is a larger variant.

  • Create auth.json, and place it inside the config folder. Its content should be:

{   "token": "<your_token>",   "client_id": "<client_id>"}

How to run

  • Run the script with:

python gpt-chatbot-client.py

Improvements

  • Enable finetuning.


上一篇:creative-writing-with-gpt2

下一篇:GPTrue-or-False

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...