File size: 2,329 Bytes
98651f5
 
 
 
 
 
 
 
f688278
 
 
 
 
 
 
 
 
98651f5
 
 
 
f688278
98651f5
f688278
98651f5
f688278
98651f5
a325c20
 
f688278
98651f5
f688278
98651f5
f688278
98651f5
f688278
98651f5
a325c20
 
 
 
 
 
98651f5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f688278
 
 
 
 
 
 
98651f5
f688278
98651f5
 
 
 
 
 
f688278
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
74
75
76
---
license: apache-2.0
base_model: Helsinki-NLP/opus-mt-ko-en
tags:
- generated_from_trainer
model-index:
- name: opus-mt-ko-en-Korean_Parallel_Corpora
  results: []
datasets:
- Moo/korean-parallel-corpora
language:
- ko
- en
metrics:
- bleu
- rouge
pipeline_tag: translation
---

# opus-mt-ko-en-Korean_Parallel_Corpora

This model is a fine-tuned version of [Helsinki-NLP/opus-mt-ko-en](https://huggingface.co/Helsinki-NLP/opus-mt-ko-en).

### Model description

For more information on how it was created, check out the following link: https://github.com/DunnBC22/NLP_Projects/blob/main/Machine%20Translation/Korean%20to%20English%20(Korean%20Parallel%20Corpora)/Korean_Parallel_Corpora_OPUS_Translation_Project.ipynb

* I apologize in advance if any of the generated text is less than stellar. I am well intentioned, but sometimes the technology can generate some strange outputs.

### Intended uses & limitations

This model is intended to demonstrate my ability to solve a complex problem using technology.

### Training and evaluation data

Dataset Source: https://huggingface.co/datasets/Moo/korean-parallel-corpora

### Histogram of Korean Input Word Counts
![German Word Count of Input Text](https://github.com/DunnBC22/NLP_Projects/raw/main/Machine%20Translation/Korean%20to%20English%20(Korean%20Parallel%20Corpora)/Images/Histogram%20of%20Korean%20Word%20Counts.png)

### Histogram of English Input Word Counts
![English Word Count of Input Text](https://github.com/DunnBC22/NLP_Projects/raw/main/Machine%20Translation/Korean%20to%20English%20(Korean%20Parallel%20Corpora)/Images/Histogram%20of%20English%20Word%20Counts.png)

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 6

### Training results

- eval_loss: 2.6620
- eval_bleu: 14.3395
- eval_rouge
  - rouge1: 0.4391
  - rouge2: 0.2022
  - rougeL: 0.3671
  - rougeLsum: 0.3671

* The training results values are rounded to the nearest ten-thousandth.

### Framework versions

- Transformers 4.31.0
- Pytorch 2.0.1+cu118
- Datasets 2.14.4
- Tokenizers 0.13.3