Up tókànItọsọna atẹle
Fi agbara mu Olukọni ni Awọn awoṣe Ọkọọkan
Imọ-ẹrọ
Èdè AI Itọsọna
Sequence-to-sequence (seq2seq) models encode an input sequence and generate an output sequence, which may have a different length.
Gbọ si itọsọna yiiAI-ṣe afihan · ~1 min
Attention provides access to source context during decoding.
Early neural machine-translation systems encoded a source sentence into a fixed vector, which constrained long inputs. Bahdanau attention lets a decoder compute context from source hidden states at each step. The Transformer replaces recurrence with attention layers, while sequence-to-sequence variants retain encoder and decoder components. Output length is determined during generation rather than copied from input length.
An encoder can represent a source sentence for translation.
A decoder generates target tokens until an end condition is reached.
Cross-attention uses encoder outputs as keys and values for decoder queries.
Transformer encoder-decoder models such as T5 and BART apply this structure to text tasks.
Choose encoder-decoder or decoder-only architectures based on the task, data and serving constraints. Evaluate input-length behavior, output quality and decoding cost. The cited papers establish particular model designs and benchmarks, not universal superiority of one architecture.
Ìwé ìròyìn ọfẹ
Ìtàn AI mẹta tó jẹ́rìí ní gbogbo owurọ́ ọjọ́ iṣẹ́, kọ́wé ní Gẹ̀ẹ́sì tó rọrùn. Ọfẹ́ fún gbogbo àkókò, kò sí ìpolówó.
Ìmeèlì kan ní gbogbo ọjọ́ iṣẹ́. Yọkúrò ní ìkànìyàn ní ìkànìyàn kan. A kò ta tàbí pín àdírẹ́sì rẹ.
Ṣe idanwo fun ara rẹ
Ìdáhùn lẹ́sẹ̀kẹsẹ̀ lórí gbogbo ìdáhùn, àti iwe-ẹ̀rí tó lè pin pẹ̀lú ID tó lè jẹ́rìí lẹ́yìn tí o bá kọ́ ẹ̀kọ́.
Ṣe àtìlẹ́yìn ẹ̀kọ́ AI ọfẹ́. AI Understanding jẹ́ àjọ àìní èrè 501(c)(3) — kò sí ìpolówó, kò sí àkúnya owó, ní gbogbo àkókò. Ṣe ẹbun kan
Sequence-to-sequence (seq2seq) models encode an input sequence and generate an output sequence, which may have a different length. Attention provides access to source context during decoding.
Ayipada koodu kika ati funmorawon titẹ sii, ati oluyipada kan n ṣe agbejade ọkọọkan.
Ifarabalẹ jẹ ki olupilẹṣẹ wọle si gbogbo awọn ipinlẹ kooduopo dipo gbigbe ara lori fekito fisinuirindigbindigbin kan, titunṣe iṣẹ ṣiṣe gbolohun ọrọ gigun.
Sutskever et al. ti a lo tolera LSTM awọn nẹtiwọọki loorekoore fun koodu koodu ati oluyipada.
Ifarabalẹ ṣe ipinnu awọn iwuwo si awọn ipinlẹ koodu koodu nitoribẹẹ igbesẹ igbejade kọọkan dojukọ awọn ipo igbewọle to wulo julọ.
Decoder n ṣe ipilẹṣẹ adaṣe ati pe o le da duro ni ami-ipin-ipari, ti o ngbanilaaye ipari abajade oniyipada.
Tesiwaju kikọ
Awọn itọsọna diẹ sii ti a yan fun koko yii
Up tókànItọsọna atẹle
Fi agbara mu Olukọni ni Awọn awoṣe Ọkọọkan
Imọ-ẹrọ