পরবর্তী আপপরবর্তী গাইড
প্রম্পট-টু-প্রম্পট ক্রস-অ্যাটেনশন সম্পাদনা
ভিজ্যুয়াল এআই
ভাষা এআই গাইড
Cross-attention lets queries from one representation attend to keys and values from another representation.
It is used to connect source and target sequences or different modalities.
Cross-attention lets queries from one representation attend to keys and values from another. The Transformer uses this in encoder-decoder layers; latent diffusion uses it for text-conditioned generation. Flamingo uses gated cross-attention layers to connect visual features to a language model and is designed to ingest arbitrarily interleaved visual and textual inputs, including images or video. These are architecture-specific examples, not a universal multimodal design. In Flamingo, cross-attention blocks are gated by a tanh-transformed learned scalar initialized to zero; this is an architecture-specific control and not a claim about how often cross-attention is used across multimodal systems.
ভাষার কর্মপ্রবাহ ধারাবাহিকতাকে ত্যাগ না করে দ্রুত অগ্রসর হতে পারে।
এটি ভাষা এবং যোগাযোগ শৈলী জুড়ে অ্যাক্সেস প্রসারিত করে।
অটোমেশন পুনরাবৃত্তি পরিচালনা করার সময় দলগুলি বিচারে আরও বেশি সময় ব্যয় করতে পারে।
When inspecting a multimodal model, identify which stream supplies queries and which supplies keys and values. Evaluate alignment and failure cases across the relevant modalities. The cited papers do not establish one universal cross-attention design.
In an encoder-decoder Transformer, decoder queries attend to encoder outputs.
Latent diffusion models use cross-attention to condition image latents on text embeddings.
Flamingo inserts cross-attention layers so a language model can use visual features.
Different sequence lengths are possible because queries and key-value context need not have matching lengths.
হ্যালুসিনেটেড ফ্যাক্টগুলি শান্তভাবে রিপোর্ট, সমর্থন প্রবাহ, বা গবেষণা আউটপুট প্রবেশ করতে পারে।
প্রম্পট সংবেদনশীলতা অনুরূপ অনুরোধ জুড়ে অসামঞ্জস্যপূর্ণ ফলাফল তৈরি করতে পারে।
অ্যাক্সেস কন্ট্রোল দুর্বল হলে সংবেদনশীল পাঠ্য ডেটা উন্মুক্ত হতে পারে।
রোলআউট করার আগে আউটপুট ফর্ম্যাট, টোন এবং মানের মান নির্ধারণ করুন।
যখনই নির্ভুলতা গুরুত্বপূর্ণ তখন বিশ্বস্ত উত্সের সাথে গ্রাউন্ড প্রতিক্রিয়া।
উচ্চ-স্টেকের আউটপুটগুলির জন্য একটি মানব পর্যালোচনা চেকপয়েন্ট রাখুন।
ব্যর্থতার নিদর্শনগুলি ট্র্যাক করুন এবং প্রম্পট বা ওয়ার্কফ্লোগুলিকে নিয়মিতভাবে পুনরায় প্রশিক্ষণ দিন।
Free newsletter
Three verified AI stories every weekday morning, written in plain English. Free forever, no ads.
One email each weekday. Unsubscribe in one click. We never sell or share your address.
Test yourself
Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.
Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation
Cross-attention lets queries from one representation attend to keys and values from another representation. It is used to connect source and target sequences or different modalities.
ক্রস-অ্যাটেনশন একটি সিকোয়েন্স (যেমন, ডিকোডার) থেকে প্রশ্ন আঁকে এবং অন্য একটি (যেমন, এনকোডার) থেকে কী এবং মান দুটিকে ইন্টারঅ্যাক্ট করতে দেয়।
ডিকোডার তার আংশিকভাবে তৈরি আউটপুট থেকে প্রশ্ন তৈরি করে, তারপর প্রাসঙ্গিক ইনপুট তথ্য টানতে কী এবং মান হিসাবে এনকোডার আউটপুট ব্যবহার করে।
যেহেতু কোয়েরিগুলি একটি উত্স থেকে এবং অন্য থেকে কী/মানগুলি থেকে উদ্ভূত হয়, তাই ক্রমগুলি স্বাধীন এবং দৈর্ঘ্য, ভাষা বা পদ্ধতিতে পৃথক হতে পারে।
ক্রস-অ্যাটেনশন জেনারেট করা ছবির প্রতিটি অংশকে টেক্সট প্রম্পটে উপস্থিত হতে দেয়, শব্দের ভিজ্যুয়ালগুলিকে ভিত্তি করে।
উভয়ই একই স্কেলড ডট-প্রোডাক্ট মনোযোগ ব্যবহার করে: কোয়েরি এবং কীগুলির মধ্যে মিল স্কোর, একটি সফটম্যাক্স, তারপর মানগুলির একটি ওজনযুক্ত সমষ্টি।
শিখতে থাকুন
এই বিষয়ের জন্য বাছাই করা আরও গাইড
পরবর্তী আপপরবর্তী গাইড
প্রম্পট-টু-প্রম্পট ক্রস-অ্যাটেনশন সম্পাদনা
ভিজ্যুয়াল এআই