Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Google BERT

You're reading from   Getting Started with Google BERT Build and train state-of-the-art natural language processing models using BERT

Arrow left icon
Product type Paperback
Published in Jan 2021
Publisher Packt
ISBN-13 9781838821593
Length 352 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Sudharsan Ravichandiran Sudharsan Ravichandiran
Author Profile Icon Sudharsan Ravichandiran
Sudharsan Ravichandiran
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1 - Starting Off with BERT
2. A Primer on Transformers FREE CHAPTER 3. Understanding the BERT Model 4. Getting Hands-On with BERT 5. Section 2 - Exploring BERT Variants
6. BERT Variants I - ALBERT, RoBERTa, ELECTRA, and SpanBERT 7. BERT Variants II - Based on Knowledge Distillation 8. Section 3 - Applications of BERT
9. Exploring BERTSUM for Text Summarization 10. Applying BERT to Other Languages 11. Exploring Sentence and Domain-Specific BERT 12. Working with VideoBERT, BART, and More 13. Assessments 14. Other Books You May Enjoy

Chapter 7, Applying BERT to Other Languages

  1. Multilingual BERT, or M-BERT for short, is used to obtain the representation of text in different languages and not just English.
  2. Similar to BERT, M-BERT is also trained with masked language modeling and next-sentence prediction tasks, but instead of using only English language Wikipedia text, M-BERT is trained using Wikipedia text in 104 different languages.
  3. M-BERT works better for languages that have a shared word order (SVO-SVO, SOV-SOV) than for languages that have different word order (SVO-SOV, SOV-SVO).
  4. Mixing or alternating different languages in a conversation is called code-switching. In transliteration, instead of writing text in the source language script, we use the target language script.
  5. The XLM model is pre-trained using casual language modeling, masked language modeling, and translation language modeling tasks.
  6. Translation language modeling (TLM) is an interesting pre-training strategy. In casual language modeling and masked...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image