fsi-anomaly / HF_README_BACKUP.md
FerrellSyntheticIntelligence's picture
backup all: 19 files (batch)
2bfd25f verified
|
Raw
History Blame Contribute Delete
2.51 kB

FSI-Anomaly β€” full project snapshot (continuity backup)

This repo is a working snapshot of the FSI-Anomaly project, pushed from the training tablet so work can continue on another machine (e.g. a laptop). It is not a release: the model has not passed its release gates.

What is FSI-Anomaly

A custom liquid-architecture, on-device forensic-journalism model (50M, 16k tokenizer): verifies claims, finds discrepancies across sources, and returns Spock-style verdicts (true / false / misleading / overclaim / contradiction / abstain / unsubstantiated) with a calibrated, auditable harness (research/decision.py, research/guardrails.py, research/verify_loop.py, research/fusion.py).

Where to start

  • agent_notes.md β€” the living project record: state, decisions, next steps.
  • CHANGELOG.md β€” every measured milestone, honest numbers only.
  • skills/ β€” the discipline skills (research β†’ skill β†’ apply β†’ gate β†’ measure β†’ record).

Training pipeline

  • train/train_lora.py β€” LoRA SFT on the frozen 16k base (replay 0.5, KL 0.1).
  • train/train_dpo.py β€” LFM2 length-normalized preference DPO (Ξ²=5.0, cosine LR).
  • train/ties_merge.py, train/parallel_merges.py β€” soup / task-arithmetic / TIES merges.
  • train/watchdog_*.sh β€” resume-safe self-healing runners (launch with setsid nohup ... </dev/null & disown).
  • data/build_gold_900.py β€” assembles handcrafted gold into SFT files (never authors content).

Checkpoints (ckpt/)

  • hybrid50m_v16k_pretrain/model_5000.pt β€” canonical 50M/16k pretrain base.
  • hybrid50m_v25_lora/best.pt + model_final.pt β€” latest SFT (parity 0.184 main).
  • hybrid50m_v25_dpo/model_final.pt β€” LFM2 DPO (parity, no collapse).
  • hybrid50m_v25_merges/*.pt β€” soup/task-arithmetic/TIES candidates (soup early signal 0.205).
  • hybrid50m_v26_* β€” next SFT/DPO cycle (created by the chained watchdogs).

Data (data/)

  • gold_700/800/900/1000/ + gold_3000_final/ β€” handcrafted gold (198/3000 target).
  • prefs_v23.jsonl, prefs_v26.jsonl β€” schema-matched preference pairs (154).
  • sft_v26.jsonl β€” staged SFT (317 rows: 119 base + 198 gold).
  • tokenizer16k.json β€” 16k BPE tokenizer. ALWAYS pass --tok data/tokenizer16k.json to evals; the 8k default crashes on 16k checkpoints.

Release gate (not passed)

main β‰₯ 0.40 / researcher β‰₯ 0.25 at β‰₯60% coverage, red-team pass, multi-turn + real-task verification. Current: main 0.184–0.205 / researcher 0.167 / red-team 0.038.