Home

Awesome

nabu

Platform for managing, training and evaluate word embeddings over a corpus.

Requirements

We also need to install some system packages:

sudo apt-get install postgresql-9.4 postgresql-server-dev-9.4 redis-server openblas openblas-dev
sudo apt-get build-dep python-lxml

How to deploy

$ pip install virtualenv
$ mkdir virtualenv
$ virtualenv virtualenv/ --python=/usr/bin/python3
python install -r deploy/requirements.txt
$ sudo -u postgres createuser nabu -s
$ createdb nabudb -E UTF8 -T template0

How to run

$ redis-server
$ sudo service elasticsearch start
$ NABU_DEV='DEV' python manage.py serve
$ cd ui-nabu/dist && python3 -m http.server
$ celery worker -A nabu.vectors.tasks -c 1 -Q testing --loglevel=info -n testing@localhost
$ celery worker -A nabu.vectors.tasks -c 1 -Q training --loglevel=info -n training@localhost

Finally, the application should be running at http://localhost:8000.