seongs commited on
Commit
cbb23c7
1 Parent(s): 25d73ca

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -18
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
- language:
3
  - en
4
  - ko
5
- license: apache-2.0
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
- - 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,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))