@inproceedings{xu-etal-2021-bert,
title = "{BERT}, m{BERT}, or {B}i{BERT}? A Study on Contextualized Embeddings for Neural Machine Translation",
author = "Xu, Haoran and
Van Durme, Benjamin and
Murray, Kenton",
booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
month = nov,
year = "2021",
address = "Online and Punta Cana, Dominican Republic",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.emnlp-main.534",
pages = "6663--6675",
abstract = "The success of bidirectional encoders using masked language models, such as BERT, on numerous natural language processing tasks has prompted researchers to attempt to incorporate these pre-trained models into neural machine translation (NMT) systems. However, proposed methods for incorporating pre-trained models are non-trivial and mainly focus on BERT, which lacks a comparison of the impact that other pre-trained models may have on translation performance. In this paper, we demonstrate that simply using the output (contextualized embeddings) of a tailored and suitable bilingual pre-trained language model (dubbed BiBERT) as the input of the NMT encoder achieves state-of-the-art translation performance. Moreover, we also propose a stochastic layer selection approach and a concept of a dual-directional translation model to ensure the sufficient utilization of contextualized embeddings. In the case of without using back translation, our best models achieve BLEU scores of 30.45 for En→De and 38.61 for De→En on the IWSLT{'}14 dataset, and 31.26 for En→De and 34.94 for De→En on the WMT{'}14 dataset, which exceeds all published numbers.",
}
Download
Note that tokenizer package is
BertTokenizer
not
AutoTokenizer
.
from transformers import BertTokenizer, AutoModel
tokenizer = BertTokenizer.from_pretrained("jhu-clsp/bibert-ende")
model = AutoModel.from_pretrained("jhu-clsp/bibert-ende")
Runs of jhu-clsp bibert-ende on huggingface.co
51
Total runs
3
24-hour runs
2
3-day runs
0
7-day runs
17
30-day runs
More Information About bibert-ende huggingface.co Model
bibert-ende huggingface.co
bibert-ende huggingface.co is an AI model on huggingface.co that provides bibert-ende's model effect (), which can be used instantly with this jhu-clsp bibert-ende model. huggingface.co supports a free trial of the bibert-ende model, and also provides paid use of the bibert-ende. Support call bibert-ende model through api, including Node.js, Python, http.
bibert-ende huggingface.co is an online trial and call api platform, which integrates bibert-ende's modeling effects, including api services, and provides a free online trial of bibert-ende, you can try bibert-ende online for free by clicking the link below.
jhu-clsp bibert-ende online free url in huggingface.co:
bibert-ende is an open source model from GitHub that offers a free installation service, and any user can find bibert-ende on GitHub to install. At the same time, huggingface.co provides the effect of bibert-ende install, users can directly use bibert-ende installed effect in huggingface.co for debugging and trial. It also supports api for free installation.