--- annotations_creators: - machine-generated language_creators: - found language: - en license: other multilinguality: - monolingual size_categories: - 10K 0: print(f"Near-duplicate found: row {i}, distance={distance}") ``` ### Semantic Similarity Search ```python import iscc_core as ic # Find semantically similar images (same subject/concept) reference = ds["train"][0]["iscc_semantic"] similar = [] for i, row in enumerate(ds["train"]): distance = ic.iscc_distance(reference, row["iscc_semantic"]) if distance <= 64: # ~75% semantic similarity similar.append((i, distance)) # Sort by similarity for idx, dist in sorted(similar, key=lambda x: x[1])[:5]: print(f"Row {idx} (distance={dist})") ``` ## Source Data This dataset was derived from [lmms-lab/flickr30k](https://huggingface.co/datasets/lmms-lab/flickr30k). ### Original Flickr30k Dataset The Flickr30k dataset contains 31,783 images collected from Flickr, each with 5 human-written captions. It is widely used for image captioning and visual-semantic research. **License**: The original Flickr30k images are subject to Flickr's Terms of Service. This derivative dataset contains only ISCC codes and small 128px thumbnails for visual verification of matches, not the original high-resolution images. Users should refer to the original dataset for licensing details. ### Processing ISCC codes were generated using: - [iscc-sdk](https://github.com/iscc/iscc-sdk) - High-level ISCC generation - [iscc-sci](https://github.com/iscc/iscc-sci) - Semantic image codes (experimental) All processing was performed on original resolution images. WebP thumbnails (128x128 max, quality 80) were generated separately for dataset preview purposes. ## Considerations ### Intended Use - Content identification and matching research - Image similarity search algorithm development - Deduplication system benchmarking - Visual-semantic retrieval experiments - ISCC-based indexing research ### Limitations - Semantic codes are generated using experimental AI models and may not capture all semantic nuances - ISCC codes are sensitive to significant image modifications (heavy cropping, overlays, filters) - Thumbnails are for preview only; use the source dataset for full-resolution images ### Privacy This dataset contains ISCC codes and thumbnails derived from the source images. Refer to the original dataset documentation for privacy considerations. ## Citation If you use this dataset, please cite both this dataset and the original source: **This Dataset:** ```bibtex @dataset{iscc_flickr30k, title = {{ISCC Codes for Flickr30k}}, author = {{ISCC Foundation}}, year = {{2026}}, publisher = {{Hugging Face}}, url = {{https://huggingface.co/datasets/iscc/iscc-flickr30k}} } ``` **Original Flickr30k:** ```bibtex @article{young2014image, title = {{From image descriptions to visual denotations: New similarity metrics for semantic inference over event descriptions}}, author = {{Young, Peter and Lai, Alice and Hodosh, Micah and Hockenmaier, Julia}}, journal = {{Transactions of the Association for Computational Linguistics}}, volume = {{2}}, pages = {{67--78}}, year = {{2014}}, publisher = {{MIT Press}} } ``` **ISCC Standard:** ```bibtex @misc{iso24138, title = {{ISO 24138:2024 Information and documentation -- International Standard Content Code (ISCC)}}, author = {{International Organization for Standardization}}, year = {{2024}}, url = {{https://www.iso.org/standard/77899.html}} } ``` ## Additional Resources - [ISCC Foundation](https://iscc.io/) - Standards organization - [ISCC Documentation](https://sdk.iscc.codes/) - Technical documentation - [ISO 24138:2024](https://www.iso.org/standard/77899.html) - Official standard - [iscc-sdk](https://github.com/iscc/iscc-sdk) - Python SDK for ISCC generation - [Flickr30k Project Page](https://shannon.cs.illinois.edu/DenotationGraph/) ## Contact - **Dataset Issues**: [iscc-datasets GitHub](https://github.com/iscc/iscc-datasets/issues) - **ISCC Questions**: [ISCC Foundation](https://iscc.io/)