-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Hersche HER@zurich.ibm.com
committed
Feb 1, 2023
1 parent
12789e6
commit 90ac416
Showing
11 changed files
with
1,570 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Empty file.
Oops, something went wrong.