Add nearest-POI reasoning v3 10km dataset
Browse files- stage1/semantic_nearest_poi_reasoning_sft_v3_10km/data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/README.md +38 -0
- stage1/semantic_nearest_poi_reasoning_sft_v3_10km/data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/nearest_poi_candidate_manifest_v3.tsv +0 -0
- stage1/semantic_nearest_poi_reasoning_sft_v3_10km/data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/nearest_poi_construction_report_v3.json +105 -0
- stage1/semantic_nearest_poi_reasoning_sft_v3_10km/data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/nearest_poi_frozen_targets_v3.jsonl +0 -0
- stage1/semantic_nearest_poi_reasoning_sft_v3_10km/data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/nearest_poi_teacher_inputs_v3.jsonl +0 -0
stage1/semantic_nearest_poi_reasoning_sft_v3_10km/data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Semantic Nearest-POI Reasoning SFT v3 (10 km)
|
| 2 |
+
|
| 3 |
+
This package contains 10,000 leakage-filtered, query-only teacher inputs for
|
| 4 |
+
nearest-POI reasoning. Every selected target is unique and no target is more
|
| 5 |
+
than 10 km from its anchor under representative-point Haversine distance.
|
| 6 |
+
|
| 7 |
+
## Data
|
| 8 |
+
|
| 9 |
+
- `nearest_poi_teacher_inputs_v3.jsonl`: public API input; each row contains
|
| 10 |
+
exactly `sample_id` and `query`.
|
| 11 |
+
- `nearest_poi_frozen_targets_v3.jsonl`: private frozen address and GPS labels;
|
| 12 |
+
never send this file to the teacher API.
|
| 13 |
+
- `nearest_poi_candidate_manifest_v3.tsv`: private construction and nearest-
|
| 14 |
+
neighbor audit fields; never send this file to the teacher API.
|
| 15 |
+
- `nearest_poi_construction_report_v3.json`: construction summary.
|
| 16 |
+
|
| 17 |
+
The teacher-generated address and GPS are audit fields. Final SFT labels must
|
| 18 |
+
use the frozen complete address. GPS acceptance is computed locally.
|
| 19 |
+
|
| 20 |
+
## Generation
|
| 21 |
+
|
| 22 |
+
Run from the GeoCoding repository root after restoring the accompanying
|
| 23 |
+
scripts to their original project-relative paths:
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
python -m train.stage1.sft.generate_nearest_poi_teacher_cot \
|
| 27 |
+
--input data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/nearest_poi_teacher_inputs_v3.jsonl \
|
| 28 |
+
--output data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/nearest_poi_teacher_cot_v3.jsonl \
|
| 29 |
+
--model gpt-5.6-luna \
|
| 30 |
+
--base-url https://rkapi.com/v1 \
|
| 31 |
+
--workers 4 \
|
| 32 |
+
--max-attempts 5 \
|
| 33 |
+
--resume \
|
| 34 |
+
--retry-non-generated
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
Set `LOCAL_OPENAI_API_KEY` in the runtime environment. Never commit or upload
|
| 38 |
+
the API key.
|
stage1/semantic_nearest_poi_reasoning_sft_v3_10km/data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/nearest_poi_candidate_manifest_v3.tsv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
stage1/semantic_nearest_poi_reasoning_sft_v3_10km/data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/nearest_poi_construction_report_v3.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"builder_version": "stage1-nearest-poi-teacher-input-builder-v3",
|
| 3 |
+
"distance_band_counts": {
|
| 4 |
+
"1_5km": 4678,
|
| 5 |
+
"5_10km": 2353,
|
| 6 |
+
"le_1km": 2969
|
| 7 |
+
},
|
| 8 |
+
"distinct_targets": 14125,
|
| 9 |
+
"eligible_rows_before_limit": 14125,
|
| 10 |
+
"feature_type_counts": {
|
| 11 |
+
"amenity=arts_centre": 311,
|
| 12 |
+
"amenity=cinema": 352,
|
| 13 |
+
"amenity=college": 529,
|
| 14 |
+
"amenity=fire_station": 545,
|
| 15 |
+
"amenity=hospital": 551,
|
| 16 |
+
"amenity=library": 551,
|
| 17 |
+
"amenity=marketplace": 518,
|
| 18 |
+
"amenity=place_of_worship": 550,
|
| 19 |
+
"amenity=police": 550,
|
| 20 |
+
"amenity=school": 550,
|
| 21 |
+
"amenity=theatre": 322,
|
| 22 |
+
"amenity=townhall": 550,
|
| 23 |
+
"amenity=university": 446,
|
| 24 |
+
"historic=castle": 54,
|
| 25 |
+
"historic=memorial": 74,
|
| 26 |
+
"leisure=park": 550,
|
| 27 |
+
"leisure=stadium": 186,
|
| 28 |
+
"office=diplomatic": 160,
|
| 29 |
+
"office=government": 550,
|
| 30 |
+
"railway=station": 97,
|
| 31 |
+
"shop=mall": 550,
|
| 32 |
+
"tourism=attraction": 244,
|
| 33 |
+
"tourism=gallery": 228,
|
| 34 |
+
"tourism=hotel": 550,
|
| 35 |
+
"tourism=museum": 432
|
| 36 |
+
},
|
| 37 |
+
"iar_counts": {
|
| 38 |
+
"IAR-01": 779,
|
| 39 |
+
"IAR-02": 280,
|
| 40 |
+
"IAR-03": 392,
|
| 41 |
+
"IAR-04": 1434,
|
| 42 |
+
"IAR-05": 1565,
|
| 43 |
+
"IAR-06": 1030,
|
| 44 |
+
"IAR-07": 987,
|
| 45 |
+
"IAR-08": 1114,
|
| 46 |
+
"IAR-09": 1071,
|
| 47 |
+
"IAR-10": 1348
|
| 48 |
+
},
|
| 49 |
+
"label_policy": "frozen Pending complete address; teacher address and GPS are audit-only",
|
| 50 |
+
"max_anchor_target_distance_km": 10.0,
|
| 51 |
+
"max_rows_per_target": 1,
|
| 52 |
+
"output_rows": 10000,
|
| 53 |
+
"outputs": {
|
| 54 |
+
"candidate_manifest": "D:\\GeoCoding\\data\\stage1\\semantic_nearest_poi_reasoning_sft_v3_10km\\nearest_poi_candidate_manifest_v3.tsv",
|
| 55 |
+
"construction_report": "D:\\GeoCoding\\data\\stage1\\semantic_nearest_poi_reasoning_sft_v3_10km\\nearest_poi_construction_report_v3.json",
|
| 56 |
+
"frozen_targets": "D:\\GeoCoding\\data\\stage1\\semantic_nearest_poi_reasoning_sft_v3_10km\\nearest_poi_frozen_targets_v3.jsonl",
|
| 57 |
+
"teacher_inputs": "D:\\GeoCoding\\data\\stage1\\semantic_nearest_poi_reasoning_sft_v3_10km\\nearest_poi_teacher_inputs_v3.jsonl"
|
| 58 |
+
},
|
| 59 |
+
"query_style_counts": {
|
| 60 |
+
"0": 3000,
|
| 61 |
+
"1": 778,
|
| 62 |
+
"2": 778,
|
| 63 |
+
"3": 778,
|
| 64 |
+
"4": 778,
|
| 65 |
+
"5": 778,
|
| 66 |
+
"6": 778,
|
| 67 |
+
"7": 778,
|
| 68 |
+
"8": 777,
|
| 69 |
+
"9": 777
|
| 70 |
+
},
|
| 71 |
+
"query_style_version": "v3",
|
| 72 |
+
"rejected_counts": {
|
| 73 |
+
"anchor_reserved_dependency_entity": 552,
|
| 74 |
+
"anchor_reserved_entity_or_member": 2310,
|
| 75 |
+
"anchor_reserved_target_name": 179,
|
| 76 |
+
"anchor_reserved_target_point": 14,
|
| 77 |
+
"anchor_target_distance_above_limit": 32084,
|
| 78 |
+
"duplicate_target_cap": 10848,
|
| 79 |
+
"invalid_visible_query": 8,
|
| 80 |
+
"target_reserved_dependency_entity": 3931,
|
| 81 |
+
"target_reserved_entity_or_member": 1961,
|
| 82 |
+
"target_reserved_target_name": 254,
|
| 83 |
+
"target_reserved_target_point": 7
|
| 84 |
+
},
|
| 85 |
+
"reserved_manifests": [
|
| 86 |
+
"D:\\GeoCoding\\benchmarks\\stage0\\bench0_reserved_manifest_v0.tsv",
|
| 87 |
+
"D:\\GeoCoding\\benchmarks\\stage1\\bench0_prime\\bench0_prime_reserved_manifest_v0.tsv",
|
| 88 |
+
"D:\\GeoCoding\\benchmarks\\stage1\\stage1_500\\bench1_reserved_manifest_v0.tsv",
|
| 89 |
+
"D:\\GeoCoding\\benchmarks\\stage1\\stage1_1000\\bench1_reserved_manifest_v0.tsv",
|
| 90 |
+
"D:\\GeoCoding\\benchmarks\\stage1\\stage1_1000\\prompt_dev_v0\\bench1_prompt_dev_manifest_v0.tsv",
|
| 91 |
+
"D:\\GeoCoding\\benchmarks\\address_v1\\prior_benchmark_closure_supplement_v1.tsv",
|
| 92 |
+
"D:\\GeoCoding\\benchmarks\\address_v1_point_area\\bencha_v2\\bencha_v2_reserved_manifest.tsv",
|
| 93 |
+
"D:\\GeoCoding\\benchmarks\\address_v1_point_area\\benchb_v1\\benchb_v1_reserved_manifest.tsv"
|
| 94 |
+
],
|
| 95 |
+
"runner_up_ratio_band_counts": {
|
| 96 |
+
"clear_ge_1.5": 6058,
|
| 97 |
+
"hard_lt_1.15": 1307,
|
| 98 |
+
"medium_1.15_1.5": 2635
|
| 99 |
+
},
|
| 100 |
+
"schema_version": "stage1-nearest-poi-construction-report-v3",
|
| 101 |
+
"source_candidates": 66273,
|
| 102 |
+
"spatial_guard_m": 5.0,
|
| 103 |
+
"status": "candidates_complete_requires_teacher_audit",
|
| 104 |
+
"teacher_visibility": "sample_id_and_original_query_only"
|
| 105 |
+
}
|
stage1/semantic_nearest_poi_reasoning_sft_v3_10km/data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/nearest_poi_frozen_targets_v3.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
stage1/semantic_nearest_poi_reasoning_sft_v3_10km/data/stage1/semantic_nearest_poi_reasoning_sft_v3_10km/nearest_poi_teacher_inputs_v3.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|