diff --git a/README.md b/README.md index d48aa40c9b6e5cb9b43173c49eb5cf30f5402b1f..cbfa51a2e83af3255f0affa2debc2a727b8a8722 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Clone this repository and install COMBO (we suggest creating a virtualenv/conda environment with Python 3.6+, as a bundle of required packages will be installed): ```bash pip install -U pip setuptools wheel -pip install --index-url https://pypi.clarin-pl.eu/simple combo +pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.0 ``` Run the following commands in your Python console to make predictions with a pre-trained model: ```python diff --git a/docs/installation.md b/docs/installation.md index ed2ae3f5b8a4ee2fc0a82991b7577a1e3a512ce6..a4f9193937324acac7a7f4c9d4f8e97bb7e90bee 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -2,7 +2,7 @@ Clone this repository and install COMBO (we suggest using virtualenv/conda with Python 3.6+): ```bash pip install -U pip setuptools wheel -pip install --index-url https://pypi.clarin-pl.eu/simple combo +pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.0 combo --helpfull ``` @@ -11,7 +11,7 @@ combo --helpfull python -m venv venv source venv/bin/activate pip install -U pip setuptools wheel -pip install --index-url https://pypi.clarin-pl.eu/simple combo +pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.0 ``` ## Problems & solutions @@ -21,7 +21,7 @@ Run `conda install -c conda-forge jsonnet=0.15.0` and re-run installation. * No package 'sentencepiece' found -Run `pip install sentencepiece` and re-run installation. +Run `pip install sentencepiece==0.1.83` and re-run installation. * Missing Cython error diff --git a/setup.py b/setup.py index 0c8c371d4db9021d32d7bc8acd01c90a3c6e9bb5..89e8208501b1b085f414a023ade6b8336e5865f2 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ REQUIREMENTS = [ 'numpy==1.19.4', 'overrides==3.1.0', 'requests==2.23.0', + 'sentencepiece==0.1.83', 'spacy==2.3.2', 'scikit-learn<=0.23.2', 'torch==1.6.0', @@ -20,7 +21,7 @@ REQUIREMENTS = [ setup( name='combo', - version='1.0.0b4', + version='1.0.0', author='Mateusz Klimaszewski', author_email='M.Klimaszewski@ii.pw.edu.pl', install_requires=REQUIREMENTS,