mzwin9870 commited on
Commit
34786a8
·
verified ·
1 Parent(s): 0f8e78c

Trace card: README.md

Browse files
Files changed (1) hide show
  1. README.md +100 -8
README.md CHANGED
@@ -10,6 +10,41 @@ tags:
10
  - lora
11
  - mlx
12
  pipeline_tag: text-generation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
  # Trace
@@ -18,20 +53,77 @@ pipeline_tag: text-generation
18
 
19
  Trace is the 504/7(a) model for lenders.
20
 
21
- CDCs, CDFIs, and 7(a) shops use it the way they already use a model: paste a file, get an answer. The answer has to be the SOP or CFR paragraph that is in force on the loan-number date. If Trace cannot open that paragraph, it is not a screen.
22
 
23
- A person still owns the file. Trace does not approve. Trace does not deny. Trace is not an SBA product. Not for applicants.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
  ```bash
26
  python3 -m sba_screen --as-of 2026-01-15 --sketch "504 to buy apartments they will rent out and not occupy"
27
  ```
28
 
29
- - Investor real estate → **13 CFR 120.131**
30
- - Working capital on a 504 → **13 CFR 120.120**
31
- - Loan number on 2026-10-15 → **SOP 50 10 8.1**
32
 
33
- Holdout n=12: Trace **12/12**. Weights alone 6/12. Same grader. `verified: false`.
34
 
35
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
- LoRA on [Qwen2.5-7B-Instruct-4bit](https://huggingface.co/mlx-community/Qwen2.5-7B-Instruct-4bit). Official SOP/CFR is retrieved, not trained in. License `other` (Qwen + U.S. government works + runner).
 
10
  - lora
11
  - mlx
12
  pipeline_tag: text-generation
13
+ model-index:
14
+ - name: Trace
15
+ results:
16
+ - task:
17
+ type: text-generation
18
+ name: ScreenBench
19
+ dataset:
20
+ type: screenbench
21
+ name: ScreenBench holdout
22
+ split: holdout
23
+ metrics:
24
+ - type: hard_stop_all_pass
25
+ value: 1.0
26
+ name: Trace all-pass
27
+ verified: false
28
+ - type: false_kill_rate
29
+ value: 0.0
30
+ name: False kill
31
+ verified: false
32
+ - task:
33
+ type: text-generation
34
+ name: ScreenBench
35
+ dataset:
36
+ type: screenbench
37
+ name: ScreenBench exam-v1
38
+ split: exam
39
+ metrics:
40
+ - type: hard_stop_all_pass
41
+ value: 1.0
42
+ name: Trace all-pass
43
+ verified: false
44
+ - type: false_kill_rate
45
+ value: 0.0
46
+ name: False kill
47
+ verified: false
48
  ---
49
 
50
  # Trace
 
53
 
54
  Trace is the 504/7(a) model for lenders.
55
 
56
+ CDCs, CDFIs, and 7(a) shops already paste files into a model. Trace is that model for this job. The answer has to be the SOP or CFR paragraph in force on the loan-number date. A person still owns the file.
57
 
58
+ Trace does not approve. Trace does not deny. Trace is not an SBA product. Not for applicants. Outputs are drafts.
59
+
60
+ ![ScreenBench holdout](holdout.png)
61
+
62
+ ## What you are running
63
+
64
+ Trace is not a naked 7B. It is three pieces that do not get averaged:
65
+
66
+ ![Tools, retrieve, Trace](columns.png)
67
+
68
+ | Must open | File |
69
+ |---|---|
70
+ | **13 CFR 120.131** | Investor real estate, will not occupy |
71
+ | **13 CFR 120.120** | Working capital on a 504 |
72
+ | **SOP 50 10 8.1** | Loan number on 2026-10-15 |
73
+
74
+ No cite → not a screen.
75
+
76
+ ## Quickstart
77
 
78
  ```bash
79
  python3 -m sba_screen --as-of 2026-01-15 --sketch "504 to buy apartments they will rent out and not occupy"
80
  ```
81
 
82
+ Base weights: [`mlx-community/Qwen2.5-7B-Instruct-4bit`](https://huggingface.co/mlx-community/Qwen2.5-7B-Instruct-4bit). This repo is the LoRA.
 
 
83
 
84
+ ## ScreenBench
85
 
86
+ Same code grader on every seat. `verified: false`.
87
+
88
+ **Holdout n=12** (the published gate)
89
+
90
+ | Seat | All-pass | False kill |
91
+ |---|---|---|
92
+ | Qwen 7B base | 0.00 | 0 |
93
+ | Claude | 0.25 | 0 |
94
+ | Weights alone | 0.50 | 0 |
95
+ | **Trace** | **1.00** | **0** |
96
+
97
+ **Exam-v1 n=76** (not the Hub gate)
98
+
99
+ ![Exam-v1](exam.png)
100
+
101
+ | Seat | All-pass | False kill |
102
+ |---|---|---|
103
+ | Qwen 7B base | 0.00 | 0.12 |
104
+ | Qwen + dated RAG | 0.16 | 0.04 |
105
+ | Qwen + RAG + tools | 0.20 | 0.03 |
106
+ | Weights alone | 0.93 | 0 |
107
+ | **Trace** | **1.00** | **0** |
108
+
109
+ The 12/12 number is Trace the product. The 6/12 number is the adapter file with the runner off. Both stay on this card.
110
+
111
+ ## Intended use
112
+
113
+ Lender and CDC staff screening 504 and 7(a) origination files. Paste a sketch. Open the paragraph. A designated officer certifies eligibility and credit.
114
+
115
+ ## Out of scope
116
+
117
+ Consumer “am I eligible.” Credit decisions. Disaster, microloan, PPP, or Express as the same weights. An SBA system of record.
118
+
119
+ ## Model
120
+
121
+ | | |
122
+ |---|---|
123
+ | Type | LoRA on Qwen2.5-7B-Instruct |
124
+ | Rank / scale | 16 / 20 |
125
+ | Pick | checkpoint 160 of 200 |
126
+ | Lake | 23 official SOP/CFR/notice sources, retrieved, not CPT |
127
+ | `adapters.safetensors` | sha256 `a7ef52fe9c4881e3904343dca7f75ee9ba01132d35de26bac424d3470a7f671b` |
128
 
129
+ License `other`: Qwen (Tongyi Qianwen) + U.S. government works as retrieved context + runner.