Instructions to use cjvt/muril-en-hi-codemixed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cjvt/muril-en-hi-codemixed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="cjvt/muril-en-hi-codemixed")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("cjvt/muril-en-hi-codemixed") model = AutoModelForMaskedLM.from_pretrained("cjvt/muril-en-hi-codemixed") - Notebooks
- Google Colab
- Kaggle
muril-en-hi-codemixed
muril-en-hi-codemixed is a masked language model, based on the MuRIL multilingual model.
muril-en-hi-codemixed replaces the tokenizer, vocabulary and the embeddings layer of the MuRIL model. The tokenizer and vocabulary used are the same as in the roberta-en-hi-codemixed model. The new embedding weights were initialized from the MuRIL embeddings.
The new muril-en-hi-codemixed model was further pre-trained for two epochs on the same codemixed English and Hindi corpora as the roberta-en-hi-codemixed model.
- Downloads last month
- 4