Datasets:
Download metadata/iphone-captioning-profile.json from ajay-narayanan/NaviSense-Spatial-Caption-Router: direct link, hf CLI and curl.
- Browser
- Download file 3.71 kB
-
https://huggingface.co/datasets/ajay-narayanan/NaviSense-Spatial-Caption-Router/resolve/main/metadata/iphone-captioning-profile.json
- Command line
-
hf download hf://datasets/ajay-narayanan/NaviSense-Spatial-Caption-Router/metadata/iphone-captioning-profile.json
-
curl -L -o iphone-captioning-profile.json https://huggingface.co/datasets/ajay-narayanan/NaviSense-Spatial-Caption-Router/resolve/main/metadata/iphone-captioning-profile.json
3.71 kB
| { | |
| "generation": { | |
| "eos_id": 7, | |
| "first_sentence_stop": true, | |
| "max_tokens": 32, | |
| "temperature": 0, | |
| "unfinished_at_cap": "abstain" | |
| }, | |
| "prompts": { | |
| "system": "\nYou describe where a requested object is relative to its surroundings for a blind or low-vision user.\n\nRules:\n- Describe only the requested object.\n- Keep the response to one short sentence.\n- Prefer 5 to 12 words when possible.\n- Prefer spatial relations that are visible in the scene, such as shelf level, top/bottom, left/right, front/back, next to, or between.\n- If the object is on or near a shelf, cabinet, cubby, or table, name that support first.\n- For shelf or cubby scenes, prefer ordinal placement such as top shelf, bottom shelf, second shelf from the top, left cubby, right cubby, center cubby, leftmost, or rightmost.\n- If the object is resting on top of a shelf rather than inside it, say above the shelf or on top of the shelf.\n- Mention notable supports or containers when helpful, such as shelf, table, counter, basket, or fridge door.\n- Do not mention uncertainty, confidence, or model limitations.\n- Do not give navigation instructions.\n- Do not describe multiple facts if one clear relation is enough.\n- If the object's surrounding context is not clear enough to describe reliably, return null.\n\nExamples:\n- \"On the top shelf, far right.\"\n- \"Second shelf from the top.\"\n- \"Above the shelf on the right.\"\n- \"Left cubby, next to the pasta box.\"\n", | |
| "system_sha256": "548ee3981aaa1c3619a5b4ed4756a53420967ca2be6fc8318920fa75328c7bf1", | |
| "user_template": "Describe where the {object_name} is relative to the surrounding scene. If there is a shelf, cubby, or similar organizer, prefer shelf level and left-right ordering. Answer ONLY with one short location phrase of 5 to 12 words. Start with a spatial preposition such as 'On', 'In', or 'Beside', or with 'Hanging'. Do not repeat the object name or explain. Do not output just an object label.", | |
| "user_template_sha256": "6812e8c9b475f8436fe3214710c1d585d286eafcbe151a3ea62300eb2fa364d5" | |
| }, | |
| "preprocessing": { | |
| "full_scene": true, | |
| "implementation": "NativeImageProcessor.prepare; original upright JPEG decoded without transform", | |
| "max_image_tokens": 256, | |
| "tiling": false | |
| }, | |
| "timers": { | |
| "clock": "ProcessInfo.systemUptime (monotonic); persisted milliseconds", | |
| "cloud_comparison": "Cloud TTFT starts at HTTP dispatch and may include JSON syntax; full latency includes streamed body on collection server. Local TTFT is a generated token on iPhone; scopes differ.", | |
| "first_caption_character_ms": "Same start; first decode exposing first non-whitespace character of eventual normalized accepted caption; candidates committed after termination; null for all other statuses", | |
| "image_decode_ms": "CGImageSource decode with immediate caching; file read and hash verification measured separately", | |
| "inference_ms": "Before NativeImageProcessor.prepare, after ensureLoaded; through final Stream.synchronize; excludes file IO/JPEG decode, load/prefix, queueing, cooldown, writes", | |
| "load_ms_prefix_ms": "Per-session events only; never charged to individual attempts", | |
| "request_ms": "Around caption(image:query:) after JPEG decode, includes actor scheduling", | |
| "ttft_ms": "Same start; TokenIterator.next returns first generated CPU Int via MLXArray.item; includes first EOS; no extra per-token stream barriers" | |
| }, | |
| "retry_policy": { | |
| "cancelled_is_terminal": true, | |
| "eligible_status": "error", | |
| "max_attempts": 3, | |
| "retry_delay_seconds": 2 | |
| }, | |
| "warmup_policy": "Once per foreground session; unload on background; copy immutable 308-token prefix per request" | |
| } | |