Graph Machine Learning
Keras
English
graph-machine-learning
gnn
k3-node
keras-3
multi-backend
node-classification
Instructions to use anasrz/cora-node-gcn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use anasrz/cora-node-gcn with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://anasrz/cora-node-gcn") - Notebooks
- Google Colab
- Kaggle
Download config.json from anasrz/cora-node-gcn: direct link, hf CLI and curl.
- Browser
- Download file 211 Bytes
-
https://huggingface.co/anasrz/cora-node-gcn/resolve/main/config.json
- Command line
-
hf download hf://anasrz/cora-node-gcn/config.json
-
curl -L -o config.json https://huggingface.co/anasrz/cora-node-gcn/resolve/main/config.json
211 Bytes
| { | |
| "task_type": "NodeClassifier", | |
| "backbone": "gcn", | |
| "in_channels": 1433, | |
| "hidden_channels": 32, | |
| "out_channels": 7, | |
| "num_layers": 2, | |
| "dropout": 0.5, | |
| "multi_label": false, | |
| "backbone_kwargs": {} | |
| } |