← all repositories

timoschick/pet

A semi-supervised training procedure for few-shot NLP tasks that reformulates inputs as cloze-style phrases.

1.6k stars Python ML FrameworksLanguage Models
pet
Velocity · 7d
+0.7
★ / day
Trend
steady
star history

Pattern-Exploiting Training (PET) is a semi-supervised training procedure for language models that reformulates input examples as cloze-style phrases. It outperforms regular supervised training and even GPT-3 in low-resource settings while requiring 99.9% fewer parameters. The iterative variant iPET trains multiple generations of models and can operate without any training data, making it effective for few-shot text classification and natural language inference tasks.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.