This model is a fine-tuned version of
FacebookAI/xlm-roberta-base on a custom multilingual dataset for the task of
language detection.
XLM-RoBERTa is a transformer-based model pre-trained on 100+ languages using a masked language modeling (MLM) objective. This fine-tuned version adapts the base model to classify short text snippets into one of 36 languages.
The model was trained on a balanced multilingual dataset, containing short text snippets labeled with one of 36 language classes. The dataset was manually curated and tokenized using Hugging Face's tokenizer utilities.
A separate validation set was used to monitor F1, accuracy, precision, and recall during training.