asahi417's picture
commit files to HF hub
f30b4b4
metadata
widget:
  - text: >-
      context: dbh the worst game of all time its awful its terrible i hate it i
      never even wanted to play it i hope connor jumps off a cliff really,
      definition: 2018 adventure video game developed by Quantic Dream, target:
      dbh
    example_title: example 1
  - text: >-
      context: dbh the worst game of all time its awful its terrible i hate it i
      never even wanted to play it i hope connor jumps off a cliff really,
      definition: King of Axum, target: dbh
    example_title: example 2
  - text: >-
      context: 10’ | 0-0 | Good start, Patronato dangerous on the counter though
      #VamosBoca 🟦🟨🟦, definition: Argentinan Football Club, target: Patronato
    example_title: example 3

cardiffnlp/flan-t5-small-tweet-nerd

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

Usage

from transformers import pipeline

pipe = pipeline('text2text-generation', model="cardiffnlp/flan-t5-small-tweet-nerd")
output = pipe("context: dbh the worst game of all time its awful its terrible i hate it i never even wanted to play it i hope connor jumps off a cliff really, definition: 2018 adventure video game developed by Quantic Dream, target: dbh")