资源算法gpt2-slackbot

gpt2-slackbot

2020-03-03 | |  102 |   0 |   0

GPT-2 Slackbot

Bot user application for Slack with auto-generated responses. Implements GPT-2 model for fine-tuning on custom datasets.

See accompanying tutorial in this post .

Sample Usage

To run the application:

$ python slackbot.py

To download a pretrained model:

$ python download_model.py 117M

To train on a custom dataset:

$ python train.py --dataset /path/to/dataset.txt --run_name <your_custom_dataset_name>

To generate a sample from a trained model:

$ python generate_sample.py --dataset /path/to/dataset.txt --run_name <your_custom_model_name>


上一篇:waifu_gpt2

下一篇:openAI-gpt-2

用户评价
全部评价

热门资源

  • allennlp-server

    allennlp-server Serve allennlp services as sep...

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • ETD_cataloguing_a...

    ETD catalouging project using allennlp

  • ubuntu-allennlp

    ubuntu-allennlp AllenAI AllenNLP image based o...

  • allennlp_extras

    allennlp_extras Some utilities build on top of...