Skip to content

Commit

Permalink
Update default_packages.py
Browse files Browse the repository at this point in the history
Added a BERT model for Icelandic
  • Loading branch information
ingunnjk authored Apr 24, 2024
1 parent e85642e commit 367bba1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions stanza/resources/default_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,11 @@ def build_default_pretrains(default_treebanks):
# xlm-roberta-base : 89.31
"hy": "xlm-roberta-base",

# https://huggingface.co/mideind/IceBERT
# IceBERT-large is also available:
# https://huggingface.co/mideind/IceBERT-large
"is": "mideind/IceBERT"

# Indonesian POS experiments: dev set of GSD
# python3 stanza/utils/training/run_pos.py id_gsd --no_bert
# python3 stanza/utils/training/run_pos.py id_gsd --bert_model ...
Expand Down Expand Up @@ -811,6 +816,10 @@ def build_default_pretrains(default_treebanks):
# hy
"xlm-roberta-base": "xlm-roberta-base",

# is
"mideind/IceBERT": "icebert",
"mideind/IceBERT-large": "icebert-large",

# id
"indolem/indobert-base-uncased": "indobert",
"indobenchmark/indobert-large-p1": "indobenchmark-large-p1",
Expand Down

0 comments on commit 367bba1

Please sign in to comment.