4 ms·
This is plagiarism. You stole code form https://github.com/rsennrich/subword-nmt/blob/master/subword_nmt/bpe_toy.py https://github.com/rsennrich/subword-nmt/blo
by master_yoda_1 7y ago
This is plagiarism. You stole code form https://github.com/rsennrich/subword-nmt/blob/master/subword_nmt/bpe_toy.py https://github.com/rsennrich/subword-nmt/blob/master/subword... and don't even bother to change method names.
There is better explanation with code here http://ufal.mff.cuni.cz/~helcl/courses/npfl116/ipython/byte_pair_encoding.html http://ufal.mff.cuni.cz/~helcl/courses/npfl116/ipython/byte_...
- nerdponx 7y agoI modified the code from the paper “Neural Machine Translation of Rare Words with Subword Units” and used it as a concrete example of how byte pair encoding is working for real dataset. It looks more like an incomplete/lazy citation than deliberate theft.
- windranger 7y agoIt looks like you did not read through the whole blog post, and such kind of comment is unfair. The author of the BPE paper did include the source code in the original paper, and the author of the blog did mention he was modifying the code based on that.