Gompyn / re2com-opensource

code for "Retrieve and Refine: Exemplar-based Neural Comment Generation"
15 stars 3 forks source link

question about number of parameters #4

Open z666pr opened 3 years ago

z666pr commented 3 years ago

Hi~ I found that the number of parameters in the log.txt is 71.86M, which is different from that in your paper(28.4M). Is there something wrong with the paper or the code counting parameters? I have tried for several times but the results are the same. image

Gompyn commented 3 years ago

We set embedding_size = 100 in experiments and in the paper, so I think you can first try to change embedding_size section in re2com.yaml.