Josephgflowers/Finance-Instruct-500k
Finance-Instruct-500k Dataset Overview Finance-Instruct-500k is a comprehensive and meticulously curated dataset designed to train advanced language models for financial tasks, reasoning, and multi-turn conversations. Combining data from numerous high-quality financial datasets, this corpus provides over 500,000 entries, offering unparalleled depth and versatility for finance-related instruction tuning and fine-tuning. The dataset includes content tailored for… See the full description on the dataset page: https://huggingface.co/datasets/Josephgflowers/Finance-Instruct-500k.
Featured achievements
The project's latest awards
#1 Repository of the day
#1 Repository of the day
#1 Repository of the day
Finance-Instruct-500k Dataset
Overview
Finance-Instruct-500k is a comprehensive and meticulously curated dataset designed to train advanced language models for financial tasks, reasoning, and multi-turn conversations. Combining data from numerous high-quality financial datasets, this corpus provides over 500,000 entries, offering unparalleled depth and versatility for finance-related instruction tuning and fine-tuning.
The dataset includes content tailored for financial reasoning, question answering, entity recognition, sentiment analysis, address parsing, and multilingual natural language processing (NLP). Its diverse and deduplicated entries make it suitable for a wide range of financial AI applications, including domain-specific assistants, conversational agents, and information extraction systems.
Most entries include system, user and assistant fields.
Recent additions include:
- BAAI/IndustryInstruction_Finance-Economics: Broader financial instructions and Chinese language coverage.
- Josephgflowers/Financial-NER-NLP: Advanced XBRL tagging and named-entity recognition examples.

