asahi417's picture
commit files to HF hub
0a3b343
metadata
widget:
  - text: >-
      Morning 5km run with @user for breast cancer awareness # pinkoctober #
      breastcancerawareness # zalorafit # zalorafitxbnwrc @ The Central Park ,
      Desa Parkcity {URL}
    example_title: example 1
  - text: >-
      President Trump Arrives at UFC 244 in New York to Cheers from Crowd (
      VIDEO ) {URL} via @user
    example_title: example 2
  - text: >-
      Mayo Breast Cancer Vaccine Could Be Available In Less Than A Decade via
      @Forbes {URL}
    example_title: example 3

cardiffnlp/flan-t5-base-tweet-ner7

This is google/flan-t5-base fine-tuned on cardiffnlp/super_tweeteval (tweet_ner7).

Usage

from transformers import pipeline

pipe = pipeline('text2text-generation', model="cardiffnlp/flan-t5-base-tweet-ner7")
output = pipe("Morning 5km run with @user for breast cancer awareness # pinkoctober # breastcancerawareness # zalorafit # zalorafitxbnwrc @ The Central Park , Desa Parkcity {URL}")