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.

Encoder and decoder for sequence label using transformer? [Discussion]

I use full transformer (encoder-decoder) for sequence labeling .

During the training whole transformer for NER task process:

encoder source word sequence input: “Lily goes to company”

decoder target tag sequence input:’ Person O O Location ‘

If the source vocabulary have 5272 words , If the target vacabulary have 6 tag.

should encoder input embedding size must equal to decoder input embdding size.

for example:

encoder sequence: “Lily goes to company”

target sequence: ‘ Person O O Location ‘

encoder input embedding should map shape [4,5272] to [4,512]

Should decoder input embedding must map shape [4,6] to [4,512]???

submitted by /u/Hopeful-Aerie
[link] [comments]

Next Meetup

 

Days
:
Hours
:
Minutes
:
Seconds

 

Plug yourself into AI and don't miss a beat

 


Toronto AI is a social and collaborative hub to unite AI innovators of Toronto and surrounding areas. We explore AI technologies in digital art and music, healthcare, marketing, fintech, vr, robotics and more. Toronto AI was founded by Dave MacDonald and Patrick O'Mara.