Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/facebookresearch/GraphLog

API for accessing the GraphLog dataset
https://github.com/facebookresearch/GraphLog

Last synced: about 2 months ago
JSON representation

API for accessing the GraphLog dataset

Awesome Lists containing this project

README

        

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/graphlog)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![PyPI version](https://badge.fury.io/py/graphlog.svg)](https://badge.fury.io/py/graphlog)

# GraphLog
API to interface with the GraphLog Dataset. GraphLog is a multi-purpose, multi-relational graph dataset built using rules grounded in first-order logic.

[Homepage](https://www.cs.mcgill.ca/~ksinha4/graphlog/) | [Paper](https://arxiv.org/abs/2003.06560) | [API Docs](https://graphlog.readthedocs.io/en/latest/) | [Dataset](https://drive.google.com/file/d/1s6oG_5Ul199puKAu67z3QrOAm943hGV2/view?usp=sharing)

### News

- Core Generator logic of GraphLog is now released in its own repository, [GLC](https://github.com/koustuvsinha/glc)! This repository will contain the specific instantiations of GLC which can be used to create various setups of GraphLog. Stay tuned for more updates!

### Installation

* Supported Python Version: 3.6, 3.7, 3.8
* Install PyTorch from https://pytorch.org/get-started/locally/
* Install pytorch-geometric (and other dependencies) from https://github.com/rusty1s/pytorch_geometric#installation. Make sure that cpu/cuda versions for pytorch and pytorch-geometric etc matches.
* `pip install graphlog`

### QuickStart

Check out the notebooks on [Basic Usage](examples/Basic%20Usage.ipynb) and [Advanced Usage](examples/Advanced%20Usage.ipynb) to quickly start playing with GraphLog.

### Dev Setup

* `pip install -e ".[dev]"`
* Install pre-commit hooks `pre-commit install`
* The code is linted using:
* `black`
* `flake8`
* `mypy`
* All the tests can be run locally using `nox`

### Experiments

Code for experiments used in our paper are available in `experiments/` folder.

### Questions

- If you have questions, open an Issue
- If you have any questions or topics related to this project to discuss, please contact `koustuvs[at]meta.com`.

### Contributing

Please open a Pull Request (PR).

### Citation

If our work is useful for your research, consider citing it using the following bibtex:

```
@article{sinha2020graphlog,
Author = {Koustuv Sinha and Shagun Sodhani and Joelle Pineau and William L. Hamilton},
Title = {Evaluating Logical Generalization in Graph Neural Networks},
Year = {2020},
arxiv = {https://arxiv.org/abs/2003.06560}
}
```

### License

CC-BY-NC 4.0 (Attr Non-Commercial Inter.)

### Terms of Use

https://opensource.facebook.com/legal/terms

### Privacy Policy

https://opensource.facebook.com/legal/privacy