Sherpa knowledge import plugins
Project description
Setup
- install python3, pip and venv
sudo apt install python3
sudo apt install python3-pip
sudo apt install python3-venv
- create a venv
mkdir venv
python3 -m venv venv
source venv/bin/activate
- install requirements (inside venv)
# Manual install of sklearn
pip --no-cache-dir --disable-pip-version-check install -r requirements_sklearn.txt
# Manual install of flair
pip --no-cache-dir --disable-pip-version-check install Pillow==6.2.1 && \
pip --no-cache-dir --disable-pip-version-check install torch==1.2.0 torchvision==0.4.0 -f https://download.pytorch.org/whl/torch_stable.html && \
pip --no-cache-dir --disable-pip-version-check install tiny_tokenizer==3.0.1 && \
pip --no-cache-dir --disable-pip-version-check install deps/flair-0.4.5.1-py3-none-any.whl
# Manual install of delft-0.2.3.5-py3-none-any.whl
pip --no-cache-dir --disable-pip-version-check install deps/delft-0.2.3.5-py3-none-any.whl && \
pip --no-cache-dir --disable-pip-version-check install -r requirements.txt && \
pip --no-cache-dir --disable-pip-version-check uninstall -y tensorflow-gpu && \
pip --no-cache-dir --disable-pip-version-check install tensorflow==1.12.0
pip install -r requirements.txt
- Download spacy models (de, en, fr)7
python3 -m spacy download de && \
python3 -m spacy download en && \
python3 -m spacy download fr
- launch (single instance)
python3 server.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pyimporters-plugins-0.1.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 666c6b2bf00e01a0664ab50bccf99e855342919699f09f470af239eecab81b72 |
|
MD5 | 2d44913d4b3a610fd13c42c6921073e3 |
|
BLAKE2b-256 | f93084692c1a0509acdce8ab1b2db2a90685269c4400abba91841ea65c5095fe |
Close
Hashes for pyimporters_plugins-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d00d52fa87c51806f1c49d7dc6d4ece9a526ab34b20e19ad7dca1d655c01fe22 |
|
MD5 | adb4c7f8460367c446bdf0e95d48e5e6 |
|
BLAKE2b-256 | d92e3a0e0c1517a4019d87607d9a8f4c6f8b1cc922ff4e1bc2e89deb546bcdc9 |