Jpdate mode to gnaf-structured-address-v0.2
Browse files
README.md
CHANGED
|
@@ -8,6 +8,8 @@ sdk_version: 5.49.1
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
|
|
|
|
|
|
| 11 |
short_description: Extracts structured address information from text.
|
| 12 |
---
|
| 13 |
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
+
preload_from_hub:
|
| 12 |
+
- dylanhogg/gnaf-structured-address-v0.2-712c28b-20251019-170453
|
| 13 |
short_description: Extracts structured address information from text.
|
| 14 |
---
|
| 15 |
|
app.py
CHANGED
|
@@ -4,7 +4,10 @@ import gradio as gr
|
|
| 4 |
import json
|
| 5 |
import time
|
| 6 |
|
| 7 |
-
model_id
|
|
|
|
|
|
|
|
|
|
| 8 |
max_new_tokens = 256
|
| 9 |
do_sample = False
|
| 10 |
|
|
|
|
| 4 |
import json
|
| 5 |
import time
|
| 6 |
|
| 7 |
+
# NOTE: Sync model_id with preload_from_hub in README.md
|
| 8 |
+
# model_id = "dylanhogg/gnaf-structured-address-v0.1-75a1791-20250921-063650"
|
| 9 |
+
model_id = "dylanhogg/gnaf-structured-address-v0.2-712c28b-20251019-170453"
|
| 10 |
+
|
| 11 |
max_new_tokens = 256
|
| 12 |
do_sample = False
|
| 13 |
|