Update README.md
Browse files
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
-
language:
|
3 |
- en
|
4 |
- ko
|
5 |
-
license:
|
6 |
library_name: transformers
|
7 |
tags:
|
8 |
- translation
|
@@ -15,21 +15,21 @@ metrics:
|
|
15 |
model-index:
|
16 |
- name: traintogpb-ke-t5-base-aihub-koen-translation-integrated-10m-en-to-ko
|
17 |
results:
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
---
|
34 |
|
35 |
|
@@ -87,4 +87,4 @@ tokenizer = AutoTokenizer.from_pretrained("traintogpb-ke-t5-base-aihub-koen-tran
|
|
87 |
|
88 |
inputs = tokenizer.encode("This is a sample text.", return_tensors="pt")
|
89 |
outputs = model.generate(inputs)
|
90 |
-
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
- en
|
4 |
- ko
|
5 |
+
license: mit
|
6 |
library_name: transformers
|
7 |
tags:
|
8 |
- translation
|
|
|
15 |
model-index:
|
16 |
- name: traintogpb-ke-t5-base-aihub-koen-translation-integrated-10m-en-to-ko
|
17 |
results:
|
18 |
+
- task:
|
19 |
+
name: Translation
|
20 |
+
type: translation
|
21 |
+
dataset:
|
22 |
+
name: AIHub KO-EN Translation Integrated Base (10M)
|
23 |
+
type: aihub-koen-translation-integrated-base-10m
|
24 |
+
metrics:
|
25 |
+
- name: BLEU
|
26 |
+
type: bleu
|
27 |
+
value: 18.838066
|
28 |
+
epoch: 2
|
29 |
+
- name: BLEU
|
30 |
+
type: bleu
|
31 |
+
value: 18.006119
|
32 |
+
epoch: 1
|
33 |
---
|
34 |
|
35 |
|
|
|
87 |
|
88 |
inputs = tokenizer.encode("This is a sample text.", return_tensors="pt")
|
89 |
outputs = model.generate(inputs)
|
90 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|