Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[D] How to handle variable input lenghts for tansformer encoder?

I have variable text lenghts and want to use encoder like in this example

Example link

For RNNs I should use pack_padded_sequence, what should I do for transformer?

Or it is ok for transformer to get zeros in inputs?

submitted by /u/hadaev
[link] [comments]