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 70 (verified tier). The highest-rated is huggingface/setfit at 74/100 with 2,699 stars and 212,684 monthly downloads.

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

74
Verified
2 YujiaBao/Distributional-Signatures

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

41
Emerging
3 ELM-Research/ECG-Language-Models

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

40
Emerging
4 zhongyuchen/few-shot-text-classification

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

38
Emerging
5 StefanHeng/ECG-Representation-Learning

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

34
Emerging
6 cloudera/CML_AMP_Few-Shot_Text_Classification

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

31
Emerging
7 ShaneTian/Att-Induction

Attention-based Induction Networks for Few-Shot Text Classification

30
Emerging
8 sebischair/FusionSent

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

24
Experimental
9 IKMLab/SEC

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

24
Experimental
10 PiMakarov/textkd-p4-fewshot-distilbert

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

22
Experimental
11 jingyuanz/protonet-bert-text-classification

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

22
Experimental
12 feyzaakyurek/newsframing

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

22
Experimental
13 xionghhcs/few_shot_learning

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

18
Experimental
14 kylejshaffer/few_shot_text

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

17
Experimental
15 woaksths/Classic-Self-Training

Classic Self-Training for Few Shot Text Classification

16
Experimental
16 Bayer-Group/xtars-naacl2022

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

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

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

11
Experimental