Benchmarking Recommendation, Classification, and Tracing Based on
  Hugging Face Knowledge Graph
Authors: name: Qiaosheng Chen; name: Kaijia Huang; name: Xiao Zhou; name: Weiqing Luo; name: Yuanning Cui; name: Gong Cheng
Published: 2025-05-23 06:00:20

Abstract: The rapid growth of open source machine learning (ML) resources, such as
models and datasets, has accelerated IR research. However, existing platforms
like Hugging Face do not explicitly utilize structured representations,
limiting advanced queries and analyses such as tracing model evolution and
recommending relevant datasets. To fill the gap, we construct HuggingKG, the
first large-scale knowledge graph built from the Hugging Face community for ML
resource management. With 2.6 million nodes and 6.2 million edges, HuggingKG
captures domain-specific relations and rich textual attributes. It enables us
to further present HuggingBench, a multi-task benchmark with three novel test
collections for IR tasks including resource recommendation, classification, and
tracing. Our experiments reveal unique characteristics of HuggingKG and the
derived tasks. Both resources are publicly available, expected to advance
research in open source resource sharing and management.