jiminHuang
commited on
Commit
•
b983028
1
Parent(s):
13b72be
Update README.md
Browse files
README.md
CHANGED
@@ -46,3 +46,16 @@ This dataset is based on the task 1 of the Financial Sentiment Analysis in the W
|
|
46 |
|
47 |
- Homepage: [FiQA Challenge](https://sites.google.com/view/fiqa/home)
|
48 |
- Citation: [A Baseline for Aspect-Based Sentiment Analysis in Financial Microblogs and News](https://arxiv.org/pdf/2211.00083.pdf)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
- Homepage: [FiQA Challenge](https://sites.google.com/view/fiqa/home)
|
48 |
- Citation: [A Baseline for Aspect-Based Sentiment Analysis in Financial Microblogs and News](https://arxiv.org/pdf/2211.00083.pdf)
|
49 |
+
|
50 |
+
## Downloading CSV
|
51 |
+
```python
|
52 |
+
from datasets import load_dataset
|
53 |
+
|
54 |
+
# Load the dataset from the hub
|
55 |
+
dataset = load_dataset("ChanceFocus/fiqa-sentiment-classification")
|
56 |
+
|
57 |
+
# Save the dataset to a CSV file
|
58 |
+
dataset["train"].to_csv("train.csv")
|
59 |
+
dataset["valid"].to_csv("valid.csv")
|
60 |
+
dataset["test"].to_csv("test.csv")
|
61 |
+
```
|