mahwizzzz / UrduParaphraseBERT

huggingface.co
Total runs: 6
24-hour runs: 0
7-day runs: 3
30-day runs: 2
Model's Last Updated: July 08 2023
text-generation

Introduction of UrduParaphraseBERT

Model Details of UrduParaphraseBERT

Urdu Paraphrasing Model

This repository contains a trained Urdu paraphrasing model based on the BERT-based encoder-decoder architecture. The model has been fine-tuned on the Urdu Paraphrase Dataset and can generate paraphrases for given input sentences in Urdu.

Model Description

The model is built using the Hugging Face Transformers library and is trained on the BERT-base-uncased model. It employs an encoder-decoder architecture where the BERT model serves as the encoder, and another BERT model is used as the decoder. The model is trained to generate paraphrases by reconstructing the input sentences.

Usage

To use the trained model for paraphrasing Urdu sentences, you can follow the steps below:

  1. Install the required dependencies by running the following command:
  2. Load the trained model using the Hugging Face Transformers library:
from transformers import EncoderDecoderModel, BertTokenizer

# Load the model and tokenizer
model = EncoderDecoderModel.from_pretrained("mwz/UrduParaphraseBERT")
tokenizer = BertTokenizer.from_pretrained("mwz/UrduParaphraseBERT")

def paraphrase_urdu_sentence(sentence):
    input_ids = tokenizer.encode(sentence, padding="longest", truncation=True, max_length=512, return_tensors="pt")
    generated_ids = model.generate(input_ids=input_ids, max_length=128, num_beams=4, no_repeat_ngram_size=2)

    paraphrase = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
    return paraphrase
sentence = "ایک مثالی روشنی کا مشہور نقطہ آبادی چھوٹی چھوٹی سڑکوں میں اپنے آپ کو خوشگوار کرسکتی ہے۔"
paraphrased_sentence = paraphrase_urdu_sentence(sentence)
print(paraphrased_sentence)

Runs of mahwizzzz UrduParaphraseBERT on huggingface.co

6
Total runs
0
24-hour runs
0
3-day runs
3
7-day runs
2
30-day runs

More Information About UrduParaphraseBERT huggingface.co Model

More UrduParaphraseBERT license Visit here:

https://choosealicense.com/licenses/mit

UrduParaphraseBERT huggingface.co

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

UrduParaphraseBERT huggingface.co Url

https://huggingface.co/mahwizzzz/UrduParaphraseBERT

mahwizzzz UrduParaphraseBERT online free

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

mahwizzzz UrduParaphraseBERT online free url in huggingface.co:

https://huggingface.co/mahwizzzz/UrduParaphraseBERT

UrduParaphraseBERT install

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

UrduParaphraseBERT install url in huggingface.co:

https://huggingface.co/mahwizzzz/UrduParaphraseBERT

Url of UrduParaphraseBERT

UrduParaphraseBERT huggingface.co Url

Provider of UrduParaphraseBERT 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: 98
Run Growth: 54
Growth Rate: 55.10%
Updated:October 02 2026
huggingface.co

Total runs: 42
Run Growth: 25
Growth Rate: 59.52%
Updated:October 02 2026
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: 13
Run Growth: 11
Growth Rate: 84.62%
Updated:November 27 2023
huggingface.co

Total runs: 11
Run Growth: -20
Growth Rate: -181.82%
Updated:July 19 2025
huggingface.co

Total runs: 6
Run Growth: 2
Growth Rate: 33.33%
Updated:May 29 2026
huggingface.co

Total runs: 4
Run Growth: 3
Growth Rate: 75.00%
Updated:November 04 2025
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