mahwizzzz / UrduClassification

huggingface.co
Total runs: 10
24-hour runs: 0
7-day runs: -3
30-day runs: -3
Model's Last Updated: March 03 2025
text-classification

Introduction of UrduClassification

Model Details of UrduClassification

UrduClassification

This model is a fine-tuned version of urduhack/roberta-urdu-small on the imdb_urdu_reviews dataset. It achieves the following results on the evaluation set:

  • Loss: 0.4703
Model Details
  • Model Name: Urdu Sentiment Classification
  • Model Architecture: RobertaForSequenceClassification
  • Base Model: urduhack/roberta-urdu-small
  • Dataset: IMDB Urdu Reviews
  • Task: Sentiment Classification (Positive/Negative)
Training Procedure

The model was fine-tuned using the transformers library and the Trainer class from Hugging Face. The training process involved the following steps:

  1. Tokenization: The input Urdu text was tokenized using the RobertaTokenizerFast from the "urduhack/roberta-urdu-small" pre-trained model. The texts were padded and truncated to a maximum length of 256 tokens.

  2. Model Architecture: The "urduhack/roberta-urdu-small" pre-trained model was loaded as the base model for sequence classification using the RobertaForSequenceClassification class.

  3. Training Arguments: The training arguments were set, including the number of training epochs, batch size, learning rate, evaluation strategy, logging strategy, and more.

  4. Training: The model was trained on the training dataset using the Trainer class. The training process was performed with gradient-based optimization techniques to minimize the cross-entropy loss between predicted and actual sentiment labels.

  5. Evaluation: After each epoch, the model was evaluated on the validation dataset to monitor its performance. The evaluation results, including training loss and validation loss, were logged for analysis.

  6. Fine-Tuning: The model parameters were fine-tuned during the training process to optimize its performance on the IMDb Urdu movie reviews sentiment analysis task.

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 500
  • num_epochs: 3
Training results
Training Loss Epoch Step Validation Loss
0.4078 1.0 2500 0.3954
0.2633 2.0 5000 0.4007
0.1205 3.0 7500 0.4703
Evaluation Results

The model was evaluated on an undisclosed dataset using a language modeling task. The evaluation results after 3 epochs of fine-tuning are as follows:

  • Evaluation Loss: 0.3954
  • Evaluation Runtime: 51.60 seconds
  • Average Samples per Second: 96.89
  • Average Steps per Second: 6.06
  • Epoch: 3.0
Framework versions
  • Transformers 4.30.2
  • Pytorch 2.0.0
  • Datasets 2.1.0
  • Tokenizers 0.13.3

Runs of mahwizzzz UrduClassification on huggingface.co

10
Total runs
0
24-hour runs
0
3-day runs
-3
7-day runs
-3
30-day runs

More Information About UrduClassification huggingface.co Model

More UrduClassification license Visit here:

https://choosealicense.com/licenses/mit

UrduClassification huggingface.co

UrduClassification huggingface.co is an AI model on huggingface.co that provides UrduClassification's model effect (), which can be used instantly with this mahwizzzz UrduClassification model. huggingface.co supports a free trial of the UrduClassification model, and also provides paid use of the UrduClassification. Support call UrduClassification model through api, including Node.js, Python, http.

UrduClassification huggingface.co Url

https://huggingface.co/mahwizzzz/UrduClassification

mahwizzzz UrduClassification online free

UrduClassification huggingface.co is an online trial and call api platform, which integrates UrduClassification's modeling effects, including api services, and provides a free online trial of UrduClassification, you can try UrduClassification online for free by clicking the link below.

mahwizzzz UrduClassification online free url in huggingface.co:

https://huggingface.co/mahwizzzz/UrduClassification

UrduClassification install

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

UrduClassification install url in huggingface.co:

https://huggingface.co/mahwizzzz/UrduClassification

Url of UrduClassification

UrduClassification huggingface.co Url

Provider of UrduClassification huggingface.co

mahwizzzz
ORGANIZATIONS

Other API from mahwizzzz

huggingface.co

Total runs: 345
Run Growth: 345
Growth Rate: 100.00%
Updated:December 26 2025
huggingface.co

Total runs: 47
Run Growth: 44
Growth Rate: 100.00%
Updated:September 10 2026
huggingface.co

Total runs: 30
Run Growth: 13
Growth Rate: 43.33%
Updated:July 19 2025
huggingface.co

Total runs: 25
Run Growth: 1
Growth Rate: 4.00%
Updated:March 03 2025
huggingface.co

Total runs: 24
Run Growth: 7
Growth Rate: 29.17%
Updated:February 19 2026
huggingface.co

Total runs: 18
Run Growth: 0
Growth Rate: 0.00%
Updated:July 11 2025
huggingface.co

Total runs: 17
Run Growth: 3
Growth Rate: 17.65%
Updated:May 24 2026
huggingface.co

Total runs: 13
Run Growth: 11
Growth Rate: 84.62%
Updated:November 27 2023
huggingface.co

Total runs: 4
Run Growth: 3
Growth Rate: 75.00%
Updated:November 04 2025
huggingface.co

Total runs: 4
Run Growth: -1
Growth Rate: -25.00%
Updated:May 29 2026
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:May 28 2025
huggingface.co

Total runs: 4
Run Growth: 2
Growth Rate: 50.00%
Updated:August 21 2023
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:April 23 2025
huggingface.co

Total runs: 3
Run Growth: 2
Growth Rate: 66.67%
Updated:June 25 2025
huggingface.co

Total runs: 2
Run Growth: 2
Growth Rate: 100.00%
Updated:January 02 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 04 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 07 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 18 2023
huggingface.co

Total runs: 0
Run Growth: -2
Growth Rate: 0.00%
Updated:April 06 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 24 2023