LumiOpen / llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva

huggingface.co
Total runs: 85
24-hour runs: 0
7-day runs: 2
30-day runs: 12
Model's Last Updated: August 26 2025

Introduction of llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva

Model Details of llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva

Llama-HPLT-edu-Hindi classifier

Model summary

This is a classifier for judging the educational content of Hindi (hin-Deva) web pages. It was developed to filter educational content from HPLT v2 and was trained on 450k annotations generated by LLama3.3-70B-instruct . The web pages were sampled randomly from Hindi subset of the corpus.

How to load in transformers

To load the Llama-HPLT-Edu classifier, use the following code:

from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("LumiOpen/llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva")
model = AutoModelForSequenceClassification.from_pretrained("LumiOpen/llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva")
text = "I'm non-educational web page containing nothing useful"
inputs = tokenizer(text, return_tensors="pt", padding="longest", truncation=True)
outputs = model(**inputs)
logits = outputs.logits.squeeze(-1).float().detach().numpy()
score = logits.item()
result = {
    "text": text,
    "score": score,
    "int_score": int(round(max(0, min(score, 5)))),
}
print(result)
#results from a model trained with Welsh annotations
#{'text': "I'm non-educational web page containing nothing useful", 'score': 0.8145455718040466, 'int_score': 1}
#{'text': 'what are most common animals found in farm? there are cows, sheeps', 'score': 1.6858888864517212, 'int_score': 2}
Training
  • Model: FacebookAI/xlm-roberta-large with a classification head
  • Dataset: 500,000 samples from Llama3.3 annotations split into 450,000 train, 25,000 validation, and 25,000 test splits.
  • Epochs: 20
  • Learning Rate: 3e-4
  • Evaluation Metric: F1 score
Test Metrics

              precision    recall  f1-score   support

           0       0.80      0.62      0.70       8479
           1       0.62      0.69      0.65       9926
           2       0.42      0.59      0.49       3751
           3       0.34      0.37      0.36       1604
           4       0.70      0.21      0.32       1191
           5       0.19      0.20      0.19       49

    accuracy                           0.61      25000
   macro avg       0.51      0.45      0.45      25000
weighted avg       0.64      0.61      0.61      25000
Citing

Preprint coming soon. If you need to cite this work, please use the citation below:

@misc {llama_hplt_edu_classifiers_2025,
    author       = { Tarkka, Otto, Reunamo, Akseli, Vitiugin, Fedor and Pyysalo, Sampo }
    title        = { Llama-HPLT-edu classifiers },
    year         = 2025,
    url          = {https://huggingface.co/collections/LumiOpen/hplt-edu-classifiers-68a85a78f9710426320e7cbb},
    publisher    = { Hugging Face }
}

Runs of LumiOpen llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva on huggingface.co

85
Total runs
0
24-hour runs
-2
3-day runs
2
7-day runs
12
30-day runs

More Information About llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva huggingface.co Model

More llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva license Visit here:

https://choosealicense.com/licenses/apache-2.0

llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva huggingface.co

llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva huggingface.co is an AI model on huggingface.co that provides llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva's model effect (), which can be used instantly with this LumiOpen llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva model. huggingface.co supports a free trial of the llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva model, and also provides paid use of the llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva. Support call llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva model through api, including Node.js, Python, http.

llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva huggingface.co Url

https://huggingface.co/LumiOpen/llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva

LumiOpen llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva online free

llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva huggingface.co is an online trial and call api platform, which integrates llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva's modeling effects, including api services, and provides a free online trial of llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva, you can try llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva online for free by clicking the link below.

LumiOpen llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva online free url in huggingface.co:

https://huggingface.co/LumiOpen/llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva

llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva install

llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva is an open source model from GitHub that offers a free installation service, and any user can find llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva on GitHub to install. At the same time, huggingface.co provides the effect of llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva install, users can directly use llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva install url in huggingface.co:

https://huggingface.co/LumiOpen/llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva

Url of llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva

llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva huggingface.co Url

Provider of llama-hpltv2-edu-classifier-xlm-roberta-large-hin-Deva huggingface.co

LumiOpen
ORGANIZATIONS

Other API from LumiOpen

huggingface.co

Total runs: 530
Run Growth: -515
Growth Rate: -97.17%
Updated:June 12 2025
huggingface.co

Total runs: 412
Run Growth: -894
Growth Rate: -216.99%
Updated:May 16 2024
huggingface.co

Total runs: 210
Run Growth: -627
Growth Rate: -298.57%
Updated:July 02 2024
huggingface.co

Total runs: 105
Run Growth: -347
Growth Rate: -330.48%
Updated:March 19 2025