Views
No views yet
jdecim/PIT-4B-FT-202212-earnings-SFT.
Base model: Diamegs/PIT-4B-FT-202212.linked_exchanges.jsonl
spans all years (2006–2024) and was being read directly by
generate_financial_dpo.py, so future-dated exchanges (2023–2024) were
leaking into the DPO training even though the underlying SFT splits were
correctly partitioned chronologically.mostimportantdateutc < 2023-01-01
(3066 rows, 113 future-dated rows dropped from the 3179-row source).
Confirmed at training time by an in-script guard that aborts if any
training row has a date ≥ 2023-01-01.src/dpo_generation/improve_dpo_dataset.py and
src/dpo_generation/generate_financial_dpo.py both now honor a
--pit-date-horizon flag end-to-end.Diamegs/PIT-4B-FT-202212 (PIT horizon 2022-12)jdecim/pit-earnings-call-qa @ 202212/dpo.jsonl
(3066 PIT-safe pairs)| Tier | Rejected source | Approx. share |
|---|---|---|
easy | Raw loopy PIT-base generations (kept verbatim) | 17% (523) |
medium | Qwen-shortened loops (1–2 repeats kept) | 34% (1048) |
hard | Qwen-cleaned loops, factual errors preserved | 16% (501) |
nur | Imported from NurErtug/finance-dpo-pairs-verified, date-filtered to <2022-01-01 | 32% (994) |
<|user|>
Context:
{context}
Question: {question}
<|assistant|>
{answer}<|end|>1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3import torch
4
5base = "Diamegs/PIT-4B-FT-202212"
6adapter = "jdecim/PIT-4B-FT-202212-earnings-SFT-DPO"
7
8tok = AutoTokenizer.from_pretrained(base, trust_remote_code=True)
9model = AutoModelForCausalLM.from_pretrained(
10 base, torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto",
11)
12model = PeftModel.from_pretrained(model, adapter)
13model.eval()acc_norm where the task defines it, acc otherwise — the
standard lm-eval-harness convention.| Task | Base | + Earnings SFT | + SFT-DPO (this model, PIT-safe) |
|---|---|---|---|
| HellaSwag (acc_norm) | 0.645 | 0.659 | 0.686 |
| PIQA (acc_norm) | 0.774 | 0.758 | 0.770 |
| Winogrande (acc) | 0.634 | 0.618 | 0.619 |
| BoolQ (acc) | 0.609 | 0.634 | 0.678 |
| ARC-Easy (acc_norm) | 0.618 | 0.550 | 0.579 |
| ARC-Challenge (acc_norm) | 0.347 | 0.317 | 0.339 |
| OpenBookQA (acc_norm) | 0.396 | 0.366 | 0.394 |
| General avg | 0.575 | 0.557 | 0.581 |
jdecim/pit-earnings-call-qa @ 202212/benchmark_synthetic.jsonl
(500 forward_synthetic + 500 unanswerable; all rows transcript_date ≥
2023 → forward eval) and @ 202212/benchmark_1k.jsonl (4-bucket clean
benchmark) pending. See src/evaluate_benchmark_metrics.py and
runai/run_benchmark_eval.sh.jdecim/PIT-4B-FT-202212-earnings-SFTjdecim/pit-earnings-call-qaNurErtug/finance-dpo-pairs-verified.