simonvandyk commited on
Commit
d4e43b9
·
verified ·
1 Parent(s): 5437d4b

Update readme with dataset card UI

Browse files
Files changed (1) hide show
  1. README.md +106 -98
README.md CHANGED
@@ -1,98 +1,106 @@
1
- ---
2
- license: odc-by
3
- ---
4
-
5
- # Nosible Financial Sentiment Dataset
6
-
7
- ## What is it?
8
- The nosible financial sentiment dataset is a collection of **100k** cleaned and deduplicated financial news samples for financial sentiment classification. Each sample is labeled as **positive**, **negative**, or **neutral**. Financial sentiment is optimised for used in finance as it's sensitive to financial outlook rather than just emotional tone.
9
-
10
- ## How to use it
11
- Using the [HuggingFace datasets library](https://huggingface.co/docs/datasets/):
12
-
13
- Tip: You can install it with `pip install datasets`.
14
-
15
- ```python
16
- from datasets import load_dataset
17
-
18
- dataset = load_dataset("NOSIBLE/financial-sentiment")
19
-
20
- print(dataset)
21
-
22
- # DatasetDict({
23
- # train: Dataset({
24
- # features: ['text', 'label', 'netloc', 'url'],
25
- # num_rows: 100000
26
- # })
27
- # })
28
-
29
- # What's next?
30
- # Train your model 🤖
31
- # Profit 💰
32
- ```
33
-
34
- ## Changelog
35
- - **v1.0.0:** Initial version
36
-
37
- ## Dataset Structure
38
-
39
- ### Data Instances
40
-
41
- The following is an example sample from the dataset:
42
-
43
- ```json
44
- {
45
- "text": "Offshore staff HOUSTON \u2013 VAALCO Energy is looking to bring in a floating storage and offloading (FSO) unit at the Etame Marin oil field offshore Gabon. The company has signed a non-binding letter of intent with Omni Offshore Terminals to supply and operate the vessel at Etame for up to 11 years, following the expiry of the current FPSO Petr\u00f3leo Nautipa contract with BW Offshore in September 2022. Omni has provided a preliminary proposal for leasing and operating the FSO, which could reduce VAALCO's operating costs by 15-25%, compared with the current FPSO contract during the term of the proposed agreement. Maintaining the current FPSO beyond its contract or transitioning to a different FPSO, VAALCO added, would require substantial capex investments.",
46
- "label": "positive",
47
- "netloc": "www.offshore-mag.com",
48
- "url": "https://www.offshore-mag.com/rigs-vessels/article/14202267/vaalco-contemplating-switch-to-fso-at-etame-offshore-gabon"
49
- }
50
- ```
51
-
52
- ### Data Fields
53
-
54
- - `text` (string): A text chunk from a document.
55
- - `label` (string): The financial sentiment label of the text, sourced from LLMs and refined with active learning (an iterative relabeling process).
56
- - `netloc` (string): The network location (domain) of the document.
57
- - `url` (string): The URL of the document.
58
-
59
- ## Dataset creation
60
-
61
- ### Data source
62
- The dataset was sampled from the NOSIBLE datafeeds product which provides web scale surveillance data to customers. NOSIBLE datafeeds are results for specific search queries and results are safe because they are sourced from search results from the NOSIBLE search engine, from which data is sourced exclusively from the public web.
63
-
64
- ### Relabeling algorithm
65
- The dataset's label field was annotated from LLMs and refined using an active learning algorithm called relabeling.
66
-
67
- The algorithm outline is as follows:
68
-
69
- 1. Hand label a candidate set of ~200 samples to use as a test bed to refine the prompt used by the LLM labelers to classify the text.
70
- 2. Label a set of 10k samples with LLM labelers:
71
- - x-ai/grok-4-fast
72
- - x-ai/grok-4-fast:thinking
73
- - google/gemini-2.5-flash
74
- - openai/gpt-5-nano
75
- - openai/gpt-4.1-mini
76
- - openai/gpt-oss-120b
77
- - meta-llama/llama-4-maverick
78
- - qwen/qwen3-32b
79
- 3. Train a linear model on the labels using the majority vote of the LLM labelers.
80
- 4. Iterative relabeling (active learning steps) to improve the label quality:
81
- - Evaluate linear model's predictions over the samples.
82
- - Find disagreements: samples where the LLM labelers agree on a label, but the model has predicted a different label.
83
- - Consult a much larger LLM, the oracle, to evaluate the model's prediction and relabel the sample if it agrees with the LLM labels.
84
- - Drop the worst performing LLM labeler's from the ensemble.
85
- - Repeat the process with the remaining LLM labelers until the number of samples relabeled reaches 0.
86
- - Store the refined relabeled dataset.
87
- 5. This is the final dataset used for training the NOSIBLE/financial-sentiment-v1.1-base model, which is a finetune.
88
-
89
- ## Additional information
90
-
91
- ## License
92
- The dataset is released under the **Open Data Commons Attribution License (ODC-By) v1.0** [license](https://opendatacommons.org/licenses/by/1-0/).
93
-
94
- ## Attribution
95
- - [NOSIBLE Inc](https://www.nosible.ai/) Team
96
-
97
- ## Citations
98
- Coming soon, we're working on a white paper.
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: odc-by
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - finance
9
+ size_categories:
10
+ - 100K<n<1M
11
+ ---
12
+
13
+ # Nosible Financial Sentiment Dataset
14
+
15
+ ## What is it?
16
+ The nosible financial sentiment dataset is a collection of **100k** cleaned and deduplicated financial news samples for financial sentiment classification. Each sample is labeled as **positive**, **negative**, or **neutral**. Financial sentiment is optimised for used in finance as it's sensitive to financial outlook rather than just emotional tone.
17
+
18
+ ## How to use it
19
+ Using the [HuggingFace datasets library](https://huggingface.co/docs/datasets/):
20
+
21
+ Tip: You can install it with `pip install datasets`.
22
+
23
+ ```python
24
+ from datasets import load_dataset
25
+
26
+ dataset = load_dataset("NOSIBLE/financial-sentiment")
27
+
28
+ print(dataset)
29
+
30
+ # DatasetDict({
31
+ # train: Dataset({
32
+ # features: ['text', 'label', 'netloc', 'url'],
33
+ # num_rows: 100000
34
+ # })
35
+ # })
36
+
37
+ # What's next?
38
+ # Train your model 🤖
39
+ # Profit 💰
40
+ ```
41
+
42
+ ## Changelog
43
+ - **v1.0.0:** Initial version
44
+
45
+ ## Dataset Structure
46
+
47
+ ### Data Instances
48
+
49
+ The following is an example sample from the dataset:
50
+
51
+ ```json
52
+ {
53
+ "text": "Offshore staff HOUSTON \u2013 VAALCO Energy is looking to bring in a floating storage and offloading (FSO) unit at the Etame Marin oil field offshore Gabon. The company has signed a non-binding letter of intent with Omni Offshore Terminals to supply and operate the vessel at Etame for up to 11 years, following the expiry of the current FPSO Petr\u00f3leo Nautipa contract with BW Offshore in September 2022. Omni has provided a preliminary proposal for leasing and operating the FSO, which could reduce VAALCO's operating costs by 15-25%, compared with the current FPSO contract during the term of the proposed agreement. Maintaining the current FPSO beyond its contract or transitioning to a different FPSO, VAALCO added, would require substantial capex investments.",
54
+ "label": "positive",
55
+ "netloc": "www.offshore-mag.com",
56
+ "url": "https://www.offshore-mag.com/rigs-vessels/article/14202267/vaalco-contemplating-switch-to-fso-at-etame-offshore-gabon"
57
+ }
58
+ ```
59
+
60
+ ### Data Fields
61
+
62
+ - `text` (string): A text chunk from a document.
63
+ - `label` (string): The financial sentiment label of the text, sourced from LLMs and refined with active learning (an iterative relabeling process).
64
+ - `netloc` (string): The network location (domain) of the document.
65
+ - `url` (string): The URL of the document.
66
+
67
+ ## Dataset creation
68
+
69
+ ### Data source
70
+ The dataset was sampled from the NOSIBLE datafeeds product which provides web scale surveillance data to customers. NOSIBLE datafeeds are results for specific search queries and results are safe because they are sourced from search results from the NOSIBLE search engine, from which data is sourced exclusively from the public web.
71
+
72
+ ### Relabeling algorithm
73
+ The dataset's label field was annotated from LLMs and refined using an active learning algorithm called relabeling.
74
+
75
+ The algorithm outline is as follows:
76
+
77
+ 1. Hand label a candidate set of ~200 samples to use as a test bed to refine the prompt used by the LLM labelers to classify the text.
78
+ 2. Label a set of 10k samples with LLM labelers:
79
+ - x-ai/grok-4-fast
80
+ - x-ai/grok-4-fast:thinking
81
+ - google/gemini-2.5-flash
82
+ - openai/gpt-5-nano
83
+ - openai/gpt-4.1-mini
84
+ - openai/gpt-oss-120b
85
+ - meta-llama/llama-4-maverick
86
+ - qwen/qwen3-32b
87
+ 3. Train a linear model on the labels using the majority vote of the LLM labelers.
88
+ 4. Iterative relabeling (active learning steps) to improve the label quality:
89
+ - Evaluate linear model's predictions over the samples.
90
+ - Find disagreements: samples where the LLM labelers agree on a label, but the model has predicted a different label.
91
+ - Consult a much larger LLM, the oracle, to evaluate the model's prediction and relabel the sample if it agrees with the LLM labels.
92
+ - Drop the worst performing LLM labeler's from the ensemble.
93
+ - Repeat the process with the remaining LLM labelers until the number of samples relabeled reaches 0.
94
+ - Store the refined relabeled dataset.
95
+ 5. This is the final dataset used for training the NOSIBLE/financial-sentiment-v1.1-base model, which is a finetune.
96
+
97
+ ## Additional information
98
+
99
+ ## License
100
+ The dataset is released under the **Open Data Commons Attribution License (ODC-By) v1.0** [license](https://opendatacommons.org/licenses/by/1-0/).
101
+
102
+ ## Attribution
103
+ - [NOSIBLE Inc](https://www.nosible.ai/) Team
104
+
105
+ ## Citations
106
+ Coming soon, we're working on a white paper.