FinBen & PIXIU — English financial evaluation
Collection
FinBen (arXiv:2402.12659) and PIXIU/FLARE (arXiv:2306.05443) English tasks, FinMA models and leaderboards. • 49 items • Updated • 10
News sentiment (NWGI) is released by The Fin AI for research. Access is granted automatically after you complete this short form.
By accessing this dataset you agree to its license and to cite the The Fin AI paper in any resulting publication.
Log in or Sign Up to review the conditions and access this dataset content.
class NWGI(InstructionDataset):
dataset = "NWGI"
task_type = "classification"
choices = [
'strong negative', 'moderately negative', 'mildly negative', 'neutral',
'mildly positive', 'moderately positive', 'strong positive',
]
prompt = '''What is the sentiment of this news?
{input}
Please choose an answer from {{strong negative/moderately negative/mildly negative/neutral/mildly positive/moderately positive/strong positive}}.'''
def fetch_data(self, datum):
return {'input': datum['input'], 'answer': datum['answer']}