TheFinAI/fiqa-sentiment-classification
Dataset Name Dataset Description This dataset is based on the task 1 of the Financial Sentiment Analysis in the Wild (FiQA) challenge. It follows the same settings as described in the paper 'A Baseline for Aspect-Based Sentiment Analysis in Financial Microblogs and News'. The dataset is split into three subsets: train, valid, test with sizes 822, 117, 234 respectively. Dataset Structure _id: ID of the data point sentence: The sentence target: The… See the full description on the dataset page: https://huggingface.co/datasets/TheFinAI/fiqa-sentiment-classification.
Dataset Name
Dataset Description
This dataset is based on the task 1 of the Financial Sentiment Analysis in the Wild (FiQA) challenge. It follows the same settings as described in the paper 'A Baseline for Aspect-Based Sentiment Analysis in Financial Microblogs and News'. The dataset is split into three subsets: train, valid, test with sizes 822, 117, 234 respectively.
Dataset Structure
_id: ID of the data pointsentence: The sentencetarget: The target of the sentimentaspect: The aspect of the sentimentscore: The sentiment scoretype: The type of the data point (headline or post)
Additional Information
- Homepage: FiQA Challenge
- Citation: A Baseline for Aspect-Based Sentiment Analysis in Financial Microblogs and News
Downloading CSV
from datasets import load_dataset
# Load the dataset from the hub
dataset = load_dataset("ChanceFocus/fiqa-sentiment-classification")
# Save the dataset to a CSV file
dataset["train"].to_csv("train.csv")
dataset["valid"].to_csv("valid.csv")
dataset["test"].to_csv("test.csv")