Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Hersche HER@zurich.ibm.com committed Feb 1, 2023
1 parent 12789e6 commit 90ac416
Show file tree
Hide file tree
Showing 11 changed files with 1,570 additions and 203 deletions.
402 changes: 201 additions & 201 deletions LICENSE

Large diffs are not rendered by default.

62 changes: 60 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,60 @@
# A Neuro-vector-symbolic Architecture for Solving Raven's Progressive Matrices
PyTorch Implementation of the paper "A Neuro-vector-symbolic architecture for Solving Raven's Progressive Matrices" published in Nature Machine Intelligence 2023.
# NVSA

### Michael Hersche, Mustafa Zeqiri, Luca Benini, Abu Sebastian, Abbas Rahimi

_Nature Machine Intelligence'23_

This library implements the VSA functionalities of the paper "A Neuro-vector-symbolic Architecture for Solving Raven's Progressive Matrices". A complete example for solving RAVEN can be found [[here]](https://github.com/IBM/neuro-vsa-demo)

## [[Preprint]](https://arxiv.org/pdf/2203.04571.pdf)

## Module Installation

This module can be installed using `pip`, and then simply used by
`import neuro_vsa`.

As a prerequisite you should have already installed `torch` and `numpy`.

### From GitHub

To install module from GitHub use one of:
```bash
# Install using ssh
pip install git+git@github.com:IBM/neuro-vsa.git
# Install using https
pip install git+https://github.com:IBM/neuro-vsa.git
```

If you already have pytorch installed you might want to additionally use `--no-dependencies` flag:
```bash
# Install using ssh, without dependencies
pip install git+git@github.com:IBM/neuro-vsa.git --no-dependencies
# Install using ssh, without dependencies
pip install git+https://github.com:IBM/neuro-vsa.git --no-dependencies
```

### From local repository

This version will automatically reflect any code changes that you make.

```bash
# Install from editable local version
pip install -e /path/to/local/neuro-vsa
# Also possible without dependencies
pip install -e /path/to/local/neuro-vsa --no-dependencies
```

## Citation

If you use the work released here for your research, please cite the preprint of this paper:
```
@article{hersche2022neuro,
title={A Neuro-vector-symbolic Architecture for Solving Raven's Progressive Matrices},
author={Hersche, Michael and Zeqiri, Mustafa and Benini, Luca and Sebastian, Abu and Rahimi, Abbas},
journal={arXiv preprint arXiv:2203.04571},
year={2022}
}
```

## License
Our code is licensed under Apache 2.0. Please refer to the LICENSE file for the licensing of our code.
Empty file added neuro_vsa/__init__.py
Empty file.
Empty file.

0 comments on commit 90ac416

Please sign in to comment.