abdulwaheed1
commited on
Commit
•
48bda5e
1
Parent(s):
d21968e
Update README.md
Browse files
README.md
CHANGED
@@ -13,7 +13,7 @@ This repository contains a fine-tuned mBART model for English to Urdu translatio
|
|
13 |
|
14 |
## Model Information
|
15 |
|
16 |
-
- **Model Name:** `
|
17 |
- **Base Model:** `facebook/mbart-large-50`
|
18 |
- **Tokenizer:** `facebook/mbart-large-50`
|
19 |
- **Source Language:** English (`en`)
|
@@ -25,7 +25,7 @@ python
|
|
25 |
from transformers import MBart50TokenizerFast, MBartForConditionalGeneration
|
26 |
|
27 |
# Load the fine-tuned model
|
28 |
-
model_name = "
|
29 |
tokenizer = MBart50TokenizerFast.from_pretrained(model_name, src_lang="en_XX", tgt_lang="ur_PK")
|
30 |
model = MBartForConditionalGeneration.from_pretrained(model_name)
|
31 |
```
|
|
|
13 |
|
14 |
## Model Information
|
15 |
|
16 |
+
- **Model Name:** `abdulwaheed1/english-to-urdu-translation-mbart`
|
17 |
- **Base Model:** `facebook/mbart-large-50`
|
18 |
- **Tokenizer:** `facebook/mbart-large-50`
|
19 |
- **Source Language:** English (`en`)
|
|
|
25 |
from transformers import MBart50TokenizerFast, MBartForConditionalGeneration
|
26 |
|
27 |
# Load the fine-tuned model
|
28 |
+
model_name = "abdulwaheed1/english-to-urdu-translation-mbart"
|
29 |
tokenizer = MBart50TokenizerFast.from_pretrained(model_name, src_lang="en_XX", tgt_lang="ur_PK")
|
30 |
model = MBartForConditionalGeneration.from_pretrained(model_name)
|
31 |
```
|