Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Lease Lens: a local Gemma 4 reads the lease, plain code does the math

说明与用途

Lease Lens 使用本地 Gemma 4 E2B 模型读取住宅租赁合同,使用规则验证提取的数据,并计算关键日期和滞纳金表,确保租户数据保存在本地。

问题

Small landlords and property managers need to extract key dates, late‑fee tables, and state compliance checks from residential leases without manual effort or uploading tenant data.

结果

Lease Lens processes a lease in ~29 s on an 8‑core CPU, outputs structured data, and flags potential compliance issues such as excessive late fees. It keeps tenant data local and offers a free CLI with paid add‑ons.

工作流

  • 1. Load lease text into the CLI.
  • 2. Send the text to a local llama.cpp server running Gemma 4 E2B with a JSON schema request.
  • 3. Receive structured JSON containing {value, quote} for each field.
  • 4. Verify each quote matches the lease text and that numbers appear in their own quote; re‑parse dates and fee wording.
  • 5. Compute grace periods, late‑fee tables, renewal notice dates, and deposit‑return deadlines in plain Python code.
  • 6. Output .ics calendar, leases.csv row, and audit report with ok/FIXED/CHECK markers.

证据

Lease Lens takes a pile of residential leases and gives you, for each one: the key dates, a late‑fee table, a state check of the late‑fee terms for Colorado, New York and Texas; an .ics calendar; a leases.csv row; a field‑by‑field audit.

来源

Real run on an 8-core CPU with no GPU: about 29 s per lease.

来源

The model reads; tested code does every date and dollar. Nothing is uploaded anywhere: tenant names, addresses and rent stay on your machine.

来源

We wrote 7 synthetic leases with hand‑made answer keys, 15 scored fields each: ... The model returned a 5% fee and quoted a sentence with no percentage in it, and the first version let that through.

来源

  • 记录日期: 2026-10-15T17:56:02.666Z