How to train Marian Machine Translation

Anyone know how to train Marian MT from scratch? I am trying to train Marian MT for English to Korean, But I stuck on getting the right tokenizer, I tried using the Korean to English tokenizer but it resulted with error, The code I was trying is an example from here Google Colaboratory.