input
stringlengths
2
190
output
stringclasses
3 values
instruction
stringclasses
1 value
$BYND - JPMorgan reels in expectations on Beyond Meat https://t.co/bd0xbFGjkT
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$CCL $RCL - Nomura points to bookings weakness at Carnival and Royal Caribbean https://t.co/yGjpT2ReD3
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$CX - Cemex cut at Credit Suisse, J.P. Morgan on weak building outlook https://t.co/KN1g4AWFIb
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$ESS: BTIG Research cuts to Neutral https://t.co/MCyfTsXc2N
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$FNKO - Funko slides after Piper Jaffray PT cut https://t.co/z37IJmCQzB
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$FTI - TechnipFMC downgraded at Berenberg but called Top Pick at Deutsche Bank https://t.co/XKcPDilIuU
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$GM - GM loses a bull https://t.co/tdUfG5HbXy
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$GM: Deutsche Bank cuts to Hold https://t.co/7Fv1ZiFZBS
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$GTT: Cowen cuts to Market Perform
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$HNHAF $HNHPD $AAPL - Trendforce cuts iPhone estimate after Foxconn delay https://t.co/rlnEwzlzzS
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$HOG - Moody's warns on Harley-Davidson https://t.co/LurHBEadeU
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$HXL - Citing aero ties, Wells slashes PT on Hexcel https://t.co/wU5P2i8WBU
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$I - Intelsat cut to Market Perform at Raymond James https://t.co/YsvsMSQRIb
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$KRG: Compass Point cuts to Sell https://t.co/MCyfTsXc2N
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$LK - Muddy Waters goes short Luckin Coffee https://t.co/8yrbwAjLKG
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$MANT - ManTech downgraded ahead of difficult comps https://t.co/mJ1eSrsFXJ
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$MDCO: Oppenheimer cuts to Perform
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$MPLX $MPC - MPLX cut at Credit Suisse on potential dilution from Marathon strategic review https://t.co/0BFQy4ZU6W
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$MSGN - Imperial downgrades MSG Networks amid sports-free airwaves https://t.co/Ul2S6XNXw8
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$MTLS - Piper hits the Materialise sidelines https://t.co/qlFxZuhkrt
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$NCBS: Hovde Group cuts to Market Perform
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$NFLX - New Netflix bear steps out https://t.co/PdPkgLk0FQ
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$SHOP - Shopify loses a bull https://t.co/eoq7Lchtk4
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$STAY - Nomura Instinet loses confidence in Extended Stay America https://t.co/WrQXTC38nB
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$TWLO - Twilio gets Street-low target on virus risk https://t.co/Ky3d8DxnjX
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$VCLT $SPLB $IGLB - Guggenheim's Minerd sees more gloom ahead in stocks https://t.co/NKYQgy2o3J
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$VIAC $VIACA $FOX - MoffettNathanson expects NFL TV costs to skyrocket https://t.co/APfxEqSSRF
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$VIAC: Barrington Research cuts to Mkt Perform https://t.co/7Fv1ZiFZBS
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
$XLNX - Mizuho cuts XLNX target on near-term headwinds https://t.co/hsWCvJb1Ct
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
2U downgraded to sector weight from overweight at KeyBanc Capital
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Alphabet and Facebook price targets cut at Barclays on weaker ad outlook https://t.co/PlbSaE1Nc2
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
AMC Networks price target cut to $35 from $39 at Imperial Capital
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
American Software downgraded to neutral from buy at B. Riley FBR
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Analysts question Silicon Motion's margin outlook
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Anchiano Therapeutics downgraded to peer perform from outperform at Oppenheimer
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Arch Coal stock price target cut to $97 from $100 at B. Riley FBR
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
AT&T downgraded by MoffettNathanson to sell on concern wireless can't carry the whole company
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
AT&T shares sink after MoffettNathanson downgrade
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
AT&T stock falls after MoffettNathanson downgrades, saying dividend looks less compelling
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Aurora Cannabis stock price target cut to C$1.00 from C$1.75 at Stifel Nicolaus
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Autodesk downgraded to underweight from neutral at JPMorgan
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
BAML warns of profit pressure for Hormel
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Barclays cools on Molson Coors
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Becton Dickinson downgraded to outperform from strong buy at Raymond James
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Becton Dickinson downgraded to sector weight from overweight at KeyBanc Capital
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Berry Petroleum downgraded to market perform from outperform at BMO Capital
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Berry Petroleum downgraded to underweight from sector weight at KeyBanc Capital
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Bluebird bio downgraded to in line from outperform at Evercore ISI
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Bluebird bio stock price target cut to $86 from $172 at Evercore ISI
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Canada Goose downgraded to buy from strong buy at CFRA
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Canada Goose stock price target cut to $50 from $65 at CFRA
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Children's Place downgraded as e-commerce puts margins at risk
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Children's Place price target cut to $80 from $105 at Monness Crespi Hardt
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Cinedigm Corp. Analysts Are Cutting Their Estimates: Here's What You Need To Know
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Clovis Oncology stock price target cut to $8 from $12 at Evercore ISI
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Cumberland Pharmaceuticals stock price target cut to $9.00 from $12.25 at B. Riley FBR
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Dell, HPE targets trimmed on compute headwinds
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Dish may not be key winner amid Intelsat woes - analyst
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Disney downgraded as analyst says parks attendance could take 2 years to 'normalize' https://t.co/InJKourtW3
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Downgrades 11/25: $AEO $COLM $DGII $EQT $ESS $EVRG $GTT $KRG $MANT $MDCO $NFLX $OMP $PEG $PRU $SBT $SITC $TAP $VIPS
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Downgrades 4/7: $MLND $MSGN $MTLS $O $OC $OVV $PEB $PK $PLYA $QEP $RHP $RPAI $SAIA $SDC $SHOP $SKY $SLG $SM $TWLO… https://t.co/NGkYTADOSt
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Dropbox on watch after stinging Spruce Point report
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Earnings Update: electroCore, Inc. Just Reported And Analysts Are Trimming Their Forecasts
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Evercore downgrades bluebird bio and Clovis in premarket analyst action
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Fannie Mae, Freddie Mac downgraded to sell, as analyst cites 'unintended consequences' of CARES Act https://t.co/NhiYwphBQd
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Forescout downgraded to neutral from buy at Monness Crespi Hardt
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
FormFactor cut on 'unsustainable' revenue outlook
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Funko downgraded to hold from buy at Stifel Nicolaus
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Funko stock price target cut to $10 from $25 at Stifel Nicolaus
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
GM stock price target cut to $30 from $32 at Deutsche Bank
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Grubhub gains a bear on margin view
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
H&P downgraded at Argus as drilling industry weakness seen persisting
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Hanesbrands stock price target cut to $13 vs. $16 at BofA Merrill Lynch
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Helmerich & Payne started at sell with $34 stock price target at Deutsche Bank
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Hexo stock price target cut to C$5 from C$6 at MKM Partners
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Home Depot stock price target cut to $237 from $240 at Instinet
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Intelsat downgraded to underweight from neutral at J.P. Morgan
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Intelsat lower after Morgan Stanley target cut
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Jefferies warns on L Brands
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Kohl's stock price target cut to $48 from $52 at Deutsche Bank
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Kohl's stock price target cut to $50 from $53 at Wedbush
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
L Brands stock price target cut to $16 from $20 at Wedbush
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Lovesac stock price target cut to $28 vs. $33 at Canaccord
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Lyft stock price target cut to $58 from $70 at Deutsche Bank
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Macerich downgraded to underweight from sector weight at KeyBanc Capital
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Marinus Pharma stock price target cut to $6 from $7 at Leerink
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Methanex downgraded at TD Securities on valuation
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Metro Inc. Just Missed Earnings And Its EPS Looked Sad - But Analysts Have Updated Their Models
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Mid-America Apartment Communities downgraded to sector weight from overweight at KeyBanc Capital
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Mitek Systems stock price target cut to $11 from $14 at Benchmark
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Napco Security stock price target cut to $30 from $35 at Imperial Capital
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Needham's Martin Defends Her Prediction That Netflix Subscriptions Will Fall
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Netflix downgraded to ‘underperform’ at Needham
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Netflix stock falls after Wells Fargo turns bearish
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
New Netflix bear steps out
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
New York Opioid Case A Significant Risk For Pharma Stocks, Says Bearish BofA
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Norwegian Cruise Line downgraded to strong sell from hold at CFRA
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Novo Nordisk downgraded by UBS on concerns over drug launch cost
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Oppenheimer cuts estimates on Yum China
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.
Orbcomm price target lowered to $9 at Canaccord
negative
What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.

