Mixed-Distil-BERT: Code-mixed Language Modeling for Bangla, English, and Hindi
Paper • 2309.10272 • Published
How to use md-nishat-008/Tri-Distil-BERT with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="md-nishat-008/Tri-Distil-BERT") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("md-nishat-008/Tri-Distil-BERT")
model = AutoModelForMaskedLM.from_pretrained("md-nishat-008/Tri-Distil-BERT")The model is pretrained on the OSCAR dataset for Bangla, English and Hindi. The base model is Distil-BERT and the intended use for this model is for the datasets that contain a mix of these languages.
To Cite:
@article{raihan2023mixed, title={Mixed-Distil-BERT: Code-mixed Language Modeling for Bangla, English, and Hindi}, author={Raihan, Md Nishat and Goswami, Dhiman and Mahmud, Antara}, journal={arXiv preprint arXiv:2309.10272}, year={2023} }