Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
Libraries:
Datasets
pandas
License:
pszemraj commited on
Commit
88b07ff
·
verified ·
1 Parent(s): 260e6da

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md CHANGED
@@ -18,4 +18,46 @@ configs:
18
  data_files:
19
  - split: train
20
  path: data/train-*
 
 
 
 
 
 
 
21
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  data_files:
19
  - split: train
20
  path: data/train-*
21
+ license: odc-by
22
+ task_categories:
23
+ - text-generation
24
+ language:
25
+ - en
26
+ size_categories:
27
+ - 100K<n<1M
28
  ---
29
+
30
+
31
+ # fingpt - all - prompt/response format
32
+
33
+
34
+ loaded/created via:
35
+
36
+
37
+ ```py
38
+ from datasets import load_dataset
39
+
40
+ dataset_names = [
41
+ "FinGPT/fingpt-sentiment-train",
42
+ "FinGPT/fingpt-fiqa_qa",
43
+ "FinGPT/fingpt-headline-cls",
44
+ "FinGPT/fingpt-convfinqa",
45
+ "FinGPT/fingpt-finred-cls",
46
+ "FinGPT/fingpt-ner",
47
+ "FinGPT/fingpt-finred",
48
+ "FinGPT/fingpt-sentiment-cls",
49
+ "FinGPT/fingpt-ner-cls",
50
+ "FinGPT/fingpt-finred-re",
51
+ "FinGPT/fingpt-headline"
52
+ ]
53
+ ds_list = []
54
+
55
+ for ds_name in dataset_names:
56
+ ds = load_dataset(ds_name, split="train")
57
+ ds = ds.map(lambda x: {'source': ds_name}, num_proc=8)
58
+ ds_list.append(ds)
59
+
60
+ ds_list
61
+ ```
62
+
63
+ See [fingpt](https://huggingface.co/FinGPT) page for details.