Skip to content
Snippets Groups Projects
Select Git revision
  • e9b1721f566fe9a20d5ad9ba8bf0d5cfa1c40a85
  • main default protected
  • ud_training_script
  • fix_seed
  • merged-with-ner
  • multiword_fix_transformer
  • transformer_encoder
  • combo3
  • save_deprel_matrix_to_npz
  • master protected
  • combo-lambo
  • lambo-sent-attributes
  • adding_lambo
  • develop
  • update_allenlp2
  • develop_tmp
  • tokens_truncation
  • LR_test
  • eud_iwpt
  • iob
  • eud_iwpt_shared_task_bert_finetuning
  • 3.3.1
  • list
  • 3.2.1
  • 3.0.3
  • 3.0.1
  • 3.0.0
  • v1.0.6
  • v1.0.5
  • v1.0.4
  • v1.0.3
  • v1.0.2
  • v1.0.1
  • v1.0.0
34 results

installation.md

Blame
  • pszenny's avatar
    Łukasz Pszenny authored
    Error while too many tokens are processed by BERT
    f39ffe68
    History

    Installation

    Clone this repository and install COMBO (we suggest using virtualenv/conda with Python 3.6+):

    pip install -U pip setuptools wheel
    pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.5
    combo --helpfull

    Virtualenv example:

    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==1.0.5

    Conda example:

    conda create -n combo python=3.8
    conda activate combo
    pip install -U pip setuptools wheel
    pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.5

    Problems & solutions

    • jsonnet installation error

    Run conda install -c conda-forge jsonnet=0.15.0 and re-run installation.

    • No package 'sentencepiece' found

    Run pip install sentencepiece==0.1.83 for Python < 3.8 and re-run installation.

    Run pip install sentencepiece==0.1.85 for Python >= 3.8 and re-run installation.

    • Missing Cython error

    Run pip install spacy==2.3.2 manually and re-run installation.