Instructions to use AmPac/trace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AmPac/trace with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("AmPac/trace") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use AmPac/trace with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "AmPac/trace" --prompt "Once upon a time"
- Atomic Chat
Trace card: README.md — clock, sources, training graph
Browse files
README.md
CHANGED
|
@@ -29,63 +29,75 @@ model-index:
|
|
| 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
|
| 51 |
|
| 52 |
**Occupancy opens 13 CFR 120.131.**
|
| 53 |
|
| 54 |
-
Trace is the 504/7(a) model for lenders.
|
|
|
|
|
|
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
|
| 59 |
|
| 60 |
-

|
| 41 |
|
| 42 |
+
## The clock (this is not a leaked loan)
|
| 43 |
|
| 44 |
+
SBA numbers an application on a calendar day. That day — `as_of` — picks which SOP governs the file. It is **not** a borrower ID and not an AmPac loan.
|
| 45 |
|
| 46 |
+

|
| 47 |
|
| 48 |
+
| `as_of` | SOP in force | Official text |
|
| 49 |
+
|---|---|---|
|
| 50 |
+
| through 2025-05-31 | SOP 50 10 7.1 | [docx](https://www.sba.gov/sites/default/files/2023-10/SOP%2050%2010%207.1%20effective%2011.15.23.docx) |
|
| 51 |
+
| 2025-06-01 to 2026-09-30 | SOP 50 10 8 | [docx](https://www.sba.gov/sites/default/files/2025-05/SOP%2050%2010%208%20Technical%20Updates%20effective%206.1.2025.docx) |
|
| 52 |
+
| on or after 2026-10-01 | SOP 50 10 8.1 | [docx](https://www.sba.gov/sites/default/files/2026-08/SOP%2050%2010%208.1%20effective%2010.1.2026_0.docx) · [notice issuing 8.1](https://www.sba.gov/sites/default/files/2026-08/SBA%20Information%20Notice%205000-880695%20-%20Issuance%20of%20SOP%2050%2010%208.1.pdf) |
|
| 53 |
|
| 54 |
+
So **as_of 2026-10-15 → SOP 50 10 8.1**. That is a test date after the 8.1 cutover. Clock is code (`clock.py`). The SOP body is retrieved, not memorized.
|
| 55 |
|
| 56 |
+
## What must open
|
| 57 |
|
| 58 |
+
| Sketch | Must open | Official |
|
| 59 |
+
|---|---|---|
|
| 60 |
+
| Investor real estate, will not occupy | 13 CFR 120.131 | [eCFR](https://www.ecfr.gov/current/title-13/section-120.131) |
|
| 61 |
+
| Working capital / payroll on a 504 | 13 CFR 120.120 | [eCFR](https://www.ecfr.gov/current/title-13/section-120.120) |
|
| 62 |
+
| Size (NAICS + receipts) | 13 CFR 121.201 | [eCFR](https://www.ecfr.gov/current/title-13/section-121.201) · [size table](https://data.sba.gov/sites/default/files/distribution/SBA-GCBD-2014-08-001/sba-table-of-size-standards_effective-march-17-2023_v0.xlsx) |
|
| 63 |
+
| as_of 2026-10-15 | SOP 50 10 8.1 | [SBA SOP 50 10](https://www.sba.gov/document/sop-50-10-lender-development-company-loan-programs) |
|
| 64 |
|
| 65 |
No cite → not a screen.
|
| 66 |
|
| 67 |
+
## Official sources Trace retrieves
|
| 68 |
|
| 69 |
+
Public U.S. government works. Dated snapshots. **Retrieved context, not a continued-pretraining dump.**
|
| 70 |
+
|
| 71 |
+
| Source | In force | Link |
|
| 72 |
+
|---|---|---|
|
| 73 |
+
| 13 CFR Part 120 | current eCFR | [ecfr.gov](https://www.ecfr.gov/current/title-13/chapter-I/part-120) |
|
| 74 |
+
| 13 CFR Part 121 (size) | current eCFR | [ecfr.gov](https://www.ecfr.gov/current/title-13/chapter-I/part-121) |
|
| 75 |
+
| SOP 50 10 8 | 2025-06-01 | [SBA](https://www.sba.gov/sites/default/files/2025-05/SOP%2050%2010%208%20Technical%20Updates%20effective%206.1.2025.docx) |
|
| 76 |
+
| SOP 50 10 8.1 | 2026-10-01 | [SBA](https://www.sba.gov/sites/default/files/2026-08/SOP%2050%2010%208.1%20effective%2010.1.2026_0.docx) |
|
| 77 |
+
| SOP 50 10 7.1 | historical, through 2025-05-31 | [SBA](https://www.sba.gov/sites/default/files/2023-10/SOP%2050%2010%207.1%20effective%2011.15.23.docx) |
|
| 78 |
+
| SOP 50 55 (504 servicing) | 2013-10-01 | [SBA PDF](https://www.sba.gov/sites/default/files/2022-07/SOP_50_55_9-4-13_1.pdf) |
|
| 79 |
+
| SOP 50 57 (7(a) servicing) | 2025-11-01 | [SBA PDF](https://www.sba.gov/sites/default/files/2025-09/FINAL%20SOP%205057%204%20version.pdf) |
|
| 80 |
+
| PN 5000-876441 citizenship | 2026-03-01 | [SBA PDF](https://www.sba.gov/sites/default/files/2026-02/Policy%20Notice%205000-876441%20-%20Update%20to%20Citizenship%20and%20Residency%20Requirements%20and%20Recission%20of%20PN%2050000-872050.pdf) |
|
| 81 |
+
| IN 5000-868665 (issues SOP 8) | 2025-05-29 | [SBA PDF](https://www.sba.gov/sites/default/files/2025-05/SBA%20Information%20Notice%205000-868665_0.pdf) |
|
| 82 |
+
| IN 5000-880695 (issues SOP 8.1) | 2026-08-14 | [SBA PDF](https://www.sba.gov/sites/default/files/2026-08/SBA%20Information%20Notice%205000-880695%20-%20Issuance%20of%20SOP%2050%2010%208.1.pdf) |
|
| 83 |
+
| Size standards table | 2023-03-17 | [data.sba.gov xlsx](https://data.sba.gov/sites/default/files/distribution/SBA-GCBD-2014-08-001/sba-table-of-size-standards_effective-march-17-2023_v0.xlsx) |
|
| 84 |
+
| Franchise directory | 2026-08-20 | [SBA xlsx](https://www.sba.gov/sites/default/files/2026-08/Franchise%20Directory%20Aug%2020-2026-REM01.xlsx) |
|
| 85 |
|
| 86 |
+
Lake on disk: 23 official sources, 4,775 chunks. Size and franchise are **lookups**, not 978 RAG chunks.
|
| 87 |
+
|
| 88 |
+
## What we trained
|
| 89 |
+
|
| 90 |
+

|
| 91 |
+
|
| 92 |
+
Weights learn **how to screen**. Facts that move (SOP revs, notices) stay in the dated lake. If it is only in the weights and the SOP changes, the model lies with confidence.
|
| 93 |
|
| 94 |
## ScreenBench
|
| 95 |
|
| 96 |
+
Same code grader. `verified: false`.
|
| 97 |
|
| 98 |
+

|
| 99 |
+
|
| 100 |
+
**Holdout n=12**
|
| 101 |
|
| 102 |
| Seat | All-pass | False kill |
|
| 103 |
|---|---|---|
|
|
|
|
| 108 |
|
| 109 |
**Exam-v1 n=76** (not the Hub gate)
|
| 110 |
|
| 111 |
+

|
| 112 |
|
| 113 |
+
12/12 is Trace the product (weights + lake + runner). 6/12 is the adapter with the runner off.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
|
| 115 |
+
## Quickstart
|
| 116 |
|
| 117 |
+
```bash
|
| 118 |
+
python3 -m sba_screen --as-of 2026-01-15 --sketch "504 to buy apartments they will rent out and not occupy"
|
| 119 |
+
```
|
| 120 |
|
| 121 |
+
That must open [13 CFR 120.131](https://www.ecfr.gov/current/title-13/section-120.131).
|
| 122 |
|
| 123 |
+
## License
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
|
| 125 |
+
`other`. Qwen2.5 (Tongyi Qianwen) + U.S. government SOP/CFR as retrieved context + AmPac runner. Official text was not a continued-pretraining target. Live borrower files were not training data.
|