পরবর্তী আপপরবর্তী গাইড
ক্রস-এনকোডার বনাম দ্বি-এনকোডার
ভাষা এআই
ভাষা এআই গাইড
Encoder-decoder architectures map an input sequence to an output sequence that may differ in length.
এই নির্দেশিকা শুনুনএআই-বর্ণিত · ~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.
ফ্রি নিউজলেটার
প্রতি সপ্তাহের কাজের দিন সকালে তিনটি যাচাইকৃত এআই স্টোরি, সহজ ইংরেজিতে লেখা। চিরকালের জন্য ফ্রি, কোনো বিজ্ঞাপন নেই।
প্রতি সপ্তাহের কাজের দিনে একটি ইমেল। এক ক্লিকেই আনসাবস্ক্রাইব করুন। আমরা কখনোই আপনার ঠিকানা বিক্রি বা শেয়ার করি না।
নিজেকে পরীক্ষা করুন
প্রতিটি উত্তরের তাৎক্ষণিক ফিডব্যাক, এবং কোর্স পাস করার পর যাচাইযোগ্য আইডি সহ একটি শেয়ারযোগ্য সার্টিফিকেট।
ফ্রি এআই শিক্ষাকে সমর্থন করুন। AI Understanding একটি 501(c)(3) অলাভজনক প্রতিষ্ঠান — কোনো বিজ্ঞাপন নেই, কোনো পেওয়াল নেই, কখনোই না। একটি দান করুন
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.
এনকোডার সম্পূর্ণ ইনপুট সিকোয়েন্স ব্যবহার করে এবং এর অর্থ ক্যাপচার করে প্রাসঙ্গিক ভেক্টর তৈরি করে, যা ডিকোডার ব্যবহার করে।
মাস্কিং নিশ্চিত করে যে প্রতিটি আউটপুট অবস্থান কেবলমাত্র আগের অবস্থানে উপস্থিত থাকে, বাম-থেকে-ডান অটোরিগ্রেসিভ জেনারেশন অর্ডার সংরক্ষণ করে।
ক্রস-অ্যাটেনশন প্রতিটি ডিকোডার স্তরকে এনকোডারের লুকানো অবস্থাগুলি জিজ্ঞাসা করতে দেয়, আউটপুটের প্রজন্মের সাথে ইনপুটের বোঝার লিঙ্ক করে।
T5 (এবং BART) হল ক্লাসিক এনকোডার-ডিকোডার মডেল যা টেক্সট-টু-টেক্সট হিসাবে কাজ করে। BERT শুধুমাত্র এনকোডার এবং GPT-3 শুধুমাত্র ডিকোডার।
অনুবাদ একটি ক্রমকে অন্য একটিতে মানচিত্র করে, তাই পুরো উৎস (এনকোডার) পড়া এবং একটি নতুন লক্ষ্য (ডিকোডার) তৈরি করা পুরোপুরি ফিট করে।
শিখতে থাকুন
এই বিষয়ের জন্য বাছাই করা আরও গাইড
পরবর্তী আপপরবর্তী গাইড
ক্রস-এনকোডার বনাম দ্বি-এনকোডার
ভাষা এআই