Few-Shot Text Classification NLP Tools

Tools and methods for text classification with limited labeled data, using techniques like metric learning, prototypical networks, and self-training. Does NOT include general text classification systems, transfer learning without few-shot focus, or multi-task learning frameworks.

There are 17 few-shot text classification tools tracked. 1 score above 50 (established tier). The highest-rated is huggingface/setfit at 64/100 with 2,699 stars.

Get all 17 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=nlp&subcategory=few-shot-text-classification&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Tool Score Tier
1 huggingface/setfit

Efficient few-shot learning with Sentence Transformers

64
Established
2 YujiaBao/Distributional-Signatures

"Few-shot Text Classification with Distributional Signatures" ICLR 2020

48
Emerging
3 zhongyuchen/few-shot-text-classification

Few-shot binary text classification with Induction Networks and Word2Vec...

45
Emerging
4 ELM-Research/ECG-Language-Models

A Training and Evaluation Framework for ECG-Language Models (ELMs)

42
Emerging
5 StefanHeng/ECG-Representation-Learning

Self-supervised pre-training for ECG representation with inspiration from...

41
Emerging
6 cloudera/CML_AMP_Few-Shot_Text_Classification

Perform topic classification on news articles in several limited-labeled...

38
Emerging
7 ShaneTian/Att-Induction

Attention-based Induction Networks for Few-Shot Text Classification

37
Emerging
8 sebischair/FusionSent

Repository of the ICNLSP 2024 paper "Efficient Few-shot Learning for...

31
Emerging
9 IKMLab/SEC

IEEE AIKE'2022: Few-shot Text Classification with Saliency-equivalent Concatenation

31
Emerging
10 jingyuanz/protonet-bert-text-classification

finetune bert for small dataset text classification in a few-shot learning...

29
Experimental
11 feyzaakyurek/newsframing

Code repository for ACL2020 paper Multi-label and Multilingual News Framing Analysis

29
Experimental
12 xionghhcs/few_shot_learning

First, format a few shot text classification dataset.Second, replement some...

25
Experimental
13 kylejshaffer/few_shot_text

PyTorch implementation of few-shot learning idea using DBPedia text...

24
Experimental
14 woaksths/Classic-Self-Training

Classic Self-Training for Few Shot Text Classification

23
Experimental
15 Bayer-Group/xtars-naacl2022

Zero/few-shot learning for classification with very large label sets and...

22
Experimental
16 PiMakarov/textkd-p4-fewshot-distilbert

📊 Compare few-shot text classification with DistilBERT and TF-IDF + SVM...

22
Experimental
17 davidetaraborrelli/textkd-p4-fewshot-distilbert

Few-shot text classification baseline: DistilBERT fine-tuning vs TF-IDF+SVM...

11
Experimental