# How to do multilingual bert classification

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-do-multilingual-bert-classification%2F23871%3E%5C
**Category:** Beginners\
**Created:** [October 1, 2022, 4:57pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-do-multilingual-bert-classification%2F23871 "2022-10-01T16:57:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Talha](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@Talha](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FTalha)%5C
**Post date:** [October 1, 2022, 4:57pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-do-multilingual-bert-classification%2F23871%2F1 "2022-10-01T16:57:04Z")

</div>

I am trying to understand how to do training of multilingual data.  
Do we need to create a dataset having text in different languages and their labels? Or there is some sort of settings/flags in bert to let bert know this is multilingual? I mean do we need to provide language code, or bert automatically understand the language name
