SıradakiSonraki rehber
Çapraz Kodlayıcılar ve Bi-Enkoderler
Dil Yapay Zeka
Dil AI KILAVUZU
Encoder-decoder architectures map an input sequence to an output sequence that may differ in length.
Bu kılavuzu dinleyinAI tarafından anlatılan · ~1 min
The encoder builds source representations, and the decoder generates target elements conditioned on those representations.
Early seq2seq models used recurrent encoders and decoders. Bahdanau attention addressed the fixed-vector bottleneck by computing a source context for each decoder step. The Transformer replaces recurrence with self-attention and cross-attention. BART pretrains a denoising encoder-decoder, while T5 casts many language tasks as text-to-text. These papers evaluate specific models and tasks; the architecture alone does not guarantee quality.
A neural translation encoder represents a source sentence while a decoder generates a translated sentence.
Bahdanau attention lets each decoder step focus on different encoder states.
The Transformer uses encoder-decoder attention and masked decoder self-attention.
BART and T5 use encoder-decoder architectures for denoising or text-to-text tasks.
Choose an encoder-decoder when a task naturally maps one sequence to another, and compare it with alternatives on the target data and latency. Track input-length behavior and output quality. The cited work does not establish that this architecture is best for every language task.
Ücretsiz bülten
Hafta içi her sabah sade İngilizce yazılmış, doğrulanmış üç yapay zeka hikayesi. Sonsuza kadar ücretsiz, reklam yok.
Hafta içi her gün bir e-posta. Tek tıklamayla aboneliğinizi iptal edin. Adresinizi asla satmayız veya paylaşmayız.
Kendinizi test edin
Her yanıtla ilgili anında geri bildirim ve bir kursu geçtiğinizde doğrulanabilir bir kimliğe sahip paylaşılabilir bir sertifika.
Ücretsiz AI eğitimini destekleyin. AI Understanding, bir 501(c)(3) kâr amacı gütmeyen kuruluştur; hiçbir zaman reklam yoktur, ödeme duvarı yoktur. Bağış yap
Encoder-decoder architectures map an input sequence to an output sequence that may differ in length. The encoder builds source representations, and the decoder generates target elements conditioned on those representations.
Kodlayıcı, giriş dizisinin tamamını tüketir ve anlamını yakalayan bağlamsal vektörler üretir ve kod çözücü daha sonra bunları kullanır.
Maskeleme, soldan sağa otoregresif oluşturma sırasını koruyarak her çıkış konumunun yalnızca önceki konumlara katılmasını sağlar.
Çapraz dikkat, her kod çözücü katmanının kodlayıcının gizli durumlarını sorgulamasına olanak tanır ve girdinin anlaşılmasını çıktının oluşturulmasına bağlar.
T5 (ve BART), görevleri metinden metne olarak çerçeveleyen klasik kodlayıcı-kod çözücü modelleridir. BERT yalnızca kodlayıcıdır ve GPT-3 yalnızca kod çözücüdür.
Çeviri bir diziyi farklı bir diziyle eşler, böylece kaynağın tamamını (kodlayıcı) okumak ve yeni bir hedef (kod çözücü) oluşturmak mükemmel uyum sağlar.
Öğrenmeye devam et
Bu konu için daha fazla rehber seçildi
SıradakiSonraki rehber
Çapraz Kodlayıcılar ve Bi-Enkoderler
Dil Yapay Zeka