HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

ALBERT: A Lite BERT for Self-supervised Learning of Language Representations

Zhenzhong Lan; Mingda Chen; Sebastian Goodman; Kevin Gimpel; Piyush Sharma; Radu Soricut

ALBERT: A Lite BERT for Self-supervised Learning of Language Representations

Abstract

Increasing model size when pretraining natural language representations often results in improved performance on downstream tasks. However, at some point further model increases become harder due to GPU/TPU memory limitations and longer training times. To address these problems, we present two parameter-reduction techniques to lower memory consumption and increase the training speed of BERT. Comprehensive empirical evidence shows that our proposed methods lead to models that scale much better compared to the original BERT. We also use a self-supervised loss that focuses on modeling inter-sentence coherence, and show it consistently helps downstream tasks with multi-sentence inputs. As a result, our best model establishes new state-of-the-art results on the GLUE, RACE, and \squad benchmarks while having fewer parameters compared to BERT-large. The code and the pretrained models are available at https://github.com/google-research/ALBERT.

Code Repositories

lyqcom/albert
mindspore
jpablou/Matching-The-Blanks-Ths
pytorch
Mentioned in GitHub
yahah100/text_summarization
tf
Mentioned in GitHub
common-english/bert-all
pytorch
Mentioned in GitHub
benywon/ReCO
pytorch
Mentioned in GitHub
rajatgermany/qa-nlp
pytorch
Mentioned in GitHub
kpe/bert-for-tf2
tf
Mentioned in GitHub
google-research/ALBERT
Official
tf
Mentioned in GitHub
codegram/calbert
pytorch
Mentioned in GitHub
cypressd1999/FYP_2021
pytorch
Mentioned in GitHub
brightmart/albert_zh
tf
Mentioned in GitHub
KnightZhang625/BERT_TF
tf
Mentioned in GitHub
Soikonomou/albert_final_infer8
pytorch
Mentioned in GitHub
CLUEbenchmark/CLUE
tf
Mentioned in GitHub
facebookresearch/anli
pytorch
Mentioned in GitHub
benywon/Chinese-GPT-2
pytorch
Mentioned in GitHub
lucidrains/routing-transformer
pytorch
Mentioned in GitHub
plkmo/BERT-Relation-Extraction
pytorch
Mentioned in GitHub
Sanyuan-Chen/RecAdam
pytorch
Mentioned in GitHub
Tencent/TurboTransformers
pytorch
Mentioned in GitHub
Soikonomou/albert_final_infer12
pytorch
Mentioned in GitHub
Soikonomou/albert_final
pytorch
Mentioned in GitHub
xinyooo/ALBERT4Rec
pytorch
Mentioned in GitHub
huggingface/transformers
pytorch
Mentioned in GitHub
lonePatient/albert_pytorch
pytorch
Mentioned in GitHub
graykode/ALBERT-Pytorch
pytorch
Mentioned in GitHub
epfml/collaborative-attention
pytorch
Mentioned in GitHub
mtzcorporations/nlp_teamjodka
pytorch
Mentioned in GitHub
Soikonomou/bert_new_new
pytorch
Mentioned in GitHub
hieudepchai/BERT_IE
pytorch
Mentioned in GitHub
vvvm23/albert
pytorch
Mentioned in GitHub
Soikonomou/bert_new
pytorch
Mentioned in GitHub
lucidrains/sinkhorn-transformer
pytorch
Mentioned in GitHub
mandubian/codenets
pytorch
Mentioned in GitHub
appcoreopc/berty
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
common-sense-reasoning-on-commonsenseqaAlbert Lan et al. (2020) (ensemble)
Accuracy: 76.5
linguistic-acceptability-on-colaALBERT
Accuracy: 69.1%
multi-task-language-understanding-on-mmluALBERT-xxlarge 223M (fine-tuned)
Average (%): 27.1
multimodal-intent-recognition-on-photochatALBERT-base
F1: 52.2
Precision: 44.8
Recall: 62.7
natural-language-inference-on-multinliALBERT
Matched: 91.3
natural-language-inference-on-qnliALBERT
Accuracy: 99.2%
natural-language-inference-on-rteALBERT
Accuracy: 89.2%
natural-language-inference-on-wnliALBERT
Accuracy: 91.8
question-answering-on-multitqALBERT
Hits@1: 10.8
Hits@10: 45.9
question-answering-on-quora-question-pairsALBERT
Accuracy: 90.5%
question-answering-on-squad20ALBERT (single model)
EM: 88.107
F1: 90.902
question-answering-on-squad20ALBERT (ensemble model)
EM: 89.731
F1: 92.215
question-answering-on-squad20-devALBERT base
EM: 76.1
F1: 79.1
question-answering-on-squad20-devALBERT large
EM: 79.0
F1: 82.1
question-answering-on-squad20-devALBERT xlarge
EM: 83.1
F1: 85.9
question-answering-on-squad20-devALBERT xxlarge
EM: 85.1
F1: 88.1
semantic-textual-similarity-on-mrpcALBERT
Accuracy: 93.4%
semantic-textual-similarity-on-sts-benchmarkALBERT
Pearson Correlation: 0.925
sentiment-analysis-on-sst-2-binaryALBERT
Accuracy: 97.1

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
ALBERT: A Lite BERT for Self-supervised Learning of Language Representations | Papers | HyperAI