Skip to content

FrogRobo is a Twitter bot created by TrpFrog using TypeScript and Cloud Functions

License

Notifications You must be signed in to change notification settings

trpfrog/frogrobo

Repository files navigation

@FrogRobo

つまみさんの Twitter bot つまみロボ (@FrogRobo) のリポジトリです。

⚠️ 注意

この bot はつまみさんの 2019 年以降のツイートで fine-tuning + 語彙を若干拡張した GPT-2 モデル (base: rinna/japanese-gpt2-medium) でお喋りする機能があります。(いわゆる AI です)

なぜか過激発言ばかりするので注意してください。また、問題のあるツイートを発見した場合は管理者 (@TrpFrog) までご一報ください。

🤖 機能

ランダムツイート

TL のツイートを拾って GPT-2 で喋ります。 プロンプトは以下の通りです。

「[拾ったツイートの本文]」わし「

です。

リプライ

リプライを受け取ると、そのツイートに上記の GPT-2 で返信します。プロンプトは以下の通りです。

「[リプライツリーの大元]」「[リプライ]」「[そのリプライ]」... わし「

ランダムつまみアイコン

ちくわぶ (@Prgckwb) さんの訓練したつまみアイコンを作る Diffusion モデル headmaking/trpfrog-icons でつまみアイコンを生成してツイートします。プロンプトは以下の通りです。

an icon of trpfrog

音楽配信サービスのリンク集返すやつ

  • #nowplaying を含むツイートである
  • リンクを含むツイートである
  • つまみロボへのメンションである

上記の条件をすべて満たしたツイートに対して、Songwhip を使ってリンク集を返します。

🔧 システム構成図

About

FrogRobo is a Twitter bot created by TrpFrog using TypeScript and Cloud Functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published