pyg-team / pytorch_geometric

Graph Neural Network Library for PyTorch
https://pyg.org
MIT License
21.32k stars 3.66k forks source link

PyG-HuggingFace Integration - Adding PyG GNN Models to the HuggingFace Model Hub #7170

Open ivaylogb opened 1 year ago

ivaylogb commented 1 year ago

🚀 The feature, motivation and pitch

The goal is for PyG to support the ability to add PyG-built GNNs into the HuggingFace Graph Learning Model Hub.

As such, we'd support adding PyG GNN Models to: https://huggingface.co/models?pipeline_tag=graph-ml&sort=downloads

Helpful notes: Add the graph-ml pipeline tag in the README metadata, see the following as an example: https://huggingface.co/clefourrier/graphormer-base-pcqm4mv2/blob/main/README.md?code=true#L5

Useful resources:

Alternatives

No response

Additional context

No response

puririshi98 commented 1 year ago

https://huggingface.co/riship-nv/RGCN/tree/main this is more suited for people training GNNs for research to share their models as pretrained weights