ucinlp/autoprompt

AutoPrompt: Automatic Prompt Construction for Masked Language Models.

39
/ 100
Emerging

Uses gradient-guided search to automatically discover trigger token sequences that prompt masked language models (BERT, RoBERTa) to perform downstream tasks without task-specific fine-tuning. Supports sentiment analysis, natural language inference, fact retrieval, and relation extraction through customizable prompt templates with placeholder substitution. Integrates with the LAMA framework for knowledge probing evaluation and provides utilities for automatic label token selection via discrete optimization.

641 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 20 / 25

How are scores calculated?

Stars

641

Forks

86

Language

Python

License

Apache-2.0

Last pushed

Aug 24, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/ucinlp/autoprompt"

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