Key Features
- Extensive Coverage: Over 500,000 entries spanning financial QA, reasoning, sentiment analysis, topic classification, multilingual NER, and conversational AI.
- Multi-Turn Conversations: Rich dialogues emphasizing contextual understanding and reasoning.
- Diverse Data Sources: Includes entries from Cinder, Sujet-Finance-Instruct-177k, Phinance Dataset, BAAI/IndustryInstruction_Finance-Economics, Josephgflowers/Financial-NER-NLP, and many other high-quality datasets.
- RAG-Formatted Data: Retrieval-augmented generation (RAG) tasks include external data prepended to the
userfield for enhanced contextual understanding. - Deduplicated and Preprocessed: Eliminates overlaps and irregular entries for cleaner and higher-quality data.
- XBRL Tagging: Includes structured finance entity labeling from Financial-NER-NLP for advanced extraction tasks.
Future Plans 1M! Like my work? Want to see more? Custom request? Message me on discord: joseph.flowers.ra Donate here: https://buymeacoffee.com/josephgflowers
Supported Tasks and Use Cases
-
Financial Question Answering:
- Contextual and direct-answer financial QA.
- Multilingual QA and financial terminology explanation.
-
Reasoning Tasks:
- Symbolic and numeric reasoning.
- Portfolio analysis and investment strategy simulation.
-
Conversational AI:
- Multi-turn dialogues to develop finance-specific assistants and advisors.
-
Named Entity Recognition (NER):
- Multilingual financial entity recognition.
- XBRL tagging for structured finance data (via Financial-NER-NLP).
- Address parsing and PII handling.
-
Sentiment Analysis:
- Text classification as bullish, bearish, neutral, positive, or negative.
- Entity-level sentiment analysis.
-
Topic Classification:
- Categorization of financial texts into topics such as market trends, risk analysis, and economic events.
-
Lightweight LLM Training:
- Domain-specific fine-tuning for smaller models in resource-constrained environments.
-
RAG Applications:
- Seamless integration with external data using prepended context in the
userfield.
- Seamless integration with external data using prepended context in the
Dataset Composition
The dataset is a deduplicated combination of the following sources filtered for finance-related entries or tasks:
- alvanlii/finance-textbooks
- glaiveai/RAG-v1
- instruction-pretrain/ft-instruction-synthesizer-collection (NewsQA, ConvFinQA, WikiTableQA)
- gretelai/gretel-pii-masking-en-v1
- CohereForAI/aya_dataset (HotpotQA)
- CohereForAI/aya_dataset
- nvidia/OpenMathInstruct-1
- TIGER-Lab/WebInstructSub
- glaiveai/glaive-code-assistant-v3
- Open-Orca/1million-gpt-4
- Norquinal/claude_evol_instruct_210k
- migtissera/Synthia-v1.3
- meta-math/MetaMathQA
- HuggingFaceTB/cosmopedia
- Josephgflowers/PII-NER
- gbharti/finance-alpaca
- ugursa/Yahoo-Finance-News-Sentences
- AdaptLLM/finance-tasks_Headline
- ceadar-ie/FinTalk-19k
- zeroshot/twitter-financial-news-topic
- dylanalloy/ehc-contrived-financial
- zeroshot/twitter-financial-news-sentiment
- financial_phrasebank
- AdiOO7/llama-2-finance
- amphora/lmsys-finance
- AdaptLLM/finance-tasks_ConvFinQA
- KennNguyenDev/FiQA_Financial_Phrasebank_Combined
- AdaptLLM/finance-tasks_FPB
- yixuantt/FinEntity
- AdaptLLM/finance-tasks_FiQA_SA
- nickmuchi/financial-classification
- lighthouzai/finqabench
- adityamavle/FinRiskAnalysis
- sujet-ai/Sujet-Finance-Instruct-177k
- Cinder (custom multi-turn reasoning and parsing data)
- BAAI/IndustryInstruction_Finance-Economics
- Josephgflowers/Financial-NER-NLP
Dataset Structure
Data Fields
- system: Instruction or system message providing context.
- user: Query or input from the user, with RAG data prepended if applicable.
- assistant: Model-generated response or ground truth answer.
Format
All entries are structured as:
system,user,assistant
Example Entry
{
"system": "You are a financial assistant. Answer the user's question accurately but keep it brief.",
"user": "What is the difference between stocks and bonds?",
"assistant": "Stocks represent ownership in a company, while bonds are a form of debt where the investor lends money to an entity."
}
Languages
- English: Primary language of the dataset.
- Chinese: Increased coverage thanks to the BAAI/IndustryInstruction_Finance-Economics subset.
- Other Multilingual Data: Includes content from multilingual NER sources and the Aya datasets.
Collection and Preprocessing
- Deduplication: Removed over 60,000 duplicate entries across all source datasets.
- Data Cleaning: Eliminated non-ASCII characters, fixed punctuation and spelling, and ensured consistent formatting.
- Dataset Merging: Unified entries from various sources into a single cohesive dataset.
Lost in the dedupe. Future releases will restore Annotations. 4. Annotation: Enhanced metadata for clarity and usability, including task types and system prompts.
- XBRL Tagging: Integrated from Financial-NER-NLP subset, enabling structured labeling of financial instruments.
Ethical Considerations
- User Privacy: All PII is synthetic and anonymized to ensure compliance with privacy standards.
- Professional Use Only: This dataset is not a substitute for certified financial guidance or professional advice.
Limitations
- Bias: Coverage may skew toward certain financial sectors or topics based on dataset distribution.
- Accuracy: Outputs trained on this dataset require validation for critical financial applications.
- Multilingual Support: Non-English entries vary in volume, though recent additions (BAAI dataset) increase Chinese content.
- Noise: I am aware of some non financial data, malformed system user assistant portions, and some unstructured data. Some of the datasets I filtered and used were rag generated without the associated documents. Some were more geared for pre training it looks like (cosmo). Overall the dataset performs well.

