hajili/azerbaijani-various-corpus
Viewer • Updated • 40M • 1 • 1
How to use hajili/roberta-base-azerbaijani-whole-word-masking with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="hajili/roberta-base-azerbaijani-whole-word-masking") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("hajili/roberta-base-azerbaijani-whole-word-masking")
model = AutoModelForMaskedLM.from_pretrained("hajili/roberta-base-azerbaijani-whole-word-masking")This model is a continued pre-trained version of xlm-roberta-base on an various cleaned community corpus. It achieves the following results on the evaluation set:
We thank Microsoft Accelerating Foundation Models Research Program for supporting our research. Authors: Mammad Hajili, Duygu Ataman
The model was trained on whole word masked language model task on a single V100 GPU for 55 hours. For downstream tasks, it requires to be fine-tuned based on objective of the task.
The training data is clean mix of various Azerbaijani corpus shared by the community.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 3.4315 | 0.2500 | 100910 | 3.3178 |
| 3.2537 | 0.5000 | 201820 | 3.1369 |
| 3.1598 | 0.7500 | 302730 | 3.0042 |
| 3.0927 | 1.0000 | 403640 | 2.9691 |
| 3.0353 | 1.2500 | 504550 | 2.9385 |
| 2.9947 | 1.5000 | 605460 | 2.9062 |
| 2.9586 | 1.7500 | 706370 | 2.8547 |
| 2.9389 | 2.0000 | 807280 | 2.7979 |
| 2.9071 | 2.2500 | 908190 | 2.8124 |
| 2.8871 | 2.5000 | 1009100 | 2.7924 |
| 2.8792 | 2.7500 | 1110010 | 2.7697 |
Base model
FacebookAI/xlm-roberta-base