---
title: "L3Cube-HindBERT and DevBERT — paper by Joshi (2022)"
description: "How HindBERT and DevBERT adapt multilingual BERT for Hindi and Marathi, and what sentiment and entity recognition tests show about…"
canonical: "https://research.elamur.ai/free/en/papers/joshi-2022-l3cube-hindbert-devbert-pre-trained/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/joshi-2022-l3cube-hindbert-devbert-pre-trained/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / L3Cube-HindBERT and DevBERT: Pre-Trained BERT Transformer models for Devanagari based Hindi and Marathi Languages

# L3Cube-HindBERT and DevBERT: Pre-Trained BERT Transformer models for Devanagari based Hindi and Marathi Languages

Paper · 2022 · Raviraj Bhuminand Joshi

**Authors:** Raviraj Bhuminand Joshi · **Year:** 2022 · **Venue:** arXiv (Cornell University) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

arXiv (Cornell University) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [arXiv 2211.11418](https://arxiv.org/abs/2211.11418)

## Summary

A system trained on many languages gives Hindi and Marathi a useful starting point for tasks such as judging the sentiment of a review or identifying the people mentioned in a news article. But the existence of a multilingual starting point leaves a practical question open. If enough text is available in the target language, can further training on that text give better results? Earlier work on Marathi gave the authors reason to expect that it could. The Hindi systems available to them had yet to show a similarly convincing advantage. The question mattered for [low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/) because large collections of ordinary text and enough labeled examples to train a particular task are different kinds of resources.

The authors adapt existing multilingual systems in different ways. For the HindBERT family, they continue training on roughly 1.8 B Hindi tokens. For the DevBERT family, they use roughly 2.5 B tokens of Hindi and Marathi together. Both languages use the Devanagari script, and the authors want to see whether one pretrained system can serve both. They then use labeled data to fit each system to the task being tested, a stage known as [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/). The tasks are assigning an overall sentiment to a review or tweet and identifying categories such as people and places in text, respectively examples of [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) and [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/).

The reported comparisons favor the Hindi-only family on the Hindi datasets. The authors also report that the joint family improves on the multilingual baselines in both languages and edges ahead of the established Marathi-specific MahaBERT on the Marathi tasks. The results therefore support different choices depending on which languages a pretrained system needs to serve. The strongest reported Hindi results come from Hindi-only adaptation, while DevBERT provides a competitive starting point for work in either language. These are findings about the evaluated tasks and training setups. The comparison changes the amount and composition of the training text together, so it cannot isolate the contribution of a shared script.

The releases go beyond the systems that produced those findings. The authors make available Hindi, Marathi and joint Hindi–Marathi versions trained from scratch with custom tokenizers. They also release systems for 9 other Indic languages. They leave evaluation of the from-scratch versions and exhaustive testing of the additional language releases to future work. The empirical contribution centers on adapting established multilingual systems and testing the resulting Hindi and Marathi variants on labeled tasks.

## Deep dive: L3Cube-HindBERT and DevBERT: Pre-Trained BERT Transformer models for Devanagari based Hindi and Marathi Languages

How HindBERT and DevBERT adapt multilingual BERT for Hindi and Marathi, and what sentiment and entity recognition tests show about each approach. · about 31 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### How a language can have text and still lack task data

The paper addresses a mismatch between the text available in a language and the resources available for working with that text. A collection of Hindi writing can supply examples of how words occur together. A sentiment classifier needs something more specific: a way to tell whether a given piece of writing expresses a positive, negative or neutral judgment. An entity recognizer needs labels tied to the words it sees. Collecting text and assigning those labels are different undertakings. A language can have enough text for further training while the datasets for particular applications remain limited. The paper treats Hindi and Marathi as low-resource languages in this setting.

Pretraining uses ordinary text to establish a starting point for later tasks. The systems the authors discuss are based on the [Transformer and attention](https://md.research.elamur.ai/free/en/concepts/transformer/). The relevance of that architecture here is that a piece of text can be represented in relation to its surroundings. In masked pretraining, some of the input is hidden and the system learns from the problem of recovering it using the visible context. The text supplies the material to predict. A collection of this kind can therefore be used without first hiring annotators to identify a speaker's sentiment or distinguish a person from an organization. The learned parameters can then be reused when annotated examples become available. That division of work is central to the paper's use of a [language model](https://md.research.elamur.ai/free/en/concepts/language-model/).

Multilingual pretraining offers an established way to share this initial investment across languages. A system exposed to several languages may give a language with very little individual text a better starting point than it could get from its own text alone. The authors describe this as one reason for training multilingual systems and point to earlier work suggesting that related languages can benefit from being included together. They also cite work in which a dedicated system does better when there is enough text to support one. The practical question is how these considerations balance for the languages and tasks at hand.

The Hindi problem was therefore more specific than a lack of any pretrained system capable of reading Hindi. The authors identify multilingual options including MuRIL, IndicBERT and XLM-R, and they also mention multilingual BERT in their account of available resources. Earlier work had already released a dedicated Hindi system. The question was whether a publicly available Hindi-specific starting point could offer a persuasive improvement over multilingual alternatives. The paper takes Hindi's available text as a reason to try. It treats competitive downstream performance as something that must be checked separately.

#### What earlier language-specific work suggested

The authors regard their own line of Marathi work as a precedent. MahaBERT provided a Marathi-specific starting point, and the same effort released MahaRoBERTa and MahaAlBERT. As described in the paper, earlier studies had found these resources effective in classification and entity recognition. That experience suggested that specialization could make a difference on labeled tasks. It also gave the new study a meaningful comparison for Marathi. A joint Hindi–Marathi system would be of particular interest if it held its own against an option already adapted to Marathi.

The account of earlier Hindi work is more qualified. The authors cite a project that released dedicated systems for Hindi, Bengali and Telugu. In the paper's description, the Hindi and Bengali systems performed strongly on their respective classification tasks, yet the improvements relative to multilingual alternatives were marginal. Those observations can coexist. A system can achieve a strong benchmark result when the multilingual alternative is close behind. The authors' case for HindBERT rests on improving the practical case for Hindi specialization, given that a sufficiently large body of Hindi text was available to them.

The related work also describes dedicated Bengali and Telugu efforts. In the Bengali case, the authors report corpora of around 27.5GB and 40GB for separate projects. In the Telugu case, they describe a dedicated BERT effort based on around 8 million sentences and report that it performed well across multiple tasks. These quantities describe different units, so the paper does not use them to rank the projects by training scale. Their significance in the argument is that efforts to gather and use language-specific text were already underway for several Indic languages, and that there was precedent for taking the resulting systems through task evaluations.

HingBERT addressed a different definition of the target text. It was pretrained with Hindi mixed with [English](https://md.research.elamur.ai/free/en/topics/english/) in tweets, and the paper describes it as performing strongly on much of GLUECoS. Its relevance to the new work is the way a corpus can be chosen to match an intended kind of input. Hindi used together with English in tweets is a different training target from Hindi monolingual text. The HindBERT experiment adopts the latter target, while DevBERT deliberately broadens the language mix for a different reason.

#### Why the joint system is a separate question

Hindi and Marathi use Devanagari, which gives the authors a reason to bring their text together. They also describe the languages as closely related. The proposal concerns where to set the boundaries of a training corpus. A broadly multilingual system learns from many languages. A Hindi-specialized system concentrates the additional training on Hindi. A DevBERT system concentrates that stage on Hindi and Marathi together. It keeps the idea of sharing across languages while changing which languages supply the additional text.

A shared script is an observable property of the input. It makes the idea of learning jointly from the written forms plausible. Sentiment and entity labels, however, depend on how those forms are used in context. Seeing writing in a common script leaves open the question of whether one language's examples help with the other language's tasks. The authors turn that question into an evaluation by fitting the joint system to datasets in each language and comparing it with established alternatives.

The Hindi specialization and joint adaptation proposals consequently answer different practical questions. In the Hindi-only case, the issue is whether additional exposure to Hindi is useful enough to justify selecting a dedicated starting point. In the joint case, the issue is whether the same pretrained resource can remain competitive when separately applied to Hindi and Marathi tasks. A comparison against broad multilingual systems addresses the value of narrowing the focus. A comparison against a dedicated system addresses the possible cost or benefit of sharing between the selected languages.

This distinction also explains why the paper includes annotation at different levels. A resource meant to support language processing may be expected to help with complete documents or short messages and with decisions about words inside sentences. Those uses place different demands on the representations learned during pretraining. Testing sentiment and entity recognition gives the authors a way to examine both without expanding the study to every available task.

### The method, step by step

#### Begin with an existing multilingual system

The main experiments start from already trained multilingual systems. The authors use MuRIL as the starting point for the variants whose names end in BERT. They use XLM-RoBERTa for the RoBERTa variants and IndicBERT for the AlBERT variants. A starting point of this kind is frequently called a checkpoint: a saved set of learned parameters from which training can resume. The checkpoint brings knowledge acquired before the authors expose it to their selected text.

From each starting point, the authors build a Hindi version and a joint version. The MuRIL branch gives HindBERT and DevBERT. The XLM-RoBERTa branch gives HindRoBERTa and DevRoBERTa. The IndicBERT branch gives HindAlBERT and DevAlBERT. The names encode two independent distinctions that matter when reading the experiments. The prefix tells the reader which language mixture was used for the additional training. The rest of the name tells the reader which multilingual system supplied the initialization.

The shared naming pattern makes it possible to compare adaptation decisions within a family as well as across families. HindBERT and DevBERT have the same named source checkpoint, so the distinction between them centers on their continued training. Comparing HindBERT with DevRoBERTa changes the source checkpoint as well as the corpus. That comparison may help someone choose a system for a task, but its outcome combines several differences. The family structure matters because those comparisons answer different questions.

From multilingual checkpoints to Hindi and Marathi evaluations The steps in order.

#### Choose the text for continued pretraining

The Hindi branch uses publicly available monolingual Hindi datasets. The authors describe the training material as roughly 1.8 B Hindi tokens. Here a token is a unit in a processed sequence of text. Depending on how text is segmented, a written word can be represented as one unit or broken into pieces. The paper gives the scale in tokens, which is the useful unit for describing the material presented to the system. This part of preprocessing is called [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/).

For the joint branch, the authors bring together monolingual Hindi and Marathi data. They describe the resulting training material as roughly 2.5 B Devanagari tokens. The term joint refers to the corpus and to the pretrained resource produced from it. The description is of written material from each language in the additional training stage. A translation dataset would organize the material around paired expressions of the same content. The paper describes monolingual collections as the ingredients of the joint corpus.

The two reported scales are important because corpus choice is the intervention under study. A Hindi checkpoint receives training focused on Hindi. A DevBERT checkpoint receives training on a larger corpus that includes Marathi. The larger total tells a reader the scale of the joint effort. It does not establish how often examples from each language appeared during training. The authors do not specify a language sampling schedule or give a separate Marathi token count for the joint corpus. The totals describe the reported corpora and should be read at that level.

The distinction between corpora and labels applies here as well. In the continued pretraining stage, the collections provide examples of language in context. They do not have to provide answers to the eventual evaluation questions. The movie review dataset and the news entity dataset have a different role later in the pipeline. Their labels determine what counts as a correct response on a specific task. The scale of the pretraining text and the number of labeled cases describe separate parts of the experiment.

#### Adapt the checkpoint before fitting the task

The authors refer to their use of the multilingual systems on monolingual corpora as fine-tuning. It is helpful to distinguish that stage from the later use of labeled examples. In the first stage, the authors continue language pretraining with a selected corpus. The objective belongs to the general masked pretraining framework the paper introduces. In the second stage, the task determines what the output should represent. For sentiment, the answer is the class assigned to a review or tweet. For entity recognition, the system must make decisions at particular positions in the text.

Masked prediction gives a concrete way to understand what can change during the first stage. When a token is hidden, the system has the remaining text as evidence. By seeing more contexts from Hindi, a multilingual starting point can be adjusted using patterns from Hindi writing. The joint version receives this kind of additional evidence from both Hindi and Marathi. This explains the purpose of the intervention. The downstream tests investigate whether the changes brought about by that intervention are useful once the system is trained to make different kinds of decisions.

The paper identifies the training and fine-tuning settings by pointing to the earlier MahaBERT study. It says it follows the same hyper-parameter setup. Hyper-parameters are choices that govern training, distinct from the parameters learned from the text and labels. The source checkpoints, adaptation corpora and downstream datasets establish the main experimental recipe. The paper does not enumerate the individual hyper-parameter values in its description of that recipe, so it gives a route to the training details through the earlier study.

After the continued pretraining stage, the evaluation narrows the problem to a particular dataset. A checkpoint can provide the initial representation for recognizing sentiment in a Hindi movie review. With different labeled data it can supply the initial representation for recognizing entities in Hindi sentences. These uses share an earlier training history. The labels and the outputs expected in each experiment are specific to the task.

DevBERT's claim to serve both languages is also a claim about the resource before task fitting. A joint checkpoint can be the starting point for one experiment in Hindi and another in Marathi. The paper evaluates it in this sense. The authors use Hindi and Marathi task datasets and compare the performance of the resulting task systems. Their design gives evidence for reuse of the same pretrained foundation. It leaves open how a single task-specific system would behave if it were asked to handle both languages in the same evaluation.

#### Keep the from-scratch releases distinct

The authors also train MahaBERT-scratch, HindBERT-scratch and DevBERT-scratch. Training from scratch changes the starting point because the new training run does not begin with the multilingual parameters used in the main experiments. The authors also train custom tokenizers for these versions. A learned tokenizer determines how written input will be split into the units that the training procedure can work with. Changes to that segmentation and changes to the learned parameters are separate aspects of a new system.

These releases create a different line of work from the main comparisons. The adapted checkpoints ask whether existing multilingual representations can be improved for particular languages by continuing training. The scratch versions offer systems whose parameters are learned anew. A comparison between them would need downstream scores from both lines and enough detail about the training conditions to interpret a difference. The authors explicitly defer evaluation of the scratch versions.

The authors distribute the checkpoints through Hugging Face. The scope of the release increases further after the Hindi and Marathi comparison. The paper describes releases for Assamese, Kannada and Punjabi, as well as for Odia, Gujarati and Malayalam. The remaining releases are for Telugu, Bengali and Tamil. Custom-tokenizer scratch versions are also released for Gujarati, Kannada, Malayalam and Telugu. This resource contribution is broader than the Hindi and Marathi test program, and the paper leaves exhaustive assessment of the additional language releases open.

### Experiments and results

#### What the Hindi datasets ask the systems to do

IITP Movie Reviews tests whether a system can assign a sentiment to a Hindi movie review. Each case has one of the labels positive, negative or neutral. The unit of prediction is the review as a whole. Words may carry evaluative information, but the output the benchmark expects is a decision about the sample. A system can therefore make use of its representations of words and phrases while being graded on the overall judgment those representations support.

The authors report 2479 training samples, 309 validation samples and 309 test samples in IITP Movie Reviews. The split gives those examples distinct roles. Training cases supply the labels from which a task-specific predictor can learn. A validation split provides examples for development decisions. A test split provides a separate set on which to assess predictions. The paper specifies the counts for each split. Its headline discussion concentrates on the relative performance of the pretrained starting points.

The other Hindi test is WikiAnn Hindi NER. The authors describe 11,833 sentences for this dataset and identify Person, Organization and Location as its entity categories. The number is for the sentence collection. The prediction problem takes place inside the sentences. A system has to attach the appropriate type to a name in context, which is more localized than assigning sentiment to a complete review. A useful representation must preserve information about where in the text the relevant evidence occurs.

The tasks also differ in what a successful prediction says about the underlying language processing. Correctly labeling a review tells us that the system reached the expected overall decision. A correct entity prediction ties a label to a particular part of the text. The test can therefore expose differences that a document-level decision would not reveal. Since both tasks are in Hindi, the authors can check whether the direction of the adaptation result recurs across different output types and different datasets. The evaluations still leave the reasons for individual errors open.

#### What the Marathi datasets ask the systems to do

The sentiment task for Marathi uses L3Cube-MahaSent, a dataset of tweets. It uses the same categories as IITP Movie Reviews: positive, negative and neutral. The material the system reads is different. The Marathi examples are tweets and the Hindi examples are movie reviews. Each benchmark therefore supplies a language and a domain together. A comparison of adaptation methods on the same dataset can hold that domain fixed. A comparison of raw accuracy across the two datasets would mix differences in language and material with any differences between the systems.

The paper reports 2114 training samples, 2250 test samples and 1500 validation samples for MahaSent. This arrangement gives a reader a sense of the labeled data available for supervised adaptation and the separate data set aside for development and evaluation. It also matters when interpreting the scale of the experiments. The amount of text used to adapt the checkpoints is measured in tokens. The training split for this task is measured in labeled tweets. The two kinds of counts explain why the study continues pretraining before fitting a task with labels.

L3Cube-MahaNER provides Marathi entity recognition material from news. It contains 25k sentences and uses 8 entity categories. The article describes the tokens as the units that receive the annotation. This dataset gives the joint checkpoint a second kind of Marathi test, in addition to classifying whole tweets by sentiment. It also broadens the set of labels used in the study beyond the person, organization and location categories named for WikiAnn Hindi NER. The paper does not list the MahaNER categories in its description of the benchmark, so the count characterizes the size of the label inventory.

The Marathi comparisons thus change domain as well as task when moving between sentiment and entity recognition. MahaSent asks for decisions about complete messages drawn from tweets. MahaNER asks for decisions inside text drawn from news. Results that move in the same direction on these evaluations show that the reported advantage appears under more than one condition. The varied conditions also mean that looking from one task to the other cannot reveal which feature of the data is responsible for a difference in performance.

#### How the systems are scored and compared

The sentiment comparisons use classification accuracy. In this setting, accuracy expresses the share of review or tweet predictions that match the assigned labels. It makes each example contribute to the overall result. It therefore provides a straightforward way to compare systems on the same split, while leaving the success rate for individual labels unspecified. For example, movement in overall accuracy cannot by itself reveal whether positive, negative and neutral cases all became easier.

For WikiAnn Hindi NER and L3Cube-MahaNER the caption identifies macro-F1 as the metric. F1 combines precision and recall. Precision concerns how often the entities predicted by the system are correct, while recall concerns how many of the annotated entities it recovers. Macro-averaging gives the categories equal influence when their scores are combined. This gives the aggregate a different interpretation from classification accuracy. To explain a change in macro-F1, one would still need to know which categories changed and whether their scores moved through precision, recall or both.

The differences in output and metric make comparisons within a benchmark the most direct evidence. A higher accuracy on a given sentiment dataset means more of its predictions matched the benchmark labels. A higher macro-F1 on a given entity dataset indicates a better aggregate balance of precision and recall under its scoring procedure. The numerical values of these metrics would describe different things even if they used the same scale. The paper's case for adaptation therefore depends on the direction of comparisons inside each benchmark.

MuRIL, IndicBERT and XLM-R are the multilingual alternatives emphasized in the results. They matter both as practical baselines and because the adapted families originate from them. A comparison between a multilingual checkpoint and a descendant evaluates the use of further training for a more focused application. A comparison among the descendants evaluates choices that are available after that further training. On Marathi, MahaBERT adds a different baseline. It tests whether joint adaptation can compete with a resource already designed around Marathi.

The paper identifies the task metrics in its results table caption and gives the directions of the main comparisons in its discussion. The discussion does not state the individual accuracy or macro-F1 scores. The descriptions of the datasets do give exact counts for the sentiment splits. The chart marks the larger of the reported sentiment training splits. Higher in this comparison means more labeled examples available in that split.

Labeled training samples for the IITP Movie Reviews and MahaSent sentiment evaluations The Hindi movie review benchmark has the larger labeled training split.

**The numbers**

| System or setting | training samples |
| --- | --- |
| L3Cube-MahaSent, Marathi tweet sentiment | 2114 |
| IITP Movie Reviews, Hindi review sentiment (this paper) | 2479 |

#### What the reported rankings establish

On Hindi, the authors report that the HindBERT family performs better than the multilingual alternatives and the joint DevBERT family. The comparison with the multilingual baselines addresses the motivating problem: the authors found a way to obtain a competitive Hindi-specific starting point by adapting existing checkpoints to Hindi text. The comparison against DevBERT adds a more focused result. For the Hindi tasks they evaluated, including Marathi in the adaptation corpus was associated with a weaker outcome than specializing the adaptation stage in Hindi.

IITP Movie Reviews supplies the evidence for the Hindi sentiment side of that comparison, measured by accuracy. WikiAnn Hindi NER supplies the evidence for the Hindi entity recognition side, measured by macro-F1. Because the evidence comes from each kind of task, the result has a broader basis than a single sentiment benchmark would provide. The precise size of the advantage for each pairing cannot be recovered from the directional description. Its direct implication is about the ranking reported by the authors.

DevBERT still has a positive result on Hindi in a different comparison. The authors describe the joint family as better than the multilingual alternatives on both languages' datasets. That places the Hindi outcome between the comparisons the paper cares about: concentrating on Hindi produced the preferred Hindi family, and concentrating on Hindi and Marathi still produced a competitive resource for Hindi. The broader coverage offered by the joint checkpoint is the stated reason that its authors regard it as desirable in spite of the Hindi-only family's advantage on Hindi.

On Marathi, the authors say that DevBERT performs better than the multilingual systems and marginally better than MahaBERT. The sentiment evidence comes from the MahaSent accuracy comparison. The entity evidence comes from the MahaNER macro-F1 comparison. MahaBERT's role is particularly informative here. Beating a general multilingual baseline shows that the joint checkpoint can improve on a resource with a wider language scope. The comparison with a dedicated Marathi alternative addresses a more demanding question about whether a joint checkpoint can preserve a strong level of performance for Marathi.

The word *marginally* is the authors' qualitative characterization of the Marathi comparison. It supplies a sense of how they view the result, with no score gap or uncertainty estimate attached in the discussion. It is enough to state that they report a slight advantage over MahaBERT. It leaves questions about stability and practical importance unresolved. The same care applies to the paper's broader description of gains over multilingual systems. The available account establishes the authors' conclusion about direction and competitiveness without supporting a numerical claim about the size or reliability of each gain.

Taken together, the comparisons show why the paper presents both resources. HindBERT addresses the immediate need for a strong Hindi starting point. DevBERT shows that a checkpoint adapted with Hindi and Marathi together can be useful across both evaluation programs. The paper demonstrates this by reusing the checkpoint for separately fitted downstream tasks. The results describe those uses of the pretrained checkpoint, including an advantage over broad multilingual alternatives as reported by the authors.

### What the ablations show

The paper reports no formal ablation study. Its main analyses are comparative evaluations of different pretrained starting points. They show which configurations the authors prefer on the tasks they test and give clues about the value of adaptation. An ablation would remove or change a component under conditions chosen to isolate its contribution. Here some comparisons share an initialization, but the corpus conditions vary in multiple ways. This makes the analyses useful for assessing the resulting systems while limiting what they can reveal about mechanisms.

#### Additional Hindi training versus a multilingual starting point

The comparison between the Hindi family and the multilingual baseline is the closest to asking what changes when a system receives extra exposure to Hindi. For each corresponding pair, the multilingual checkpoint supplies the initial parameters. The Hindi descendant then undergoes continued pretraining with Hindi text. The benchmark supplies the same prediction problem for the systems being compared. The authors' account favors the adapted Hindi family on the movie review and entity recognition tasks.

The comparison supports the procedure of further Hindi adaptation as a package. This procedure adds both a training stage and a particular choice of text. A result in favor of the adapted descendant provides evidence for using that package on these benchmarks. To judge the separate contribution of the choice of text, a comparison would need a checkpoint that received comparable additional training with differently composed text. The reported baselines answer the practical question of whether the Hindi descendant improves on the starting options, without that additional control.

The recurrence of the reported advantage across sentiment and entity recognition is also useful as an analysis of scope. The task outputs differ, so a pattern repeated across them is harder to describe as specific to the act of assigning a sentiment label. It remains possible for the underlying reasons to differ between benchmarks. For instance, the paper does not analyze which sentences changed outcome or which kinds of input became easier after specialization. The repeated ranking is evidence about where the resulting checkpoints did well.

#### Joint training versus dedicated training

Comparing HindBERT with DevBERT for Hindi holds the language of the evaluation fixed. The corpus composition is the major change in the adaptation stage that the paper describes, and the authors find the Hindi-focused family preferable on the Hindi tasks. That finding is consistent with the idea that concentrating the added training on Hindi helps those tasks. The larger joint corpus and the unspecified language balance also matter. The comparison therefore cannot show whether the observed ranking comes from the presence of Marathi, the amount of Hindi exposure, or another consequence of how continued pretraining was carried out.

On Marathi, MahaBERT gives the joint resource a dedicated point of comparison. The narrow lead reported for DevBERT shows that adaptation to both languages can produce a checkpoint competitive with a Marathi-specific alternative on these tests. It gives no independent estimate of the benefit of adding Hindi to Marathi training. To obtain that estimate, the relevant comparison would have to identify a change in Hindi exposure while holding the other training conditions in view. MahaBERT is a meaningful practical baseline even though the comparison is not described as such a controlled intervention.

Read across the languages, the evidence helps explain the authors' decision to release both a focused and a joint family. A Hindi evaluation can favor Hindi specialization while a joint resource still serves both sets of tasks successfully. These findings concern the same family of adaptation choices, but they should not be summarized as a single ordering that applies independently of the language or benchmark. Each ordering comes from a common task with a specific dataset and metric.

#### The role of the source checkpoints

The experiment extends beyond one starting architecture by using MuRIL, XLM-RoBERTa and IndicBERT. This makes the recipe broader than a single Hindi descendant and a single joint descendant. The names identify what to hold fixed when interpreting a particular family comparison. HindRoBERTa and DevRoBERTa, for instance, come from the same named multilingual source. The Hindi and joint versions of that family make a more focused pair for discussing corpus choice than two variants with different source checkpoints.

Comparing across families changes the starting systems and their prior training along with any differences in how they use new data. A result across such families may be helpful evidence that the recipe is applicable in several settings. It cannot isolate the effect of a particular architectural choice. The paper's reported family-level conclusions are accordingly more informative about the two adaptation strategies than about which architectural properties explain their outcomes. The scratch releases offer another possible comparison, with a changed initialization and custom tokenization, for which the authors leave the experiment open.

The paper also does not inspect the representations or report errors organized by input type. The shared script motivates the joint training experiment. Downstream performance is the measurement the authors use to assess it. This supports a conclusion about the usefulness of the evaluated checkpoint. It leaves the process by which useful information is shared between Hindi and Marathi as a question for more focused analysis.

### Limitations

#### Limits the authors identify

The authors explicitly reserve evaluation of the from-scratch systems for future work. The restriction matters because their releases include the Marathi-only, Hindi-only and joint versions with custom tokenizers. Their measured claims are about the descendants of the multilingual checkpoints used in the main experiments. The released scratch versions provide another way to train for these languages, but their presence in the same project gives no downstream evidence about how that way compares.

The conclusion also defers exhaustive evaluation of the additional Indic language releases. These releases follow the authors' experience with Hindi and Marathi and extend the availability of language-specific checkpoints. The experiments described in the paper concern Hindi and Marathi benchmarks. Those experiments provide a rationale for trying the approach on other languages, while performance in each new language remains a separate empirical question. The additional scratch versions have the same stated evaluation gap as the Hindi, Marathi and joint scratch systems.

The paper acknowledges a tradeoff within its evaluated results. For Hindi, the authors favor the dedicated family. They see the joint family as desirable because one pretrained checkpoint works competitively for both languages. A claim about reuse can be valuable even when the best result on one set of tasks belongs to a specialized system. By stating which family does better on Hindi, the authors set a boundary on what their joint-training result can claim.

Their experimental description also places the hyper-parameter details in earlier work. The paper identifies the source of the setup and describes the data choices that distinguish the new variants. A reader seeking to reconstruct the runs would need the earlier setup as well as the details specific to these corpora. The result is a clear account of the intended comparison with a less complete account of the individual training runs as standalone procedures.

#### What the comparisons cannot separate

An inference from the setup is that the paper cannot assign its results specifically to Devanagari. The experiment with shared-script languages shows that joint training is feasible and gives a competitive outcome on the examined tasks. It does not include a comparison designed to vary script while retaining the other relevant properties of the languages and data. Hindi and Marathi share a script and are described by the authors as related. Their joint corpus also differs from the Hindi-only corpus in size and composition. Those facts make several interpretations of the advantage compatible with the results.

The token counts likewise establish scale without cleanly isolating the effect of corpus size. The reported total for Hindi-only adaptation is approximately 1.8 B tokens. The reported total for joint adaptation is roughly 2.5 B tokens. The comparison between these setups changes the language mixture at the same time. A size-matched comparison would address a different question: what happens when training sees a different mixture at a comparable scale? The paper reports the systems that result from the corpora the authors selected. That is sufficient to assess the reported end products and insufficient to estimate an independent effect for size.

The relationship between training mix and transfer direction is also open. DevBERT's reported Marathi advantage over MahaBERT is compatible with a benefit from joint exposure. It does not identify how much of an improvement is due to Hindi text, or which kinds of Marathi predictions would benefit from it. Likewise, HindBERT's stronger Hindi result cannot establish that Marathi examples themselves impair Hindi performance. Both judgments would require more information about the effective exposure to each language, along with a comparison designed around the particular transfer question.

The comparison with the original multilingual checkpoints introduces a related limitation. Descendants have received more training on focused corpora by the time they are evaluated. Their results answer whether the additional adaptation as performed is worthwhile on the benchmarks. An explanation based on target-language focus alone would need to distinguish that factor from the extra updates supplied by the continued pretraining stage. The main experiments provide a baseline for the new resource, and they leave the relative contributions of focus and additional training undetermined.

#### How far the benchmarks reach

A second inference concerns coverage. Sentiment classification and entity recognition give complementary evidence, yet they still cover a limited range of uses. The Hindi sentiment task is about films, and the Marathi sentiment task is based on tweets. The Marathi recognition task uses news. The Hindi recognition task comes from WikiAnn and uses its own entity inventory. For a given test, systems face the same dataset. Across tasks and languages, the domains, labels and metrics change together. The paper's comparisons support claims tied to the benchmark on which they were made.

The entity inventories illustrate why cross-language scores would require care. WikiAnn Hindi NER names Person, Organization and Location. MahaNER uses 8 entity categories. Macro-F1 gives categories equal weight within an evaluation, but each dataset determines which categories contribute and how they are annotated. A score on one cannot on its own serve as a common yardstick for the other language. An appropriate comparison for the paper's purpose is whether adapting the same kind of starting point helps within each benchmark.

The sentiment tasks have matching class names, which can make the datasets look more interchangeable than they are. A label such as neutral performs the same broad role in both tasks, but the text the system receives comes from different kinds of writing. The amount of labeled training data available differs, and the splits are organized differently. Without a matched evaluation, an outcome on one language's sentiment data cannot be used to assign a performance difference to language alone.

The aggregate metrics also limit explanations at the level of examples. Overall accuracy does not show whether all sentiment categories improved or whether an improvement arose largely from cases in a particular class. Macro-F1 does not identify which entity labels the system handles well without their separate scores. A representation that helps with some names or some reviews can move the aggregate without improving every kind of case. The reported metrics suit benchmark comparisons, while the absence of a detailed error analysis leaves those narrower claims open.

The paper's numerical reporting in the results discussion limits judgments about the size and stability of the effects. The discussion identifies advantages over the multilingual baselines and calls the DevBERT advantage over MahaBERT marginal. It gives neither individual scores nor a measure of variation across repeated runs in that discussion. The wording supports a report of relative performance as described by the authors. It cannot establish how frequently a slight advantage would recur under different training runs or whether a particular change would be large enough to matter in use.

#### What it means for one checkpoint to serve both languages

DevBERT is a shared pretrained resource. The reported evaluation demonstrates its use as a starting point for separate downstream problems in Hindi and Marathi. That distinction sets the scope of the efficiency claim implicit in sharing. Someone can start from the same checkpoint for each problem. The paper does not measure how much training time this saves, what it costs to run the downstream systems, or how the approach behaves when both languages must be handled by the same already fine-tuned predictor.

Transfer to a task in one language after training the task itself only in the other is another distinct question. The datasets in this study provide a way to evaluate a pretrained resource through labeled tasks in their respective languages. The report gives no result for withholding Marathi task labels while trying to perform Marathi recognition using Hindi task training, or for performing the analogous test in the other direction. A claim about this kind of transfer would need a different training and evaluation arrangement.

The same reasoning applies to Devanagari beyond Hindi and Marathi. The joint corpus and the evidence from downstream tasks concern those languages. The project name captures the motivation for the shared corpus, but a common writing system alone does not establish how well the checkpoint will serve additional languages or different types of language use. The paper's result is that a jointly adapted starting point works competitively on the tested tasks in the languages the authors put into that adaptation.

### What came after

The later citations extend across research on language-specific pretraining, dialect-level speech tasks and shared-task work. A citation establishes that a later study refers to the HindBERT and DevBERT paper. The titles give additional context about the problems those studies address. They do not establish which checkpoints the studies use or whether they test the same adaptation recipe. The clearest comparison is available where a later title describes a new pretraining corpus and system for another target language.

MaiBERT addresses Maithili by presenting a pretraining corpus and a language model for it. That combination places the work close to the Hindi-specialization side of the earlier paper. HindBERT asks what can be gained from concentrating continued training on Hindi text. MaiBERT's title identifies the provision of a corpus and a dedicated system as part of making progress on Maithili. In both cases, a language-specific collection is a resource in its own right because it makes targeted pretraining possible. This connection describes their research aims. The citation and title alone give no evidence that the later work starts from HindBERT or DevBERT or reproduces their task comparisons. [MaiBERT](https://md.research.elamur.ai/free/en/papers/yadav-2026-maibert-pre-training-corpus-language/)

The CUET_InferX study concerns a shared task in Tamil involving dialect-based speech recognition and classification. The connection is at the level of taking language coverage seriously as a design choice. HindBERT and DevBERT draw boundaries around the languages selected for text pretraining. A Tamil dialect task brings variation within one language to the center of the evaluation and does so with spoken input. The title identifies recognition and classification as the problems it addresses. It leaves open which components draw on the cited paper and how their use affects the entries, if at all. The citation therefore places the earlier work in a later study whose application area is [speech and spoken language](https://md.research.elamur.ai/free/en/topics/speech/). [CUET_InferX at DravidianLangTech](https://md.research.elamur.ai/free/en/papers/semon-2026-cuet-inferx-dravidianlangtech-2026-shared/)

The CUET NLP Manning LT-EDI entry supplies a further citation. Its identifying name connects it to LT-EDI, but it does not specify a task, a dataset, or how the researchers used the cited work. The connection that can be established is the citation itself. More detailed claims about use of a Hindi checkpoint, a Devanagari checkpoint, or a result based on either would require an account of the later study's method. [CUET NLP Manning LT-EDI](https://md.research.elamur.ai/free/en/papers/alam-2024-cuet-nlp-manning-lt-edi/)

The line from HindBERT to a project such as MaiBERT is most concrete at the level of resource design. A dedicated pretraining corpus makes it possible to ask what targeted exposure contributes for a language. DevBERT adds the possibility of grouping languages for that stage when there is a reason to expect useful sharing. The later citations show those questions sitting alongside other decisions about language coverage, including which varieties to evaluate in speech. Whether joint adaptation helps in any of those later settings depends on the corpora, training conditions and task comparisons of the later study.

## Cite

Cite as Raviraj Bhuminand Joshi. 2022. L3Cube-HindBERT and DevBERT: Pre-Trained BERT Transformer models for Devanagari based Hindi and Marathi Languages. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2211.11418](https://doi.org/10.48550/arxiv.2211.11418) · [arXiv 2211.11418](https://arxiv.org/abs/2211.11418)

```bibtex
@misc{joshi2022l3cube,
  title = {{L3Cube-HindBERT and DevBERT: Pre-Trained BERT Transformer models for Devanagari based Hindi and Marathi Languages}},
  author = {Raviraj Bhuminand Joshi},
  year = {2022},
  doi = {10.48550/arxiv.2211.11418},
  eprint = {2211.11418},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2211.11418}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
