Files
mlx-examples/gcn
Awni Hannun a5d6d0436c Support Hugging Face models (#215)
* support hf direct models
2024-01-03 15:13:26 -08:00
..
2023-12-11 23:10:46 +01:00
2023-12-11 17:48:07 +01:00
2024-01-03 15:13:26 -08:00
2023-12-11 23:10:46 +01:00
2023-12-11 23:10:46 +01:00

Graph Convolutional Network

An example of GCN implementation with MLX.

Install requirements

First, install the few dependencies with pip.

pip install -r requirements.txt

Run

To try the model, just run the main.py file. This will download the Cora dataset, run the training and testing.

python main.py