Greedy caption
—Choose an image and generate captions.
Encoder–Decoder Portfolio · Project 02
Upload an image, compare greedy and beam-search captions, adjust caption length, inspect a caption-structure heuristic and genuine exported token trace, and review model limitations.
Captions may be incomplete, biased, generic, or incorrect. The browser structure score is not a correctness probability. Human review is required before accessibility-critical use. Do not upload private, confidential, medical, identity, workplace, or copyrighted images without permission.
1 · Image
2 · Controls
The first model load downloads ONNX files into the browser cache. Later runs are usually faster.
Loading model…
Choose an image and generate captions.
A short, low-repetition beam candidate will appear here. Human review is required.
Configure a fine-tuned Transformers.js model ID in metadata.json to enable live comparison.
3 · Interpretability
Bundled sample images can show genuine token order and transition scores exported from the Python model. Uploaded images are clearly marked unavailable because the browser pipeline does not expose token probabilities.
| Step | Token | Score | Partial caption |
|---|---|---|---|
| Generate a caption to populate this view. | |||
4 · Evidence