asahi417's picture
commit files to HF hub
3e1f2e2
metadata
widget:
  - text: >-
      The @Clinton_LumberKings beat the @Cedar_Rapids_Kernels 4-0 in Game 1 of
      the Western Division finals. Evan Edwards hit a 2-run HR. WP Josh
      Roberson: 5 IP, 3 H, 0 R, 0 BB, 10 K #MWLplayoffs #MWLscoreboard
    example_title: example 1
  - text: >-
      I would rather hear Eli Gold announce this Auburn game than these
      dumbasses. @ESPN
    example_title: example 2
  - text: >-
      Someone take my phone away, I’m trying to not look at @Chicago_Blackhawks
      home game tickets in October 
    example_title: example 3

cardiffnlp/flan-t5-small-tweet-topic

This is google/flan-t5-small fine-tuned on cardiffnlp/super_tweeteval (tweet_topic).

Usage

from transformers import pipeline

pipe = pipeline('text2text-generation', model="cardiffnlp/flan-t5-small-tweet-topic")
output = pipe("The @Clinton_LumberKings beat the @Cedar_Rapids_Kernels 4-0 in Game 1 of the Western Division finals. Evan Edwards hit a 2-run HR. WP Josh Roberson: 5 IP, 3 H, 0 R, 0 BB, 10 K #MWLplayoffs #MWLscoreboard")