MARBERT
is one of three models described in our
ACL 2021 paper
"ARBERT & MARBERT: Deep Bidirectional Transformers for Arabic"
. MARBERT is a large-scale pre-trained masked language model focused on both Dialectal Arabic (DA) and MSA. Arabic has multiple varieties. To train MARBERT, we randomly sample 1B Arabic tweets from a large in-house dataset of about 6B tweets. We only include tweets with at least 3 Arabic words, based on character string matching, regardless whether the tweet has non-Arabic string or not. That is, we do not remove non-Arabic so long as the tweet meets the 3 Arabic word criterion. The dataset makes up
128GB of text
(
15.6B tokens
). We use the same network architecture as ARBERT (BERT-base), but without the next sentence prediction (NSP) objective since tweets are short. See our
repo
for modifying BERT code to remove NSP. For more information about MARBERT, please visit our own GitHub
repo
.
BibTex
If you use our models (ARBERT, MARBERT, or MARBERTv2) for your scientific publication, or if you find the resources in this repository useful, please cite our paper as follows (to be updated):
@inproceedings{abdul-mageed-etal-2021-arbert,
title = "{ARBERT} {\&} {MARBERT}: Deep Bidirectional Transformers for {A}rabic",
author = "Abdul-Mageed, Muhammad and
Elmadany, AbdelRahim and
Nagoudi, El Moatez Billah",
booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)",
month = aug,
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.acl-long.551",
doi = "10.18653/v1/2021.acl-long.551",
pages = "7088--7105",
abstract = "Pre-trained language models (LMs) are currently integral to many natural language processing systems. Although multilingual LMs were also introduced to serve many languages, these have limitations such as being costly at inference time and the size and diversity of non-English data involved in their pre-training. We remedy these issues for a collection of diverse Arabic varieties by introducing two powerful deep bidirectional transformer-based models, ARBERT and MARBERT. To evaluate our models, we also introduce ARLUE, a new benchmark for multi-dialectal Arabic language understanding evaluation. ARLUE is built using 42 datasets targeting six different task clusters, allowing us to offer a series of standardized experiments under rich conditions. When fine-tuned on ARLUE, our models collectively achieve new state-of-the-art results across the majority of tasks (37 out of 48 classification tasks, on the 42 datasets). Our best model acquires the highest ARLUE score (77.40) across all six task clusters, outperforming all other models including XLM-R Large ( 3.4x larger size). Our models are publicly available at https://github.com/UBC-NLP/marbert and ARLUE will be released through the same repository.",
}
Acknowledgments
We gratefully acknowledge support from the Natural Sciences and Engineering Research Council of Canada, the Social Sciences and Humanities Research Council of Canada, Canadian Foundation for Innovation,
ComputeCanada
and
UBC ARC-Sockeye
. We also thank the
Google TensorFlow Research Cloud (TFRC)
program for providing us with free TPU access.
Runs of UBC-NLP MARBERT on huggingface.co
27.5K
Total runs
0
24-hour runs
315
3-day runs
6.0K
7-day runs
21.8K
30-day runs
More Information About MARBERT huggingface.co Model
MARBERT huggingface.co
MARBERT huggingface.co is an AI model on huggingface.co that provides MARBERT's model effect (), which can be used instantly with this UBC-NLP MARBERT model. huggingface.co supports a free trial of the MARBERT model, and also provides paid use of the MARBERT. Support call MARBERT model through api, including Node.js, Python, http.
MARBERT huggingface.co is an online trial and call api platform, which integrates MARBERT's modeling effects, including api services, and provides a free online trial of MARBERT, you can try MARBERT online for free by clicking the link below.
UBC-NLP MARBERT online free url in huggingface.co:
MARBERT is an open source model from GitHub that offers a free installation service, and any user can find MARBERT on GitHub to install. At the same time, huggingface.co provides the effect of MARBERT install, users can directly use MARBERT installed effect in huggingface.co for debugging and trial. It also supports api for free installation.