ΕπόμενοΕπόμενος οδηγός
Fine-Tuning εναντίον RAG vs Prompting
Γλώσσα AI
ΟΔΗΓΟΣ ΓΛΩΣΣΑΣ AI
Prefix-tuning is a parameter-efficient adaptation method studied by Li and Liang.
Ακούστε αυτόν τον οδηγόαφήγηση με AI · ~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 κάθε πρωί της εβδομάδας, γραμμένα σε απλή αγγλική. Δωρεάν για πάντα, χωρίς διαφημίσεις.
Ένα email κάθε εργάσιμη ημέρα. Κατάργηση συνδρομής με ένα κλικ. Δεν πουλάμε ή μοιραζόμαστε ποτέ τη διεύθυνσή σας.
Δοκιμάστε τον εαυτό σας
Άμεση ανάδραση σε κάθε απάντηση, και πιστοποιητικό με επαληθεύσιμο ID μόλις περάσετε το μάθημα.
Υποστηρίξτε τη δωρεάν εκπαίδευση AI. 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 στο Stanford το 2021.
Επειδή μόνο το μικρό πρόθεμα είναι συγκεκριμένο για εργασία, αποθηκεύετε ένα μικροσκοπικό αρχείο ανά εργασία αντί να αντιγράφετε ολόκληρο το μοντέλο.
Ένα μικρό MLP δημιουργεί το πρόθεμα κατά τη διάρκεια της προπόνησης για σταθερότητα, στη συνέχεια πετιέται, αφήνοντας μόνο τους μαθητευόμενους πίνακες προθέματος.
Συνέχισε να μαθαίνεις
Επιλέχθηκαν περισσότεροι οδηγοί για αυτό το θέμα
ΕπόμενοΕπόμενος οδηγός
Fine-Tuning εναντίον RAG vs Prompting
Γλώσσα AI