UBC-NLP / MARBERTv2

huggingface.co
Total runs: 129.6K
24-hour runs: 0
7-day runs: 1.0K
30-day runs: 66.5K
Model's Last Updated: March 31 2022
fill-mask

Introduction of MARBERTv2

Model Details of MARBERTv2

drawing

MARBERTv2 is one of three models described in our ACL 2021 paper "ARBERT & MARBERT: Deep Bidirectional Transformers for Arabic" .

We find that results with ARBERT and MARBERT on QA are not competitive, a clear discrepancy from what we have observed thus far on other tasksWe hypothesize this is because the two models are pre-trained with a sequence length of only 128, which does not allow them to sufficiently capture both a question and its likely answer within the same sequence window during the pre-training.

To rectify this, we further pre-train the stronger model, MARBERT, on the same MSA data as ARBERT in addition to AraNews dataset but with a bigger sequence length of 512 tokens for 40 epochs. We call this further pre-trained model MARBERTv2 , noting it has 29B tokens . MARBERTv2 acquires best performance on all but one test set, where XLM-RLarge marginally outperforms us (only in F1).

For more information, 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 MARBERTv2 on huggingface.co

129.6K
Total runs
0
24-hour runs
-273
3-day runs
1.0K
7-day runs
66.5K
30-day runs

More Information About MARBERTv2 huggingface.co Model

MARBERTv2 huggingface.co

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

MARBERTv2 huggingface.co Url

https://huggingface.co/UBC-NLP/MARBERTv2

UBC-NLP MARBERTv2 online free

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

UBC-NLP MARBERTv2 online free url in huggingface.co:

https://huggingface.co/UBC-NLP/MARBERTv2

MARBERTv2 install

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

MARBERTv2 install url in huggingface.co:

https://huggingface.co/UBC-NLP/MARBERTv2

Url of MARBERTv2

MARBERTv2 huggingface.co Url

Provider of MARBERTv2 huggingface.co

UBC-NLP
ORGANIZATIONS

Other API from UBC-NLP

huggingface.co

Total runs: 32.8K
Run Growth: 16.0K
Growth Rate: 48.67%
Updated:August 17 2022
huggingface.co

Total runs: 5.6K
Run Growth: 735
Growth Rate: 13.16%
Updated:April 24 2024
huggingface.co

Total runs: 3.9K
Run Growth: 613
Growth Rate: 15.82%
Updated:May 17 2024
huggingface.co

Total runs: 1.9K
Run Growth: 0
Growth Rate: 0.00%
Updated:November 11 2025
huggingface.co

Total runs: 1.8K
Run Growth: 703
Growth Rate: 39.76%
Updated:August 14 2024
huggingface.co

Total runs: 1.6K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 20 2024
huggingface.co

Total runs: 1.4K
Run Growth: 573
Growth Rate: 40.47%
Updated:January 20 2022
huggingface.co

Total runs: 1.3K
Run Growth: 0
Growth Rate: 0.00%
Updated:January 22 2025
huggingface.co

Total runs: 631
Run Growth: -531
Growth Rate: -85.51%
Updated:March 10 2026
huggingface.co

Total runs: 222
Run Growth: 180
Growth Rate: 81.08%
Updated:February 13 2026
huggingface.co

Total runs: 108
Run Growth: -23
Growth Rate: -21.30%
Updated:November 26 2024
huggingface.co

Total runs: 87
Run Growth: 41
Growth Rate: 47.13%
Updated:March 14 2025
huggingface.co

Total runs: 73
Run Growth: 0
Growth Rate: 0.00%
Updated:June 10 2022
huggingface.co

Total runs: 26
Run Growth: 18
Growth Rate: 72.00%
Updated:August 31 2021
huggingface.co

Total runs: 16
Run Growth: 2
Growth Rate: 12.50%
Updated:November 26 2024
huggingface.co

Total runs: 7
Run Growth: -4
Growth Rate: -57.14%
Updated:December 04 2023
huggingface.co

Total runs: 6
Run Growth: 0
Growth Rate: 0.00%
Updated:June 03 2022
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:June 03 2022
huggingface.co

Total runs: 5
Run Growth: -10
Growth Rate: -200.00%
Updated:November 12 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 10 2023