paper-with-me

Papers

Context-Tuning: Learning Contextualized Prompts for Natural Language Generation

2022-01-21 · COLING 2022 10 · Tianyi Tang, Junyi Li, Wayne Xin Zhao, Ji-Rong Wen

Recently, pretrained language models (PLMs) have had exceptional success in language generation. To leverage the rich knowledge encoded by PLMs, a simple yet powerful paradigm is to use prompts in the form of either discrete tokens or continuous embeddings. In existing studies, these prompting methods are typically independent of the inputs, lacking sufficient consideration of input semantics. To address this issue, we propose a novel continuous prompting approach, called context-tuning, to fine-tuning PLMs for natural language generation. Firstly, the prompts are derived based on the input text to elicit useful knowledge from PLMs for generation. We refer to such prompts as contextualized prompts. Secondly, we use continuous inverse prompting to improve the process of natural language generation by modeling an inverse generation process from output to input, making the generated text more relevant to the inputs. Furthermore, we utilize a lightweight context-tuning method that fine-tunes only 0.12% of the parameters while maintaining good performance. Our code is publicly available at https://github.com/RUCAIBox/Context-Tuning.

📄 PDF Abstract BibTeX arXiv:2201.08670

Code (1)

rucaibox/context-tuning 공식 구현

Tasks

Text Generation

Similar Papers 제목 키워드 기반

Vector-Quantized Input-Contextualized Soft Prompts for Natural Language Understanding

2022-05-23 · Rishabh Bhardwaj, Amrita Saha, Steven C. H. Hoi, Soujanya Poria

Prompt Tuning has been largely successful as a parameter-efficient method of conditioning large-scale pre-trained language models to perform downstream tasks. Thus far, soft prompt tuning learns a fixed set of task-speci…

Natural Language UnderstandingNERQuantizationRelation Classification+1

Massive Choice, Ample Tasks (MaChAmp): A Toolkit for Multi-task Learning in NLP

2020-05-29 · EACL 2021 2 · Rob van der Goot, Ahmet Üstün, Alan Ramponi, Ibrahim Sharaf 외

Transfer learning, particularly approaches that combine multi-task learning with pre-trained contextualized embeddings and fine-tuning, have advanced the field of Natural Language Processing tremendously in recent years.…

Dependency ParsingLanguage ModelingLanguage ModellingMasked Language Modeling+5

NEZHA: Neural Contextualized Representation for Chinese Language Understanding

2019-08-31 · Junqiu Wei, Xiaozhe Ren, Xiaoguang Li, Wenyong Huang 외

The pre-trained language models have achieved great successes in various natural language understanding (NLU) tasks due to its capacity to capture the deep contextualized information in text by pre-training on large-scal…

named-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)Natural Language Inference+5

Contextualized Embeddings based Transformer Encoder for Sentence Similarity Modeling in Answer Selection Task

2020-05-01 · LREC 2020 5 · Md Tahmid Rahman Laskar, Jimmy Xiangji Huang, Enamul Hoque

Word embeddings that consider context have attracted great attention for various natural language processing tasks in recent years. In this paper, we utilize contextualized word embeddings with the transformer encoder fo…

Answer SelectionSentenceSentence SimilarityWord Embeddings

Transformer-Based Contextualized Language Models Joint with Neural Networks for Natural Language Inference in Vietnamese

2024-11-20 · Dat Van-Thanh Nguyen, Tin Van Huynh, Kiet Van Nguyen, Ngan Luu-Thuy Nguyen

Natural Language Inference (NLI) is a task within Natural Language Processing (NLP) that holds value for various AI applications. However, there have been limited studies on Natural Language Inference in Vietnamese that …

Natural Language InferenceXLM-R