Skip to content
Snippets Groups Projects
Select Git revision
  • c989d8c1b9a7a16646613bd22097a723ffe8e088
  • 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

models.md

Blame
  • pszenny's avatar
    Łukasz Pszenny authored and Łukasz Pszenny committed
    Update README.md
    
    small fix in performance.md
    
    small fix in performance.md - got rid of models that were trained on data with sentences of form "____"
    41374773
    History

    Models

    COMBO provides pre-trained models for:

    Pre-trained models

    Morphosyntactic prediction models trained on the selected UD treebanks version 2.9 and their evaluation results are listed in Model performance (UD2.9) table.

    Morphosyntactic prediction models trained on the seleted UD treebanks version 2.5, version 2.7 and enhanced parsing models are listed in the spreadsheets: UD2.7-trained COMBO models, UD2.5-trained COMBO models and enhanced COMBO models.

    License

    Models are distributed under the same license as datasets used for their training.

    See Universal Dependencies v2.9 License Agreement, Universal Dependencies v2.7 License Agreement and Universal Dependencies v2.5 License Agreement for details.

    Automatic download

    The pre-trained models can be automatically downloaded with the from_pretrained method in the Python mode. Select the model name of a pre-trained model (see the column Model name in Model performance (UD2.9), UD2.7-trained COMBO models, UD2.5-trained COMBO models and enhanced COMBO models) and pass the name as an attribute of the from_pretrained method:

    from combo.predict import COMBO
    
    nlp = COMBO.from_pretrained("polish-herbert-base-ud29")

    If the model name doesn't match any model on the pre-trained model lists, COMBO looks for a model in local env.

    Manual download

    If you want to use COMBO in the command-line mode, you need to manually download a pre-trained model. The pre-trained models can be manually downloaded to a local disk with the wget package. The links to the pre-trained models are listed in the column Model name in Model performance (UD2.9), or Model link in UD2.7-trained COMBO models,UD2.5-trained COMBO models and enhanced COMBO models.

    wget http://s3.clarin-pl.eu/models/combo/ud_29/polish-herbert-base-ud29.tar.gz

    The path to the downloaded model should be passed as a parameter for COMBO in CLI (see prediction doc).