zeroshot/twitter-financial-news-sentiment prepared for LLM fine-tuning by adding an instruction column and mapping the label from numeric to string ({0:"negative", 1:'positive', 2:'neutral'}).

Source

from datasets import load_dataset
import datasets

from huggingface_hub import notebook_login
notebook_login()

ds = load_dataset('zeroshot/twitter-financial-news-sentiment')

num_to_label = {
    0: 'negative',
    1: 'positive',
    2: 'neutral',
}

instruction = 'What is the sentiment of this tweet? Please choose an answer from {negative/neutral/positive}.'

# Training split

ds_train = ds['train']
ds_train = ds_train.to_pandas()
ds_train['label'] = ds_train['label'].apply(num_to_label.get)
ds_train['instruction'] = instruction
ds_train.columns = ['input', 'output', 'instruction']
ds_train = datasets.Dataset.from_pandas(ds_train)

ds_train.push_to_hub("twitter-financial-news-sentiment")

# Validation split

ds_valid = ds['validation']
ds_valid = ds_valid.to_pandas()
ds_valid['label'] = ds_valid['label'].apply(num_to_label.get)
ds_valid['instruction'] = instruction
ds_valid.columns = ['input', 'output', 'instruction']
ds_valid = datasets.Dataset.from_pandas(ds_valid, split='validation')

ds_valid.push_to_hub("twitter-financial-news-sentiment", split='validation')
Downloads last month
43