Variable length input for RNN models in PyTorch

It’s common to deal with sequences of variable lengths in NLP. This article provides a simple yet effective way of dealing with variable length sequences when training an LSTM network on mini-batches. For transformers the procedure will be slightly different yet the principle is the same. If you are to... [Read More]
Tags: ml

记一次我经历的种族仇恨犯罪

2021不知不觉来到了尾声。趁着年假期间,终于有了不少自己的时间,我打算把最近这段时间发生在自己身上的一件被种族歧视者暴力攻击的事情写出来。全文比较长,我试着去真实而细致地还原整个事件。一是呼吁大家团结起来反对针对亚裔的种族歧视,二是感谢这期间所有帮助过我的人,最后也算给自己一个交代。 [Read More]
Tags: personal