Update README.md
Browse files
README.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: mit
|
|
|
|
|
4 |
---
|
5 |
|
|
|
|
|
|
|
|
|
6 |
# Inference
|
7 |
```python
|
8 |
import time
|
@@ -11,20 +17,12 @@ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
|
11 |
|
12 |
tokenizer = AutoTokenizer.from_pretrained("PiraiAI/fine-tuned-bahasa-melayu-2L")
|
13 |
model = AutoModelForSeq2SeqLM.from_pretrained("PiraiAI/fine-tuned-bahasa-melayu-2L")
|
14 |
-
|
15 |
-
|
16 |
```
|
17 |
|
18 |
-
```python
|
19 |
-
|
20 |
-
|
21 |
-
- **Developed by:** Pirai AI Team
|
22 |
-
- **Model type:** Sequence-to-Sequence (Seq2Seq) Model
|
23 |
-
- **Language(s) (NLP):** English and Bahasa Melayu
|
24 |
-
|
25 |
|
26 |
## Uses
|
27 |
|
|
|
28 |
### Direct Use
|
29 |
|
30 |
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.
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: mit
|
4 |
+
datasets:
|
5 |
+
- Helsinki-NLP/opus-100
|
6 |
---
|
7 |
|
8 |
+
- **Developed by:** Pirai AI Team
|
9 |
+
- **Model type:** Sequence-to-Sequence (Seq2Seq) Model
|
10 |
+
- **Language(s) (NLP):** English and Bahasa Melayu
|
11 |
+
|
12 |
# Inference
|
13 |
```python
|
14 |
import time
|
|
|
17 |
|
18 |
tokenizer = AutoTokenizer.from_pretrained("PiraiAI/fine-tuned-bahasa-melayu-2L")
|
19 |
model = AutoModelForSeq2SeqLM.from_pretrained("PiraiAI/fine-tuned-bahasa-melayu-2L")
|
|
|
|
|
20 |
```
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
## Uses
|
24 |
|
25 |
+
|
26 |
### Direct Use
|
27 |
|
28 |
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.
|