AsciiMAster/off-categories-bge-m3
收藏资源简介:
这是一个基于Open Food Facts(开放食品信息)分类体系的扁平化、嵌入版本数据集。每行数据代表一个食品类别,包含多语言(英语、德语、法语、波兰语)显示名称、完整的祖先路径以及由BAAI/bge-m3模型生成的1024维嵌入向量。数据集旨在简化下游项目对食品类别的检索过程,无需重新获取分类数据或运行嵌入模型。数据集包含14352个类别,每个类别提供ID、多语言名称、父类别ID列表、祖先路径、上下文哈希和嵌入向量。嵌入向量是通过将英文类别名称与祖先路径连接后,使用bge-m3模型生成的,适用于余弦相似度度量。数据集遵循Open Database License (ODbL) v1.0许可,要求在使用或分发时保持相同许可并注明来源。
A flat, embedded version of the Open Food Facts category taxonomy. Each row is one OFF category with multilingual display names, its full ancestor path, and a 1024-dimensional embedding produced by BAAI/bge-m3. The intent is to let downstream projects do retrieval over OFF categories without having to re-fetch categories.json, walk the parent graph, or run the embedding model. The dataset contains 14352 categories, each with an ID, multilingual names, parent category IDs, ancestor path, context hash, and embedding vector. The embedding vectors are generated by the bge-m3 model using the concatenation of the English category name and ancestor path, suitable for cosine similarity measurement. The dataset is distributed under the Open Database License (ODbL) v1.0, requiring the same license and attribution for any use or distribution.





