asahi417's picture
commit files to HF hub
082d25c
metadata
widget:
  - text: >-
      context 1: imagine seeing qoute from cave story making it into smash as a
      dlc character instead of frisk or sans lmao, context 2: imagine seeing
      qoute from cave story making it into smash as a dlc character instead of
      frisk or sans lmao, target: frisk
    example_title: example 1
  - text: >-
      context 1: frisk and sans are my two favorite undertale characters
      actually jknJKNDJKNKDN, context 2: frisk and sans are my two favorite
      undertale characters actually jknJKNDJKNKDN, target: frisk
    example_title: example 2
  - text: >-
      context 1: hmm a businessman president presented a unique opportunity to
      accelerate the fight against climate change imo but a stop and frisk
      advocate has no place in the 2020 dem primary so probably for the best,
      context 2: hmm a businessman president presented a unique opportunity to
      accelerate the fight against climate change imo but a stop and frisk
      advocate has no place in the 2020 dem primary so probably for the best,
      target: frisk
    example_title: example 3

cardiffnlp/flan-t5-base-tempo-wic

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

Usage

from transformers import pipeline

pipe = pipeline('text2text-generation', model="cardiffnlp/flan-t5-base-tempo-wic")
output = pipe("context 1: imagine seeing qoute from cave story making it into smash as a dlc character instead of frisk or sans lmao, context 2: imagine seeing qoute from cave story making it into smash as a dlc character instead of frisk or sans lmao, target: frisk")