आगेअगली गाइड
फाइन-ट्यूनिंग बनाम आरएजी बनाम प्रॉम्प्टिंग
भाषा ए.आई
भाषा एआई गाइड
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.
उपसर्ग ट्यूनिंग रीढ़ की हड्डी को स्थिर कर देती है और निरंतर उपसर्ग वैक्टर का केवल एक छोटा सा सेट सीखती है, जिससे यह पैरामीटर-कुशल रहता है।
प्रीफ़िक्स ट्यूनिंग केवल इनपुट ही नहीं, बल्कि प्रत्येक ट्रांसफार्मर परत के आत्म-ध्यान पर प्रशिक्षित कुंजी/मूल्य वैक्टर को जोड़ता है।
प्रीफ़िक्स ट्यूनिंग का प्रस्ताव 2021 में स्टैनफोर्ड में जियांग लिसा ली और पर्सी लियांग द्वारा किया गया था।
क्योंकि केवल छोटा उपसर्ग ही कार्य-विशिष्ट है, आप पूरे मॉडल की नकल करने के बजाय प्रति कार्य एक छोटी फ़ाइल संग्रहीत करते हैं।
एक छोटा एमएलपी स्थिरता के लिए प्रशिक्षण के दौरान उपसर्ग उत्पन्न करता है, फिर उसे फेंक दिया जाता है, केवल सीखे गए उपसर्ग मैट्रिक्स को छोड़ दिया जाता है।
सीखते रहो
इस विषय के लिए अधिक मार्गदर्शिकाएँ चुनी गईं
आगेअगली गाइड
फाइन-ट्यूनिंग बनाम आरएजी बनाम प्रॉम्प्टिंग
भाषा ए.आई