资源算法gpt2-twitter

gpt2-twitter

2020-03-03 | |  70 |   0 |   0

GPT-2 Twitter

This repo allows you to scrape tweets from a list of twitter accounts, use them to fine-tune a GPT-2 Model and then generate tweets. I am currently running this on my twitter account. All the tweets with 'KNSR' as the source are generated with this.

https://twitter.com/HariRVA

How to run

See config directory for config instructions

Run all commands from the root of the project. This assumes you have python 3.6+ and pipenv installed.

Install dependencies

pipenv install

Scrape Tweets

python src/tweets.py

Train model with your scraped tweets

python src/model.py

Generate and post a new tweet

python src/generate.py


上一篇:investigating-gpt2

下一篇:gpt-2-haiku

用户评价
全部评价

热门资源

  • 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...