Few-Shot Text Classification

42 papers with code • 8 benchmarks • 4 datasets

Few-shot Text Classification predicts the semantic label of a given text with a handful of supporting instances 1

Libraries

Use these libraries to find Few-Shot Text Classification models and implementations

Latest papers with no code

Shortcuts Arising from Contrast: Effective and Covert Clean-Label Attacks in Prompt-Based Learning

no code yet • 30 Mar 2024

In addressing this issue, we are inspired by the notion that a backdoor acts as a shortcut and posit that this shortcut stems from the contrast between the trigger and the data utilized for poisoning.

CrossTune: Black-Box Few-Shot Classification with Label Enhancement

no code yet • 19 Mar 2024

Training or finetuning large-scale language models (LLMs) requires substantial computation resources, motivating recent efforts to explore parameter-efficient adaptation to downstream tasks.

RIFF: Learning to Rephrase Inputs for Few-shot Fine-tuning of Language Models

no code yet • 4 Mar 2024

Pre-trained Language Models (PLMs) can be accurately fine-tuned for downstream text processing tasks.

A Soft Contrastive Learning-based Prompt Model for Few-shot Sentiment Analysis

no code yet • 16 Dec 2023

Few-shot text classification has attracted great interest in both academia and industry due to the lack of labeled data in many fields.

Label-Aware Automatic Verbalizer for Few-Shot Text Classification

no code yet • 19 Oct 2023

Specifically, we use the manual labels along with the conjunction "and" to induce the model to generate more effective words for the verbalizer.

BYOC: Personalized Few-Shot Classification with Co-Authored Class Descriptions

no code yet • 9 Oct 2023

As a result, it is not possible for end-users to build classifiers for themselves.

TransPrompt v2: A Transferable Prompting Framework for Cross-task Text Classification

no code yet • 29 Aug 2023

We propose TransPrompt v2, a novel transferable prompting framework for few-shot learning across similar or distant text classification tasks.

Breaking the Bank with ChatGPT: Few-Shot Text Classification for Finance

no code yet • 28 Aug 2023

We propose the use of conversational GPT models for easy and quick few-shot text classification in the financial domain using the Banking77 dataset.

Emotion-Conditioned Text Generation through Automatic Prompt Optimization

no code yet • 9 Aug 2023

We evaluate the method on emotion-conditioned text generation with a focus on event reports and compare it to manually designed prompts that also act as the seed for the optimization procedure.

Enhancing Black-Box Few-Shot Text Classification with Prompt-Based Data Augmentation

no code yet • 23 May 2023

To achieve this, we treat the black-box model as a feature extractor and train a classifier with the augmented text data.