التاليالدليل التالي
الضبط الدقيق مقابل RAG مقابل المطالبة
لغة الذكاء الاصطناعي
دليل اللغة AI
Prefix-tuning is a parameter-efficient adaptation method studied by Li and Liang.
استمع إلى هذا الدليلرواه الذكاء الاصطناعي · ~1 min
It freezes a pretrained language model and learns continuous task-specific prefix vectors that influence the model’s attention computations.
Prefix-tuning prepends trainable continuous vectors to the key and value activations at transformer layers while freezing the pretrained model parameters. Li and Liang evaluate the method on table-to-text generation and summarization. In their reported experiments, the method learns about 0.1% of the model parameters. They also report that prefix-tuning outperformed full fine-tuning in some evaluated low-data settings and performed competitively in other studied conditions. These are results tied to the paper’s model, tasks and data splits, not universal guarantees.
The paper evaluates prefix-tuning on WebNLG table-to-text generation.
The paper evaluates summarization with a pretrained BART model.
A task-specific prefix can be stored separately while the pretrained backbone remains frozen.
The paper compares prefix-tuning with full fine-tuning in full-data and low-data settings.
When reproducing the paper, record the backbone, task, data split, prefix length, and parameter count. Compare against full fine-tuning on the same evaluation and avoid assuming the paper’s results transfer unchanged to other models or deployment settings.
رسالة إخبارية مجانية
ثلاث قصص تم التحقق منها بواسطة الذكاء الاصطناعي كل صباح من أيام الأسبوع، مكتوبة باللغة الإنجليزية البسيطة. مجاني للأبد، بدون إعلانات.
بريد إلكتروني واحد كل يوم من أيام الأسبوع. إلغاء الاشتراك بنقرة واحدة. نحن لا نبيع أو نشارك عنوانك أبدًا.
اختبر نفسك
تعليقات فورية على كل إجابة، وشهادة قابلة للمشاركة مع معرف يمكن التحقق منه بمجرد اجتياز الدورة التدريبية.
دعم تعليم الذكاء الاصطناعي المجاني. AI Understanding هي منظمة 501(c)(3) غير ربحية - لا إعلانات ولا نظام حظر الاشتراك غير المدفوع على الإطلاق. قم بالتبرع
Prefix-tuning is a parameter-efficient adaptation method studied by Li and Liang. It freezes a pretrained language model and learns continuous task-specific prefix vectors that influence the model’s attention computations.
يؤدي ضبط البادئة إلى تجميد العمود الفقري ويتعلم فقط مجموعة صغيرة من متجهات البادئة المستمرة، مما يحافظ على كفاءة المعلمات.
يؤدي ضبط البادئة إلى إضافة نواقل المفاتيح/القيم القابلة للتدريب عند الاهتمام الذاتي لكل طبقة محولات، وليس فقط المدخلات.
تم اقتراح ضبط البادئة بواسطة Xiang Lisa Li وPercy Liang في جامعة ستانفورد في عام 2021.
نظرًا لأن البادئة الصغيرة فقط هي الخاصة بالمهمة، يمكنك تخزين ملف صغير واحد لكل مهمة بدلاً من تكرار النموذج بأكمله.
يقوم MLP الصغير بإنشاء البادئة أثناء التدريب من أجل الاستقرار، ثم يتم التخلص منها، تاركًا فقط مصفوفات البادئة التي تم تعلمها.
استمر في التعلم
تم اختيار المزيد من الأدلة لهذا الموضوع
التاليالدليل التالي
الضبط الدقيق مقابل RAG مقابل المطالبة
لغة الذكاء الاصطناعي