Citation
If you use this dataset, please cite:
@dataset{josephgflowers2025financeinstruct,
title={Finance-Instruct-500k},
author={Joseph G. Flowers},
year={2025},
url={https://huggingface.co/datasets/Josephgflowers/Finance-Instruct-500k}
}
How to Load the Dataset
from datasets import load_dataset
dataset = load_dataset("Josephgflowers/Finance-Instruct-500k")
print(dataset["train"][0])
License
This dataset is released under the Apache 2.0 license.
Similar Projects
Discover other similar projects and AI models.
a.k.a. Awesome ChatGPT Prompts This is a Dataset Repository mirror of prompts.chat — a social platform for AI prompts. 📢 Notice This Hugging Face dataset is a mirror. For the latest prompts, features, and community contributions, please visit: 🌐 Website: prompts.chat 📦 GitHub: github.com/f/awesome-chatgpt-prompts About prompts.chat is an open-source platform where users can share, discover, and collect AI prompts from the community. The project can… See the full description on the dataset page: https://huggingface.co/datasets/fka/prompts.chat.
中文基于满血DeepSeek-R1蒸馏数据集(Chinese-Data-Distill-From-R1) 🤗 Hugging Face | 🤖 ModelScope | 🚀 Github | 📑 Blog 注意:提供了直接SFT使用的版本,点击下载。将数据中的思考和答案整合成output字段,大部分SFT代码框架均可直接直接加载训练。 本数据集为中文开源蒸馏满血R1的数据集,数据集中不仅包含math数据,还包括大量的通用类型数据,总数量为110K。 为什么开源这个数据? R1的效果十分强大,并且基于R1蒸馏数据SFT的小模型也展现出了强大的效果,但检索发现,大部分开源的R1蒸馏数据集均为英文数据集。 同时,R1的报告中展示,蒸馏模型中同时也使用了部分通用场景数据集。 为了帮助大家更好地复现R1蒸馏模型的效果,特此开源中文数据集。 该中文数据集中的数据分布如下:… See the full description on the dataset page: https://huggingface.co/datasets/Congliu/Chinese-DeepSeek-R1-Distill-data-110k.
Cybersecurity AI Knowledge Base — PhD-Level Dataset Overview This is the most comprehensive cybersecurity knowledge base ever assembled for AI training. It covers all domains of cybersecurity at PhD-level depth — from offensive red teaming and bug bounty exploitation to defensive SOC operations, digital forensics, and cutting-edge AI/LLM security. Size: 16 GB | Files: 507 | Domains: 30+ | Sources: 15+ platforms Purpose Train the world's most… See the full description on the dataset page: https://huggingface.co/datasets/Vyber07/cyber-security.
Dataset Card for HH-RLHF Dataset Summary This repository provides access to two different kinds of data: Human preference data about helpfulness and harmlessness from Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback. These data are meant to train preference (or reward) models for subsequent RLHF training. These data are not meant for supervised training of dialogue agents. Training dialogue agents on these data is likely… See the full description on the dataset page: https://huggingface.co/datasets/Anthropic/hh-rlhf.
News [2025/04/22] We split the data and kept only the medical SFT dataset (medical_o1_sft.json). The file medical_o1_sft_mix.json contains a mix of medical and general instruction data. [2025/02/22] We released the distilled dataset from Deepseek-R1 based on medical verifiable problems. You can use it to initialize your models with the reasoning chain from Deepseek-R1. [2024/12/25] We open-sourced the medical reasoning dataset for SFT, built on medical verifiable problems and an… See the full description on the dataset page: https://huggingface.co/datasets/FreedomIntelligence/medical-o1-reasoning-SFT.
Summary databricks-dolly-15k is an open source dataset of instruction-following records generated by thousands of Databricks employees in several of the behavioral categories outlined in the InstructGPT paper, including brainstorming, classification, closed QA, generation, information extraction, open QA, and summarization. This dataset can be used for any purpose, whether academic or commercial, under the terms of the Creative Commons Attribution-ShareAlike 3.0 Unported… See the full description on the dataset page: https://huggingface.co/datasets/databricks/databricks-dolly-15k.
Dataset Card for MMLU Dataset Summary Measuring Massive Multitask Language Understanding by Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt (ICLR 2021). This is a massive multitask test consisting of multiple-choice questions from various branches of knowledge. The test spans subjects in the humanities, social sciences, hard sciences, and other areas that are important for some people to learn. This covers 57… See the full description on the dataset page: https://huggingface.co/datasets/cais/mmlu.
Dataset Card for Alpaca-Cleaned Repository: https://github.com/gururise/AlpacaDataCleaned Dataset Description This is a cleaned version of the original Alpaca Dataset released by Stanford. The following issues have been identified in the original release and fixed in this dataset: Hallucinations: Many instructions in the original dataset had instructions referencing data on the internet, which just caused GPT3 to hallucinate an answer. "instruction":"Summarize… See the full description on the dataset page: https://huggingface.co/datasets/yahma/alpaca-cleaned.
Dataset Card for Dataset Name This is the dataset that made OpenHermes 2.5 and Nous Hermes 2 series of models. Support me on GitHub sponsors <3 : https://github.com/sponsors/teknium1 Dataset Details Dataset Description The Open Hermes 2/2.5 and Nous Hermes 2 models have made significant advancements of SOTA LLM's over recent months, and are underpinned by this exact compilation and curation of many open source datasets and custom created synthetic… See the full description on the dataset page: https://huggingface.co/datasets/teknium/OpenHermes-2.5.