chunwoolee0 commited on
Commit
3818623
โ€ข
1 Parent(s): f683442

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -1
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