Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/parquet/parquet.py", line 127, in _split_generators
                  self.info.features = datasets.Features.from_arrow_schema(pq.read_schema(f))
                                                                           ~~~~~~~~~~~~~~^^^
                File "/usr/local/lib/python3.14/site-packages/pyarrow/parquet/core.py", line 2459, in read_schema
                  file = ParquetFile(
                      where, memory_map=memory_map,
                      decryption_properties=decryption_properties)
                File "/usr/local/lib/python3.14/site-packages/pyarrow/parquet/core.py", line 328, in __init__
                  self.reader.open(
                  ~~~~~~~~~~~~~~~~^
                      source, use_memory_map=memory_map,
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ...<8 lines>...
                      arrow_extensions_enabled=arrow_extensions_enabled,
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "pyarrow/_parquet.pyx", line 1656, in pyarrow._parquet.ParquetReader.open
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: Parquet magic bytes not found in footer. Either the file is corrupted or this is not a parquet file.
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 68, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ~~~~~~~~~~~~~~~~~~~~~~~^
                      path=dataset,
                      ^^^^^^^^^^^^^
                      config_name=config,
                      ^^^^^^^^^^^^^^^^^^^
                      token=hf_token,
                      ^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                      path,
                  ...<6 lines>...
                      **config_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

gitmoney313/financial-reasoning-cot-r1(複製)

データの内容

定量的なファイナンスと市場戦略の問題に、DeepSeek-R1 形式の段階的な推論と答えを付けたデータ。1 行が 1 件で、prompt に問題、thinking に <think> で囲んだ推論、response に要点と数式を含む答えが入っている。企業価値評価、オプションのヘッジ、暗号資産の AMM の非永続的損失、パラメトリック VaR などを扱うとカードは挙げる。カードは MIT ライセンスとするが、作り方や推論の検証の方法は書かれていない。

データの概要

項目 値
行数・列数 不明(データセットビューアで読めない形式。ファイルの内訳だけを示す)
容量 63.39 KB(ファイル 5 本)
ファイルの形式 jsonl 1、parquet 1
言語 en
公開 public

全データセットの一覧は HYUKI5/dataset-catalog にある。

複製について

gitmoney313/financial-reasoning-cot-r1 をリビジョン fa27108bcb2ab4e7ed9cb9271bf0b694a5cc68a1 の時点でそのまま複製したもの。中身は変えていない。判断モデル Laya(convaiinnovations/laya)の微調整に使う候補として、調査メモ(Laya 学習用データセット調査)に載せたデータを集めている。

出典

論文

  • 元のカードに論文へのリンクは見つからなかった

アノテーションの方法

元のカードにアノテーションの節が無かった。下の「調査メモの記述」と「元のカード」を参照。

微調整に使うときの注意

  • 調査メモの台帳での区分: B(継承条件・gated・モデル由来の条件・上流の規約などが付く)。区分は記載の文言で機械的に付けたもので、法的な判定ではない。学習に入れる前に元のカードとライセンスの原文で確かめる。
  • Laya の入力は 2,048 token まで(ModernBERT-large / mmBERT)。長い本文は先頭から黙って切られるので、切れる行は事前に除くか、要約・切り出しをしてから入れる。
  • 分割は記事・文書単位で行い、同じ本文から作った別の問いを学習側と較正側に分けない。温度と閾値は学習に使っていない分割で別々に当てる。

調査メモの記述

メモ 節 ライセンス(記載) 確認 注記
finance_reasoning_traces.md Q1. 金融 QA の推論蒸留(GPT-4o・DeepSeek-R1・Qwen3 の思考トレース付き)で、正答で検証されたものは何があるか (L30) mit 確認済 生成元モデルの出力規約が別に及ぶ(Q4) / 原文注記: 検証列が無い。出所不明の合成データの可能性が高い(推測)

元のカード(日本語訳)

以下は元のデータセットのカードの本文を日本語に訳したもの(機械翻訳)。訳に疑問があるときは、末尾の原文を確かめる。


📈 Financial Reasoning CoT R1 (gitmoney313/financial-reasoning-cot-r1)

DeepSeek-R1 形式の段階的な <think>...</think> の連鎖思考(chain-of-thought)推論を備えた、専門性の高い定量的ファイナンスと市場戦略のデータセットである。

複雑で数学的に厳密な金融の判断、企業価値評価、オプションのヘッジ、暗号資産のトークノミクス、ポートフォリオのリスク分析について、LLM を学習・微調整・評価するために設計された。


🌟 なぜこのデータセットか

オープンな推論データセットの多くは、小学校レベルの算数(GSM8K)か、入門的な Python のプログラミングに偏っている。

financial-reasoning-cot-r1 は、ウォール街のクオンツ、投資銀行家、分散型金融のアーキテクトが持つ思考の枠組みを反映した、多段階の深い分析の連鎖を提供することで、この空白を埋める。


🔬 対象とする主な領域

  1. 🏢 企業価値評価と多段階 DCF
    • 企業向けフリーキャッシュフロー(FCFF)の予測
    • WACC による割引と、永続価値(terminal value)のモデル
    • 企業価値から株主価値への調整
  2. 📉 オプションのグリークスと動的ヘッジ
    • デルタ中立のマーケットメイカーのポートフォリオの調整
    • ガンマのリスクと価格ギャップへの感応度
    • ボラティリティのショックのもとでのリバランス取引
  3. 🦄 暗号資産の AMM と非永続的損失
    • 定数積不変量($x \cdot y = k$)の仕組み
    • 流動性提供者の価値と、保有し続ける場合(HODL)の比較
    • 閉形式による非永続的損失(impermanent loss)の定量化
  4. 🛡️ ポートフォリオのリスクとパラメトリック VaR
    • 複数資産の共分散行列と分散投資の効果
    • 平方根則による日次のボラティリティの換算
    • 99% のパラメトリックなドル建て VaR の閾値
  5. 🏛️ マクロ経済とイールドカーブの裁定
    • 逆イールドカーブ(2s10s スプレッドの動き)
    • デュレーションの加重と、DV01(1 ベーシスポイントあたりのドル価値)による免疫化
    • 平行シフトの中立と、カーブのスティープナー戦略との比較
  6. 🪙 暗号資産のトークノミクスと供給の圧力
    • 時価総額と完全希薄化後評価額(FDV)の違い、および流通量の動き
    • ベンチャーのロックアップ解除のもとでの需要の価格弾力性
    • 流通市場の吸収率と、均衡価格の推定
  7. 📊 アルゴリズム取引と下方リスク
    • リスクフリーのベンチマークに対する年率換算の超過収益
    • シャープレシオとソルティノレシオの乖離
    • セミバリアンスと下方偏差のプロファイリング

📋 データのスキーマ

データセットの各サンプルは、次のフィールドを持つ。

Field Type Description
id string 一意のサンプル識別子(例: fin_r1_001)
category string 金融の領域の分類
prompt string 複雑な定量的または戦略的なシナリオの prompt
thinking string <think> ... </think> で囲まれた、段階的な数学的推論
response string 要点と数式を含む、最終的な構造化された答え

🚀 使い方

Hugging Face の datasets ライブラリで Python から直接読み込む。

from datasets import load_dataset

# Load the dataset directly from the Hugging Face Hub
dataset = load_dataset("gitmoney313/financial-reasoning-cot-r1")

# Inspect the first example
sample = dataset["train"][0]
print("Category:", sample["category"])
print("\n--- Prompt ---")
print(sample["prompt"])
print("\n--- Chain-of-Thought Reasoning ---")
print(sample["thinking"][:500] + "...")
print("\n--- Final Answer ---")
print(sample["response"])

Unsloth / Hugging Face TRL での微調整

このデータセットは、Llama 3.1、Qwen 2.5、Mistral などのモデルで、教師ありの微調整(SFT)や直接選好最適化(DPO)にそのまま使えるように整形されている。

def format_prompt(example):
    return {
        "text": f"<|user|>\n{example['prompt']}\n<|assistant|>\n{example['thinking']}\n{example['response']}"
    }

formatted_dataset = dataset.map(format_prompt)

📄 ライセンス

このデータセットは、寛容な MIT ライセンス で公開される。学術利用にも商用利用にも無償で使える。

原文(英語)

📈 Financial Reasoning CoT R1 (gitmoney313/financial-reasoning-cot-r1)

A high-tier, specialized quantitative finance and market strategy dataset with DeepSeek-R1 style step-by-step <think>...</think> chain-of-thought reasoning.

Designed to train, fine-tune, and evaluate Large Language Models on complex, mathematically rigorous financial decision-making, corporate valuation, options hedging, crypto tokenomics, and portfolio risk analysis.


🌟 Why This Dataset?

Most open reasoning datasets in the AI ecosystem focus predominantly on grade-school arithmetic (GSM8K) or introductory Python programming.

financial-reasoning-cot-r1 fills the institutional gap by providing deep, multi-step analytical chains that mirror the mental models of Wall Street quants, investment bankers, and decentralized finance architects.


🔬 Core Domains Covered

  1. 🏢 Corporate Valuation & Multi-Stage DCF
    • Free Cash Flow to Firm (FCFF) forecasting
    • WACC discounting and terminal value perpetuity models
    • Enterprise Value to Equity Value reconciliation
  2. 📉 Options Greeks & Dynamic Hedging
    • Delta-neutral market maker portfolio adjustments
    • Gamma risk and price gap sensitivity
    • Rebalancing trades under volatility shocks
  3. 🦄 Crypto AMMs & Impermanent Loss
    • Constant product invariant ($x \cdot y = k$) mechanics
    • Liquidity provider value vs. passive holding (HODL)
    • Closed-form impermanent loss quantification
  4. 🛡️ Portfolio Risk & Parametric Value at Risk (VaR)
    • Multi-asset covariance matrix and diversification benefits
    • Daily volatility scaling via square-root-of-time
    • 99% parametric dollar VaR thresholds
  5. 🏛️ Macroeconomics & Yield Curve Arbitrage
    • Inverted yield curves (2s10s spread dynamics)
    • Duration weighting and DV01 (Dollar Value of a Basis Point) immunization
    • Parallel shift neutrality vs. curve steepener positioning
  6. 🪙 Crypto Tokenomics & Supply Overhang
    • Market Cap vs. Fully Diluted Valuation (FDV) float dynamics
    • Price elasticity of demand under venture lockup expiries
    • Secondary market absorption rates and equilibrium price estimation
  7. 📊 Algorithmic Trading & Downside Risk
    • Annualized excess return over risk-free benchmarks
    • Sharpe Ratio vs. Sortino Ratio divergence
    • Semi-variance and downside deviation profiling

📋 Data Schema

Each sample in the dataset contains the following fields:

Field Type Description
id string Unique sample identifier (e.g. fin_r1_001)
category string Financial domain classification
prompt string The complex quantitative or strategic scenario prompt
thinking string Deep step-by-step mathematical reasoning wrapped in <think> ... </think>
response string Final structured answer with executive takeaways and formulas

🚀 How to Use

Load directly in Python using the Hugging Face datasets library:

from datasets import load_dataset

# Load the dataset directly from the Hugging Face Hub
dataset = load_dataset("gitmoney313/financial-reasoning-cot-r1")

# Inspect the first example
sample = dataset["train"][0]
print("Category:", sample["category"])
print("\n--- Prompt ---")
print(sample["prompt"])
print("\n--- Chain-of-Thought Reasoning ---")
print(sample["thinking"][:500] + "...")
print("\n--- Final Answer ---")
print(sample["response"])

Fine-Tuning with Unsloth / Hugging Face TRL

This dataset is pre-formatted for direct Supervised Fine-Tuning (SFT) or Direct Preference Optimization (DPO) with models like Llama 3.1, Qwen 2.5, and Mistral:

def format_prompt(example):
    return {
        "text": f"<|user|>\n{example['prompt']}\n<|assistant|>\n{example['thinking']}\n{example['response']}"
    }

formatted_dataset = dataset.map(format_prompt)

📄 License

This dataset is released under the permissive MIT License. Free for academic and commercial use.

Downloads last month
101