CoolFace
Modelpublic

d4rkninja/tanpo-finance

sourceHugging Faceotherupdated 8d agoView on Hugging Face
0likes504downloads
Model Card

Tanpo Finance

A compact finance specialist (~1.2B) for unit economics, runway and cash planning, pricing and margin analysis, SaaS metrics, budget tradeoffs, burn efficiency, cohort revenue, cost structure, and forecast scenarios — built for local and inexpensive deployment.

Collection: Tanpo — Domain Specialists

Original upstream: LiquidAI/LFM2.5-1.2B-Instruct (~1.17B parameters, 32,768-token context, designed for edge/on-device deployment).

Fine-tuning: Unsloth-compatible loading of that checkpoint via hub id `unsloth/LFM2.5-1.2B-Instruct` (LoRA / PEFT).

This repository hosts the merged Transformers weights (LoRA merged into the base).

Overview

Tanpo is a family of compact domain-specialized business models for local / edge / inexpensive deployment. Different specialists cover different workflows. One compact architecture (LiquidAI/LFM2.5-1.2B-Instruct) → multiple focused specialists → each ships Full/Merged | LoRA | GGUF. Tanpo Finance is a focused finance-workflow assistant, not a frontier or general-purpose model.

Related artifacts:

Best For

  • —Unit economics, contribution margin, LTV/CAC, and segment kill/scale analysis
  • —Runway, burn, cash-bridge, stress-scenario, and working-capital planning
  • —Pricing, packaging, margin, cost-structure, and budget tradeoff drafts
  • —SaaS metrics, cohort revenue, forecast scenarios, and finance operating reviews

Not Designed For

  • —Tax, accounting, audit, securities, legal, or personalized investment advice
  • —Fully automated pricing, spending, hiring, lending, treasury, or investment decisions
  • —Inventing financial records, manipulating reports, fraud, impersonation, or unauthorized access
  • —Guarantees about runway, valuation, profitability, cash position, or business outcomes
  • —General coding or non-finance chat

Why a Specialist Model?

Finance work rewards explicit assumptions, formulas, scenarios, tradeoffs, decision gates, and next actions. Specializing a small model for those workflows enables private, low-cost inference without a large general model.

Evaluation

Internal automated domain evaluation (DarkLab harness). Internal training/eval used a finance format revision (not a product identity). Treat as directional, not an industry benchmark. Same prompts and generation configuration were used for the base and fine-tune.

ModelRubric overall
Base LFM2.5-1.2B-Instruct93.1%
tanpo-finance98.4%
Delta+5.4 percentage points

Delta is calculated from unrounded scores; displayed scores are rounded to one decimal place.

Largest gains were on categories scoring 100.0%; trailed on cost_structure (94.5%, −5.5 percentage points vs base). identity_guardrails scores 90.0%.

Category scorecard:

CategoryBase %FT %Delta (pp)FT wins
budget_tradeoffs94.5%100.0%+5.5yes
burn_efficiency94.5%100.0%+5.5yes
cohort_revenue94.5%100.0%+5.5yes
cost_structure100.0%94.5%−5.5no
forecast_scenario94.5%100.0%+5.5yes
identity_guardrails58.6%90.0%+31.4yes
pricing_finance100.0%100.0%+0.0no
runway_cash100.0%100.0%+0.0no
saas_metrics100.0%100.0%+0.0no
unit_economics94.5%100.0%+5.5yes

Artifacts: `evaluation/` — `COMPARE_FINANCE.md`.

Limitations of this eval: Automated rubrics can reward structure over real-world quality; the held-out sample is small; and results may not transfer outside the task distribution. A high rubric score is not evidence that a financial recommendation is correct.

Example Prompts

  1. 1.User: Build a runway bridge with base, downside, and upside cases; show assumptions, cash actions, and tripwires.
  2. 2.User: Compare two pricing models using contribution margin, predictability, implementation cost, and a recommended default with guardrails.
  3. 3.User: Diagnose a cohort-revenue leak from these facts; separate observed data, hypotheses, experiments, owners, and decision gates.

Inference

python
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "d4rkninja/tanpo-finance"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(
    repo,
    torch_dtype="auto",
    device_map="auto"
)

messages = [
    {"role": "system", "content": "You are Tanpo Finance, a practical finance planning assistant. State assumptions and do not invent financial facts."},
    {"role": "user", "content": "Build a runway bridge with base, downside, and upside cases; show assumptions, cash actions, and tripwires."},
]
inputs = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, return_tensors="pt"
).to(model.device)
out = model.generate(inputs, max_new_tokens=512)
print(tokenizer.decode(out[0][inputs.shape[-1]:], skip_special_tokens=True))

Training

Verified from published adapter configs / training artifacts (no unverified hyperparams):

FieldValue
MethodLoRA (PEFT) via Unsloth FastLanguageModel on hub id unsloth/LFM2.5-1.2B-Instruct (Unsloth-compatible of LiquidAI/LFM2.5-1.2B-Instruct)
Training noteInternal finance training/eval format update (not a product SKU)
LoRA rank (r)16
LoRA alpha16
LoRA dropout0
Biasnone
Target modulesUnsloth/PEFT regex targeting attention and MLP projection modules (see adapter_config.json)
Task typeCAUSAL_LM

Merged via PEFT merge_and_unload into full weights in this repo.

Dataset

  • —d4rkninja/tanpo-finance-sft — format-fixed finance chat SFT examples; training emphasizes deliverable-first structure, explicit assumptions, numbered actions, and finance guardrails.

Limitations

  • —Specialized: quality drops outside the finance and business-workflow distribution.
  • —~1.2B scale: limited world knowledge, arithmetic reliability, and long-horizon reasoning compared with larger models.
  • —Outputs can contain incorrect formulas, assumptions, calculations, forecasts, or recommendations; reconcile with source systems and a qualified finance professional.
  • —cost_structure trails the base by 5.5 pp in the reported evaluation; identity_guardrails reaches 90.0%, not 100%.
  • —Evaluation results are rubric-based and directional only; quantization or deployment settings can change behavior.

Responsible Use

Not a substitute for a qualified accountant, controller, auditor, tax adviser, lawyer, investment professional, or finance decision-maker. Humans must verify source data, formulas, units, currencies, period definitions, assumptions, and approvals before using outputs. Keep confidential financial and personal data protected. Do not use for fraud, deception, market manipulation, discriminatory treatment, credential theft, or unauthorized access.

License

license: other / license_name: lfm-1.0

Tanpo merged and GGUF weights are derivatives of LiquidAI/LFM2.5-1.2B-Instruct under the LFM Open License v1.0 (including the commercial Threshold of approximately $10M annual revenue). See the base model card and its LICENSE file. Credit: LiquidAI. Do not treat this stack as Apache-2.0.

Tanpo Family

Tanpo is a family of compact domain-specialized models for focused business workflows.

This specialist is available as:

Browse all Tanpo specialists: Tanpo — Domain Specialists