chunwoolee0
commited on
Commit
ยท
3818623
1
Parent(s):
f683442
Update README.md
Browse files
README.md
CHANGED
@@ -44,6 +44,23 @@ More information needed
|
|
44 |
|
45 |
More information needed
|
46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
## Training and evaluation data
|
48 |
|
49 |
More information needed
|
@@ -63,7 +80,23 @@ The following hyperparameters were used during training:
|
|
63 |
|
64 |
### Training results
|
65 |
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
### Framework versions
|
69 |
|
|
|
44 |
|
45 |
More information needed
|
46 |
|
47 |
+
## Usage
|
48 |
+
|
49 |
+
You can use this model directly with a pipeline for masked language modeling:
|
50 |
+
|
51 |
+
```python
|
52 |
+
>>> from transformers import pipeline
|
53 |
+
>>> translator = pipeline('translation', model='chunwoolee0/kd4_opus-mt-ko-e')
|
54 |
+
>>> translator("์ ์ฌ ์์ฌ ํ์ ์ฐ์ฑ
๊ฐ์.")
|
55 |
+
|
56 |
+
[{'translation_text': "Let's go for a walk after noon."}]
|
57 |
+
|
58 |
+
>>> translator("์ด ๊ฐ์ข๋ ํ๊น
ํ์ด์ค๊ฐ ๋ง๋ ๊ฑฐ์ผ.")
|
59 |
+
[{'translation_text': 'This is a course by Huggingspace.'}]
|
60 |
+
|
61 |
+
>>> translator("์ค๋์ ๋ฆ๊ฒ ์ผ์ด๋ฌ๋ค.")
|
62 |
+
[{'translation_text': "I'm up late today."}]
|
63 |
+
```
|
64 |
## Training and evaluation data
|
65 |
|
66 |
More information needed
|
|
|
80 |
|
81 |
### Training results
|
82 |
|
83 |
+
Step Training Loss
|
84 |
+
500 1.858500
|
85 |
+
1000 1.781400
|
86 |
+
1500 1.715200
|
87 |
+
2000 1.678100
|
88 |
+
2500 1.546600
|
89 |
+
3000 1.488700
|
90 |
+
3500 1.503500
|
91 |
+
4000 1.455100
|
92 |
+
4500 1.419100
|
93 |
+
5000 1.393400
|
94 |
+
5500 1.357100
|
95 |
+
6000 1.339400
|
96 |
+
TrainOutput(global_step=6474, training_loss=1.532715692246148,
|
97 |
+
metrics={'train_runtime': 1035.7775, 'train_samples_per_second': 199.957,
|
98 |
+
'train_steps_per_second': 6.25, 'total_flos': 2551308264603648.0,
|
99 |
+
'train_loss': 1.532715692246148, 'epoch': 3.0})
|
100 |
|
101 |
### Framework versions
|
102 |
|