benjamin / gpt2-wechsel-german

huggingface.co
Total runs: 217
24-hour runs: 0
7-day runs: -12
30-day runs: -39
Model's Last Updated: July 14 2022
text-generation

Introduction of gpt2-wechsel-german

Model Details of gpt2-wechsel-german

gpt2-wechsel-german

Model trained with WECHSEL: Effective initialization of subword embeddings for cross-lingual transfer of monolingual language models.

See the code here: https://github.com/CPJKU/wechsel

And the paper here: https://aclanthology.org/2022.naacl-main.293/

Performance
RoBERTa
Model NLI Score NER Score Avg Score
roberta-base-wechsel-french 82.43 90.88 86.65
camembert-base 80.88 90.26 85.57
Model NLI Score NER Score Avg Score
roberta-base-wechsel-german 81.79 89.72 85.76
deepset/gbert-base 78.64 89.46 84.05
Model NLI Score NER Score Avg Score
roberta-base-wechsel-chinese 78.32 80.55 79.44
bert-base-chinese 76.55 82.05 79.30
Model NLI Score NER Score Avg Score
roberta-base-wechsel-swahili 75.05 87.39 81.22
xlm-roberta-base 69.18 87.37 78.28
GPT2
Model PPL
gpt2-wechsel-french 19.71
gpt2 (retrained from scratch) 20.47
Model PPL
gpt2-wechsel-german 26.8
gpt2 (retrained from scratch) 27.63
Model PPL
gpt2-wechsel-chinese 51.97
gpt2 (retrained from scratch) 52.98
Model PPL
gpt2-wechsel-swahili 10.14
gpt2 (retrained from scratch) 10.58

See our paper for details.

Citation

Please cite WECHSEL as

@inproceedings{minixhofer-etal-2022-wechsel,
    title = "{WECHSEL}: Effective initialization of subword embeddings for cross-lingual transfer of monolingual language models",
    author = "Minixhofer, Benjamin  and
      Paischer, Fabian  and
      Rekabsaz, Navid",
    booktitle = "Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies",
    month = jul,
    year = "2022",
    address = "Seattle, United States",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.naacl-main.293",
    pages = "3992--4006",
    abstract = "Large pretrained language models (LMs) have become the central building block of many NLP applications. Training these models requires ever more computational resources and most of the existing models are trained on English text only. It is exceedingly expensive to train these models in other languages. To alleviate this problem, we introduce a novel method {--} called WECHSEL {--} to efficiently and effectively transfer pretrained LMs to new languages. WECHSEL can be applied to any model which uses subword-based tokenization and learns an embedding for each subword. The tokenizer of the source model (in English) is replaced with a tokenizer in the target language and token embeddings are initialized such that they are semantically similar to the English tokens by utilizing multilingual static word embeddings covering English and the target language. We use WECHSEL to transfer the English RoBERTa and GPT-2 models to four languages (French, German, Chinese and Swahili). We also study the benefits of our method on very low-resource languages. WECHSEL improves over proposed methods for cross-lingual parameter transfer and outperforms models of comparable size trained from scratch with up to 64x less training effort. Our method makes training large language models for new languages more accessible and less damaging to the environment. We make our code and models publicly available.",
}

Runs of benjamin gpt2-wechsel-german on huggingface.co

217
Total runs
0
24-hour runs
4
3-day runs
-12
7-day runs
-39
30-day runs

More Information About gpt2-wechsel-german huggingface.co Model

More gpt2-wechsel-german license Visit here:

https://choosealicense.com/licenses/mit

gpt2-wechsel-german huggingface.co

gpt2-wechsel-german huggingface.co is an AI model on huggingface.co that provides gpt2-wechsel-german's model effect (), which can be used instantly with this benjamin gpt2-wechsel-german model. huggingface.co supports a free trial of the gpt2-wechsel-german model, and also provides paid use of the gpt2-wechsel-german. Support call gpt2-wechsel-german model through api, including Node.js, Python, http.

gpt2-wechsel-german huggingface.co Url

https://huggingface.co/benjamin/gpt2-wechsel-german

benjamin gpt2-wechsel-german online free

gpt2-wechsel-german huggingface.co is an online trial and call api platform, which integrates gpt2-wechsel-german's modeling effects, including api services, and provides a free online trial of gpt2-wechsel-german, you can try gpt2-wechsel-german online for free by clicking the link below.

benjamin gpt2-wechsel-german online free url in huggingface.co:

https://huggingface.co/benjamin/gpt2-wechsel-german

gpt2-wechsel-german install

gpt2-wechsel-german is an open source model from GitHub that offers a free installation service, and any user can find gpt2-wechsel-german on GitHub to install. At the same time, huggingface.co provides the effect of gpt2-wechsel-german install, users can directly use gpt2-wechsel-german installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

gpt2-wechsel-german install url in huggingface.co:

https://huggingface.co/benjamin/gpt2-wechsel-german

Url of gpt2-wechsel-german

gpt2-wechsel-german huggingface.co Url

Provider of gpt2-wechsel-german huggingface.co

benjamin
ORGANIZATIONS

Other API from benjamin

huggingface.co

Total runs: 5.2K
Run Growth: 4.4K
Growth Rate: 84.39%
Updated:May 30 2023