g2pm icon indicating copy to clipboard operation
g2pm copied to clipboard

Can you provide the complete code for training?

Open zzy1026 opened this issue 4 years ago • 3 comments

Hi, Thanks for the good job. I used chinese bert to do this work with your dataset, but I could't get good result like yours. So I want to study your code and know how to training model using this datasets. But the codes your offerring now are only to predict. So can you provide the complete code about your model or bert in your papper? Thank you for your help.

zzy1026 avatar Aug 27 '20 07:08 zzy1026

Hi, in my experiment the performance of bert is really sensitive to the choice of optimizer and learning rate. I will upload the scripts for training bert as soon as possible.

seanie12 avatar Aug 27 '20 10:08 seanie12

Hi, in my experiment the performance of bert is really sensitive to the choice of optimizer and learning rate. I will upload the scripts for training bert as soon as possible.

Thank you! I also want to know that in your bert, the output of fc layer is the number of this polyphonic character's possible pinyin classes or all polyphonic characters?

zzy1026 avatar Aug 28 '20 07:08 zzy1026

Yes the number of output of fc layer is the number of all possible pinyins for polyphonic character.

Here is the code for training bert.

seanie12 avatar Sep 03 '20 01:09 seanie12