File size: 2,584 Bytes
5d24f36 6dd9e6e 8715c8a 5d24f36 2d0209f 8715c8a f9e73c6 2d0209f f9e73c6 5d24f36 8715c8a 5d24f36 683ac3b 5d24f36 683ac3b 5d24f36 683ac3b 5d24f36 683ac3b 5d24f36 683ac3b 5d24f36 683ac3b 5d24f36 9262324 5d24f36 683ac3b 5d24f36 683ac3b 5d24f36 683ac3b 5d24f36 ddbd97d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
---
library_name: transformers
license: mit
datasets:
- Helsinki-NLP/opus-100
---
- **Developed by:** Pirai AI Team
- **Model type:** Sequence-to-Sequence (Seq2Seq) Model
- **Language(s) (NLP):** English and Bahasa Melayu
# Inference
```python
import time
import torch
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("PiraiAI/fine-tuned-bahasa-melayu-2L")
model = AutoModelForSeq2SeqLM.from_pretrained("PiraiAI/fine-tuned-bahasa-melayu-2L")
```
## Uses
### Direct Use
This model can be used directly to translate text from English to Bahasa Melayu and vice versa. It is suitable for applications in translation services, bilingual communication tools, and other language processing tasks.
### Downstream Use
When fine-tuned for specific translation tasks or integrated into larger systems, this model can be applied in various multilingual applications, such as automated customer support systems, language learning tools, and content localization.
### Out-of-Scope Use
The model is not designed for tasks outside of translation between English and Bahasa Melayu. It may not perform well for other language pairs or for tasks requiring non-translation text processing.
## Bias, Risks, and Limitations
Biases
The model may reflect biases present in the training data, which could affect translation quality and accuracy, particularly in handling culturally sensitive or nuanced content.
Risks
Misinformation: Inaccurate translations could lead to misunderstandings or dissemination of incorrect information.
Cultural Sensitivity: The model may struggle with context-specific translations that require cultural understanding.
### Recommendations
Users should review translations for accuracy and appropriateness, especially in sensitive contexts. Additional fine-tuning or post-processing might be needed for specialized applications.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
## How to Get Started with the Model
Use the code below to get started with the model.

## Training Details
### Training Data
The model was fine-tuned on the Helsinki-NLP/opus-100 dataset (en-ms), which consists of 1 million parallel text pairs for English-Bahasa Melayu translations.
## Model Card Contact
For questions or additional information, please contact: piraiai@piraiinfo.com |