You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Jev Sindhi Fine-tune

A full-precision PyTorch fine-tune of shakeel143/jev-multilingual for structured sentiment and topic decisions in Sindhi.

This repository contains the original PyTorch model checkpoint, not the browser ONNX export.

Evaluation note: Training and evaluation examples are synthetic and have not been reviewed by native Sindhi annotators. Results are exploratory and do not establish real-world performance. The model has been evaluated only on sentiment and topic classification. Output scores are uncalibrated and should not be interpreted as probabilities of correctness.

What it does

The model scores options for structured sentiment and topic questions in Arabic-script Sindhi and Roman Sindhi.

It is a choice/decision model, not a text generator, and is not intended to be loaded as a standard AutoModelForSequenceClassification checkpoint.

Load it using the Jev Sindhi library.

  • Base checkpoint: shakeel143/jev-multilingual
  • Encoder family: mmBERT / ModernBERT
  • Encoder learning rate: 2.5e-5
  • Decision-head learning rate: 1e-4
  • Random seed: 0
  • Parameter count in the benchmark: approximately 322M

The checkpoint includes the encoder, decision head, tokenizer, and train_meta.json.

Evaluation report

The evaluation benchmark contains 300 synthetic examples:

  • 150 Arabic-script Sindhi
  • 150 Roman Sindhi
  • 120 sentiment examples
  • 180 topic examples

The fine-tuned checkpoint and the original base model were evaluated on the same benchmark examples.

A textual overlap scan against the available 619-row source corpus found no exact or near-duplicate matches. This scan does not guarantee semantic independence or rule out all forms of data leakage.

Model / slice Accuracy
Fine-tuned checkpoint, overall (n=300) 91.3%
Macro-F1, overall 91.0%
Arabic-script Sindhi (n=150) 94.7%
Roman Sindhi (n=150) 88.0%
Sentiment (n=120) 90.0%
Topic (n=180) 92.2%
Base jev-multilingual, overall (n=300) 66.3%
Fine-tuning validation split (n=57) 98.2% at epoch 2

Overall accuracy was 91.3% (95% bootstrap CI: 88.0โ€“94.3). Overall macro-F1 was 91.0% (95% bootstrap CI: 87.5โ€“93.8).

The highest recorded validation accuracy was 98.2% at epoch 2 on the 57-example validation split. This validation result is reported separately from the 300-example evaluation benchmark and should not be interpreted as an estimate of generalization performance.

The complete report, including task/script confusion matrices and methodology, is available in evaluation_report.md.

Usage

Install the package before importing it.

In Google Colab:

%pip install jev-sindhi

For a local terminal:

python -m pip install jev-sindhi

Then load the model:

import jev_sindhi

model = jev_sindhi.load()

print(
    model.sentiment(
        "ู‡ูŠ ุฎุฏู…ุช ุชู…ุงู… ุณูบูŠ ุขู‡ูŠ.",
        lang="sd"
    )
)

print(
    model.topic(
        "ู…ุฑูŠุถ ฺฉูŠ ุจุฎุงุฑ ุขู‡ูŠ.",
        lang="sd"
    )
)

The library defaults to this checkpoint and to Sindhi (lang="sd"), including Roman Sindhi text.

See library/README.md for installation and API details.

Limitations

  • Training and evaluation examples are synthetic and have not been reviewed by native Sindhi annotators.
  • The fine-tuning dataset is relatively small.
  • Roman Sindhi spelling variation may affect predictions.
  • Evaluation covers sentiment and topic classification only.
  • Performance on real-world, user-generated, regional, or domain-specific Sindhi text has not been established.
  • Output scores are uncalibrated and should not be interpreted as probabilities.
  • The model is not intended for high-stakes decisions.

Attribution and license

This model is fine-tuned from shakeel143/jev-multilingual.

The fine-tuned checkpoint uses the Jev decision architecture and the mmBERT / ModernBERT encoder family.

The upstream Jev model is the immediate base checkpoint for this release. The underlying mmBERT model is identified in its model card as MIT-licensed.

This repository is released under the Apache-2.0 license, as specified in the included LICENSE file.

Please refer to the upstream model card and license for the original model's terms and attribution requirements.

This release should be understood as a fine-tuned derivative of the upstream Jev model, not as a model trained from scratch.

Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
0.3B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for DanishMahdi/snd-jev

Finetuned
(1)
this model