Datasets:
Commit
•
eadad06
1
Parent(s):
598b6aa
Host financial_phrasebank data on the Hub (#4598)
Browse files* Host financial_phrasebank data on the Hub
* Update documentation card
* Update metadata JSON
* Update dummy data
Commit from https://github.com/huggingface/datasets/commit/237b5d5de528dd0081d5ed829268fbbe0050e304
README.md
CHANGED
@@ -54,7 +54,7 @@ pretty_name: FinancialPhrasebank
|
|
54 |
- **Repository:**
|
55 |
- **Paper:** [Arxiv](https://arxiv.org/abs/1307.5336)
|
56 |
- **Leaderboard:** [Kaggle](https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-news/code) [PapersWithCode](https://paperswithcode.com/sota/sentiment-analysis-on-financial-phrasebank) =
|
57 |
-
- **Point of Contact:**
|
58 |
|
59 |
### Dataset Summary
|
60 |
|
@@ -181,7 +181,11 @@ should be understood with this taken into account.
|
|
181 |
|
182 |
### Licensing Information
|
183 |
|
184 |
-
|
|
|
|
|
|
|
|
|
185 |
|
186 |
### Citation Information
|
187 |
|
|
|
54 |
- **Repository:**
|
55 |
- **Paper:** [Arxiv](https://arxiv.org/abs/1307.5336)
|
56 |
- **Leaderboard:** [Kaggle](https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-news/code) [PapersWithCode](https://paperswithcode.com/sota/sentiment-analysis-on-financial-phrasebank) =
|
57 |
+
- **Point of Contact:** [Pekka Malo](mailto:[email protected]) [Ankur Sinha](mailto:[email protected])
|
58 |
|
59 |
### Dataset Summary
|
60 |
|
|
|
181 |
|
182 |
### Licensing Information
|
183 |
|
184 |
+
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/.
|
185 |
+
|
186 |
+
If you are interested in commercial use of the data, please contact the following authors for an appropriate license:
|
187 |
+
- [Pekka Malo](mailto:[email protected])
|
188 |
+
- [Ankur Sinha](mailto:[email protected])
|
189 |
|
190 |
### Citation Information
|
191 |
|
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"sentences_allagree": {"description": "The key arguments for the low utilization of statistical techniques in\nfinancial sentiment analysis have been the difficulty of implementation for\npractical applications and the lack of high quality training data for building\nsuch models. Especially in the case of finance and economic texts, annotated\ncollections are a scarce resource and many are reserved for proprietary use\nonly. To resolve the missing training data problem, we present a collection of\n\u223c 5000 sentences to establish human-annotated standards for benchmarking\nalternative modeling techniques.\n\nThe objective of the phrase level annotation task was to classify each example\nsentence into a positive, negative or neutral category by considering only the\ninformation explicitly available in the given sentence. Since the study is\nfocused only on financial and economic domains, the annotators were asked to\nconsider the sentences from the view point of an investor only; i.e. whether\nthe news may have positive, negative or neutral influence on the stock price.\nAs a result, sentences which have a sentiment that is not relevant from an\neconomic or financial perspective are considered neutral.\n\nThis release of the financial phrase bank covers a collection of 4840\nsentences. The selected collection of phrases was annotated by 16 people with\nadequate background knowledge on financial markets. Three of the annotators\nwere researchers and the remaining 13 annotators were master\u2019s students at\nAalto University School of Business with majors primarily in finance,\naccounting, and economics.\n\nGiven the large number of overlapping annotations (5 to 8 annotations per\nsentence), there are several ways to define a majority vote based gold\nstandard. To provide an objective comparison, we have formed 4 alternative\nreference datasets based on the strength of majority agreement: all annotators\nagree, >=75% of annotators agree, >=66% of annotators agree and >=50% of\nannotators agree.\n", "citation": "@article{Malo2014GoodDO,\n title={Good debt or bad debt: Detecting semantic orientations in economic texts},\n author={P. Malo and A. Sinha and P. Korhonen and J. Wallenius and P. Takala},\n journal={Journal of the Association for Information Science and Technology},\n year={2014},\n volume={65}\n}\n", "homepage": "https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-news", "license": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["negative", "neutral", "positive"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "financial_phrasebank", "config_name": "sentences_allagree", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 303375, "num_examples": 2264, "dataset_name": "financial_phrasebank"}}, "download_checksums": {"https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip": {"num_bytes": 681890, "checksum": "0e1a06c4900fdae46091d031068601e3773ba067c7cecb5b0da1dcba5ce989a6"}}, "download_size": 681890, "post_processing_size": null, "dataset_size": 303375, "size_in_bytes": 985265}, "sentences_75agree": {"description": "The key arguments for the low utilization of statistical techniques in\nfinancial sentiment analysis have been the difficulty of implementation for\npractical applications and the lack of high quality training data for building\nsuch models. Especially in the case of finance and economic texts, annotated\ncollections are a scarce resource and many are reserved for proprietary use\nonly. To resolve the missing training data problem, we present a collection of\n\u223c 5000 sentences to establish human-annotated standards for benchmarking\nalternative modeling techniques.\n\nThe objective of the phrase level annotation task was to classify each example\nsentence into a positive, negative or neutral category by considering only the\ninformation explicitly available in the given sentence. Since the study is\nfocused only on financial and economic domains, the annotators were asked to\nconsider the sentences from the view point of an investor only; i.e. whether\nthe news may have positive, negative or neutral influence on the stock price.\nAs a result, sentences which have a sentiment that is not relevant from an\neconomic or financial perspective are considered neutral.\n\nThis release of the financial phrase bank covers a collection of 4840\nsentences. The selected collection of phrases was annotated by 16 people with\nadequate background knowledge on financial markets. Three of the annotators\nwere researchers and the remaining 13 annotators were master\u2019s students at\nAalto University School of Business with majors primarily in finance,\naccounting, and economics.\n\nGiven the large number of overlapping annotations (5 to 8 annotations per\nsentence), there are several ways to define a majority vote based gold\nstandard. To provide an objective comparison, we have formed 4 alternative\nreference datasets based on the strength of majority agreement: all annotators\nagree, >=75% of annotators agree, >=66% of annotators agree and >=50% of\nannotators agree.\n", "citation": "@article{Malo2014GoodDO,\n title={Good debt or bad debt: Detecting semantic orientations in economic texts},\n author={P. Malo and A. Sinha and P. Korhonen and J. Wallenius and P. Takala},\n journal={Journal of the Association for Information Science and Technology},\n year={2014},\n volume={65}\n}\n", "homepage": "https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-news", "license": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["negative", "neutral", "positive"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "financial_phrasebank", "config_name": "sentences_75agree", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 472707, "num_examples": 3453, "dataset_name": "financial_phrasebank"}}, "download_checksums": {"https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip": {"num_bytes": 681890, "checksum": "0e1a06c4900fdae46091d031068601e3773ba067c7cecb5b0da1dcba5ce989a6"}}, "download_size": 681890, "post_processing_size": null, "dataset_size": 472707, "size_in_bytes": 1154597}, "sentences_66agree": {"description": "The key arguments for the low utilization of statistical techniques in\nfinancial sentiment analysis have been the difficulty of implementation for\npractical applications and the lack of high quality training data for building\nsuch models. Especially in the case of finance and economic texts, annotated\ncollections are a scarce resource and many are reserved for proprietary use\nonly. To resolve the missing training data problem, we present a collection of\n\u223c 5000 sentences to establish human-annotated standards for benchmarking\nalternative modeling techniques.\n\nThe objective of the phrase level annotation task was to classify each example\nsentence into a positive, negative or neutral category by considering only the\ninformation explicitly available in the given sentence. Since the study is\nfocused only on financial and economic domains, the annotators were asked to\nconsider the sentences from the view point of an investor only; i.e. whether\nthe news may have positive, negative or neutral influence on the stock price.\nAs a result, sentences which have a sentiment that is not relevant from an\neconomic or financial perspective are considered neutral.\n\nThis release of the financial phrase bank covers a collection of 4840\nsentences. The selected collection of phrases was annotated by 16 people with\nadequate background knowledge on financial markets. Three of the annotators\nwere researchers and the remaining 13 annotators were master\u2019s students at\nAalto University School of Business with majors primarily in finance,\naccounting, and economics.\n\nGiven the large number of overlapping annotations (5 to 8 annotations per\nsentence), there are several ways to define a majority vote based gold\nstandard. To provide an objective comparison, we have formed 4 alternative\nreference datasets based on the strength of majority agreement: all annotators\nagree, >=75% of annotators agree, >=66% of annotators agree and >=50% of\nannotators agree.\n", "citation": "@article{Malo2014GoodDO,\n title={Good debt or bad debt: Detecting semantic orientations in economic texts},\n author={P. Malo and A. Sinha and P. Korhonen and J. Wallenius and P. Takala},\n journal={Journal of the Association for Information Science and Technology},\n year={2014},\n volume={65}\n}\n", "homepage": "https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-news", "license": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["negative", "neutral", "positive"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "financial_phrasebank", "config_name": "sentences_66agree", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 587156, "num_examples": 4217, "dataset_name": "financial_phrasebank"}}, "download_checksums": {"https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip": {"num_bytes": 681890, "checksum": "0e1a06c4900fdae46091d031068601e3773ba067c7cecb5b0da1dcba5ce989a6"}}, "download_size": 681890, "post_processing_size": null, "dataset_size": 587156, "size_in_bytes": 1269046}, "sentences_50agree": {"description": "The key arguments for the low utilization of statistical techniques in\nfinancial sentiment analysis have been the difficulty of implementation for\npractical applications and the lack of high quality training data for building\nsuch models. Especially in the case of finance and economic texts, annotated\ncollections are a scarce resource and many are reserved for proprietary use\nonly. To resolve the missing training data problem, we present a collection of\n\u223c 5000 sentences to establish human-annotated standards for benchmarking\nalternative modeling techniques.\n\nThe objective of the phrase level annotation task was to classify each example\nsentence into a positive, negative or neutral category by considering only the\ninformation explicitly available in the given sentence. Since the study is\nfocused only on financial and economic domains, the annotators were asked to\nconsider the sentences from the view point of an investor only; i.e. whether\nthe news may have positive, negative or neutral influence on the stock price.\nAs a result, sentences which have a sentiment that is not relevant from an\neconomic or financial perspective are considered neutral.\n\nThis release of the financial phrase bank covers a collection of 4840\nsentences. The selected collection of phrases was annotated by 16 people with\nadequate background knowledge on financial markets. Three of the annotators\nwere researchers and the remaining 13 annotators were master\u2019s students at\nAalto University School of Business with majors primarily in finance,\naccounting, and economics.\n\nGiven the large number of overlapping annotations (5 to 8 annotations per\nsentence), there are several ways to define a majority vote based gold\nstandard. To provide an objective comparison, we have formed 4 alternative\nreference datasets based on the strength of majority agreement: all annotators\nagree, >=75% of annotators agree, >=66% of annotators agree and >=50% of\nannotators agree.\n", "citation": "@article{Malo2014GoodDO,\n title={Good debt or bad debt: Detecting semantic orientations in economic texts},\n author={P. Malo and A. Sinha and P. Korhonen and J. Wallenius and P. Takala},\n journal={Journal of the Association for Information Science and Technology},\n year={2014},\n volume={65}\n}\n", "homepage": "https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-news", "license": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["negative", "neutral", "positive"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "financial_phrasebank", "config_name": "sentences_50agree", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 679244, "num_examples": 4846, "dataset_name": "financial_phrasebank"}}, "download_checksums": {"https://www.researchgate.net/profile/Pekka_Malo/publication/251231364_FinancialPhraseBank-v10/data/0c96051eee4fb1d56e000000/FinancialPhraseBank-v10.zip": {"num_bytes": 681890, "checksum": "0e1a06c4900fdae46091d031068601e3773ba067c7cecb5b0da1dcba5ce989a6"}}, "download_size": 681890, "post_processing_size": null, "dataset_size": 679244, "size_in_bytes": 1361134}}
|
|
|
1 |
+
{"sentences_allagree": {"description": "The key arguments for the low utilization of statistical techniques in\nfinancial sentiment analysis have been the difficulty of implementation for\npractical applications and the lack of high quality training data for building\nsuch models. Especially in the case of finance and economic texts, annotated\ncollections are a scarce resource and many are reserved for proprietary use\nonly. To resolve the missing training data problem, we present a collection of\n\u223c 5000 sentences to establish human-annotated standards for benchmarking\nalternative modeling techniques.\n\nThe objective of the phrase level annotation task was to classify each example\nsentence into a positive, negative or neutral category by considering only the\ninformation explicitly available in the given sentence. Since the study is\nfocused only on financial and economic domains, the annotators were asked to\nconsider the sentences from the view point of an investor only; i.e. whether\nthe news may have positive, negative or neutral influence on the stock price.\nAs a result, sentences which have a sentiment that is not relevant from an\neconomic or financial perspective are considered neutral.\n\nThis release of the financial phrase bank covers a collection of 4840\nsentences. The selected collection of phrases was annotated by 16 people with\nadequate background knowledge on financial markets. Three of the annotators\nwere researchers and the remaining 13 annotators were master\u2019s students at\nAalto University School of Business with majors primarily in finance,\naccounting, and economics.\n\nGiven the large number of overlapping annotations (5 to 8 annotations per\nsentence), there are several ways to define a majority vote based gold\nstandard. To provide an objective comparison, we have formed 4 alternative\nreference datasets based on the strength of majority agreement: all annotators\nagree, >=75% of annotators agree, >=66% of annotators agree and >=50% of\nannotators agree.\n", "citation": "@article{Malo2014GoodDO,\n title={Good debt or bad debt: Detecting semantic orientations in economic texts},\n author={P. Malo and A. Sinha and P. Korhonen and J. Wallenius and P. Takala},\n journal={Journal of the Association for Information Science and Technology},\n year={2014},\n volume={65}\n}\n", "homepage": "https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-news", "license": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["negative", "neutral", "positive"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "financial_phrasebank", "config_name": "sentences_allagree", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 303371, "num_examples": 2264, "dataset_name": "financial_phrasebank"}}, "download_checksums": {"https://huggingface.co/datasets/financial_phrasebank/resolve/main/data/FinancialPhraseBank-v1.0.zip": {"num_bytes": 681890, "checksum": "0e1a06c4900fdae46091d031068601e3773ba067c7cecb5b0da1dcba5ce989a6"}}, "download_size": 681890, "post_processing_size": null, "dataset_size": 303371, "size_in_bytes": 985261}, "sentences_75agree": {"description": "The key arguments for the low utilization of statistical techniques in\nfinancial sentiment analysis have been the difficulty of implementation for\npractical applications and the lack of high quality training data for building\nsuch models. Especially in the case of finance and economic texts, annotated\ncollections are a scarce resource and many are reserved for proprietary use\nonly. To resolve the missing training data problem, we present a collection of\n\u223c 5000 sentences to establish human-annotated standards for benchmarking\nalternative modeling techniques.\n\nThe objective of the phrase level annotation task was to classify each example\nsentence into a positive, negative or neutral category by considering only the\ninformation explicitly available in the given sentence. Since the study is\nfocused only on financial and economic domains, the annotators were asked to\nconsider the sentences from the view point of an investor only; i.e. whether\nthe news may have positive, negative or neutral influence on the stock price.\nAs a result, sentences which have a sentiment that is not relevant from an\neconomic or financial perspective are considered neutral.\n\nThis release of the financial phrase bank covers a collection of 4840\nsentences. The selected collection of phrases was annotated by 16 people with\nadequate background knowledge on financial markets. Three of the annotators\nwere researchers and the remaining 13 annotators were master\u2019s students at\nAalto University School of Business with majors primarily in finance,\naccounting, and economics.\n\nGiven the large number of overlapping annotations (5 to 8 annotations per\nsentence), there are several ways to define a majority vote based gold\nstandard. To provide an objective comparison, we have formed 4 alternative\nreference datasets based on the strength of majority agreement: all annotators\nagree, >=75% of annotators agree, >=66% of annotators agree and >=50% of\nannotators agree.\n", "citation": "@article{Malo2014GoodDO,\n title={Good debt or bad debt: Detecting semantic orientations in economic texts},\n author={P. Malo and A. Sinha and P. Korhonen and J. Wallenius and P. Takala},\n journal={Journal of the Association for Information Science and Technology},\n year={2014},\n volume={65}\n}\n", "homepage": "https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-news", "license": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["negative", "neutral", "positive"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "financial_phrasebank", "config_name": "sentences_75agree", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 472703, "num_examples": 3453, "dataset_name": "financial_phrasebank"}}, "download_checksums": {"https://huggingface.co/datasets/financial_phrasebank/resolve/main/data/FinancialPhraseBank-v1.0.zip": {"num_bytes": 681890, "checksum": "0e1a06c4900fdae46091d031068601e3773ba067c7cecb5b0da1dcba5ce989a6"}}, "download_size": 681890, "post_processing_size": null, "dataset_size": 472703, "size_in_bytes": 1154593}, "sentences_66agree": {"description": "The key arguments for the low utilization of statistical techniques in\nfinancial sentiment analysis have been the difficulty of implementation for\npractical applications and the lack of high quality training data for building\nsuch models. Especially in the case of finance and economic texts, annotated\ncollections are a scarce resource and many are reserved for proprietary use\nonly. To resolve the missing training data problem, we present a collection of\n\u223c 5000 sentences to establish human-annotated standards for benchmarking\nalternative modeling techniques.\n\nThe objective of the phrase level annotation task was to classify each example\nsentence into a positive, negative or neutral category by considering only the\ninformation explicitly available in the given sentence. Since the study is\nfocused only on financial and economic domains, the annotators were asked to\nconsider the sentences from the view point of an investor only; i.e. whether\nthe news may have positive, negative or neutral influence on the stock price.\nAs a result, sentences which have a sentiment that is not relevant from an\neconomic or financial perspective are considered neutral.\n\nThis release of the financial phrase bank covers a collection of 4840\nsentences. The selected collection of phrases was annotated by 16 people with\nadequate background knowledge on financial markets. Three of the annotators\nwere researchers and the remaining 13 annotators were master\u2019s students at\nAalto University School of Business with majors primarily in finance,\naccounting, and economics.\n\nGiven the large number of overlapping annotations (5 to 8 annotations per\nsentence), there are several ways to define a majority vote based gold\nstandard. To provide an objective comparison, we have formed 4 alternative\nreference datasets based on the strength of majority agreement: all annotators\nagree, >=75% of annotators agree, >=66% of annotators agree and >=50% of\nannotators agree.\n", "citation": "@article{Malo2014GoodDO,\n title={Good debt or bad debt: Detecting semantic orientations in economic texts},\n author={P. Malo and A. Sinha and P. Korhonen and J. Wallenius and P. Takala},\n journal={Journal of the Association for Information Science and Technology},\n year={2014},\n volume={65}\n}\n", "homepage": "https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-news", "license": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["negative", "neutral", "positive"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "financial_phrasebank", "config_name": "sentences_66agree", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 587152, "num_examples": 4217, "dataset_name": "financial_phrasebank"}}, "download_checksums": {"https://huggingface.co/datasets/financial_phrasebank/resolve/main/data/FinancialPhraseBank-v1.0.zip": {"num_bytes": 681890, "checksum": "0e1a06c4900fdae46091d031068601e3773ba067c7cecb5b0da1dcba5ce989a6"}}, "download_size": 681890, "post_processing_size": null, "dataset_size": 587152, "size_in_bytes": 1269042}, "sentences_50agree": {"description": "The key arguments for the low utilization of statistical techniques in\nfinancial sentiment analysis have been the difficulty of implementation for\npractical applications and the lack of high quality training data for building\nsuch models. Especially in the case of finance and economic texts, annotated\ncollections are a scarce resource and many are reserved for proprietary use\nonly. To resolve the missing training data problem, we present a collection of\n\u223c 5000 sentences to establish human-annotated standards for benchmarking\nalternative modeling techniques.\n\nThe objective of the phrase level annotation task was to classify each example\nsentence into a positive, negative or neutral category by considering only the\ninformation explicitly available in the given sentence. Since the study is\nfocused only on financial and economic domains, the annotators were asked to\nconsider the sentences from the view point of an investor only; i.e. whether\nthe news may have positive, negative or neutral influence on the stock price.\nAs a result, sentences which have a sentiment that is not relevant from an\neconomic or financial perspective are considered neutral.\n\nThis release of the financial phrase bank covers a collection of 4840\nsentences. The selected collection of phrases was annotated by 16 people with\nadequate background knowledge on financial markets. Three of the annotators\nwere researchers and the remaining 13 annotators were master\u2019s students at\nAalto University School of Business with majors primarily in finance,\naccounting, and economics.\n\nGiven the large number of overlapping annotations (5 to 8 annotations per\nsentence), there are several ways to define a majority vote based gold\nstandard. To provide an objective comparison, we have formed 4 alternative\nreference datasets based on the strength of majority agreement: all annotators\nagree, >=75% of annotators agree, >=66% of annotators agree and >=50% of\nannotators agree.\n", "citation": "@article{Malo2014GoodDO,\n title={Good debt or bad debt: Detecting semantic orientations in economic texts},\n author={P. Malo and A. Sinha and P. Korhonen and J. Wallenius and P. Takala},\n journal={Journal of the Association for Information Science and Technology},\n year={2014},\n volume={65}\n}\n", "homepage": "https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-news", "license": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["negative", "neutral", "positive"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "financial_phrasebank", "config_name": "sentences_50agree", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 679240, "num_examples": 4846, "dataset_name": "financial_phrasebank"}}, "download_checksums": {"https://huggingface.co/datasets/financial_phrasebank/resolve/main/data/FinancialPhraseBank-v1.0.zip": {"num_bytes": 681890, "checksum": "0e1a06c4900fdae46091d031068601e3773ba067c7cecb5b0da1dcba5ce989a6"}}, "download_size": 681890, "post_processing_size": null, "dataset_size": 679240, "size_in_bytes": 1361130}}
|
dummy/sentences_50agree/1.0.0/dummy_data.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57fb2f0ec5b785107996cfcf617a3c11854f0b8a626acff94c2bc26dbd05f807
|
3 |
+
size 1048
|
dummy/sentences_66agree/1.0.0/dummy_data.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb075b5a0db29d47ae3890525bbcacd351ccf8b4ef603fd74147ee06a579eb77
|
3 |
+
size 1048
|
dummy/sentences_75agree/1.0.0/dummy_data.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03f9eaa7b7b1ece14ae8aa3b0a466f074777367d6211cffa20fada965bb4fa31
|
3 |
+
size 1048
|
dummy/sentences_allagree/1.0.0/dummy_data.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5013f0fd3bb0f7c172674ad35641f4bfa2d3b6682efdb9061abcad98c40b2da
|
3 |
+
size 1050
|
financial_phrasebank.py
CHANGED
@@ -72,7 +72,8 @@ _HOMEPAGE = "https://www.kaggle.com/ankurzing/sentiment-analysis-for-financial-n
|
|
72 |
|
73 |
_LICENSE = "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License"
|
74 |
|
75 |
-
|
|
|
76 |
|
77 |
|
78 |
_VERSION = datasets.Version("1.0.0")
|
|
|
72 |
|
73 |
_LICENSE = "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License"
|
74 |
|
75 |
+
_REPO = "https://huggingface.co/datasets/financial_phrasebank/resolve/main/data"
|
76 |
+
_URL = f"{_REPO}/FinancialPhraseBank-v1.0.zip"
|
77 |
|
78 |
|
79 |
_VERSION = datasets.Version("1.0.0")
|