Downloads · 30 days
16
0% of all-time downloads
DunnBC22/distilbert-base-multilingual-cased-language_detection
distilbert-base-multilingual-cased-language_detection is a text classification model from DunnBC22. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of distilbert-base-multilingual-cased on the None dataset. It achieves the following results on the evaluation set: - Loss: 0.0595 - Accuracy: 0.9971 - F1 - Weighted: 0.9971 - Micro:…
Downloads · 30 days
16
0% of all-time downloads
All-time downloads
5.4K
Public
Repo size
2.2 GB
Likes
2
Public
Click a slice to open those files.
.bin541 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-multilingual-cased on the None dataset. It achieves the following results on the evaluation set:
This is a classification model of 16 different languages.
For more information on how it was created, check out the following link: https://github.com/DunnBC22/NLP_Projects/blob/main/Language%20Detection/Language%20Detection-%2010k%20Samples/language_detection-10k.ipynb
This model is intended to demonstrate my ability to solve a complex problem using technology.
Dataset Source: https://www.kaggle.com/datasets/basilb2s/language-detection
Input Word Length:

Input Word Length By Class:

Class Distribution:

The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted F1 | Micro F1 | Macro F1 | Weighted Recall | Micro Recall | Macro Recall | Weighted Precision | Micro Precision | Macro Precision |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1.0783 | 1.0 | 128 | 0.1544 | 0.9823 | 0.9819 | 0.9823 | 0.9806 | 0.9823 | 0.9823 | 0.9798 | 0.9847 | 0.9823 | 0.9852 |
| 0.1189 | 2.0 | 256 | 0.0595 | 0.9971 | 0.9971 | 0.9971 | 0.9977 | 0.9971 | 0.9971 | 0.9974 | 0.9971 | 0.9971 | 0.9981 |
| 0.0651 | 3.0 | 384 | 0.0473 | 0.9971 | 0.9971 | 0.9971 | 0.9977 | 0.9971 | 0.9971 | 0.9974 | 0.9971 | 0.9971 | 0.9981 |
This model is a fine-tuned derivative of a pretrained model. Users must comply with the original model license.
This model was fine-tuned on third-party datasets which may have separate licenses or usage restrictions.