zjunlp/DART

★ 131⑂ 17

[ICLR 2022] Differentiable Prompt Makes Pre-trained Language Models Better Few-shot Learners

About zjunlp/DART

zjunlp/DART is an open-source project on GitHub, mainly written in Python. [ICLR 2022] Differentiable Prompt Makes Pre-trained Language Models Better Few-shot Learners It currently holds 131 stars and 17 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Prompt Engineering board.

GitHub Repository Details

Repository zjunlp/DART · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

DART

Implementation for ICLR2022 paper Differentiable Prompt Makes Pre-trained Language Models Better Few-shot Learners.

Environment

Data source

How to run

$ python run.py -h  
usage: run.py [-h] [--config CONFIG] [--do_train] [--do_test]

optional arguments: -h, --help show this help message and exit --config CONFIG, -c CONFIG Configuration file storing all parameters --do_train --do_test

$ python sweep.py -h
usage: sweep.py [-h] [--project_name PROJECT_NAME] --task_name TASK_NAME
                [--data_split {13,21,42,87,100}]
                [--pretrain_model PRETRAIN_MODEL] [--pet_method {pet,diffpet}]
                [--random_seed RANDOM_SEED] [--max_run MAX_RUN]

optional arguments: -h, --help show this help message and exit --project_name PROJECT_NAME project name for sweep --task_name TASK_NAME --data_split {13,21,42,87,100} few-shot split-id for GLUE dataset --pretrain_model PRETRAIN_MODEL name or path for pretrained model --pet_method {pet,diffpet} prompt encoding method --random_seed RANDOM_SEED random seed for training --max_run MAX_RUN maximum tries for sweep

How to Cite

@inproceedings{
zhang2022differentiable,
title={Differentiable Prompt Makes Pre-trained Language Models Better Few-shot Learners},
author={Ningyu Zhang and Luoqiu Li and Xiang Chen and Shumin Deng and Zhen Bi and Chuanqi Tan and Fei Huang and Huajun Chen},
booktitle={International Conference on Learning Representations},
year={2022},
url={https://openreview.net/forum?id=ek9a0qIafW}
}

GitHub Stars & Activity

131Stars
17Forks
0Open issues
PythonLanguage

GitHub Popularity

GitHub stars131
Forks17
Open issues0
Primary languagePython
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

microsoft / promptflow

Python★ 11,244⑂ 1,123
2

promptslab / Promptify

Python★ 4,635⑂ 364
3
4

hegelai / prompttools

Python★ 3,055⑂ 256
5

Eladlev / AutoPrompt

Python★ 3,019⑂ 264
6

microsoftarchive / promptbench

Python★ 2,821⑂ 222
7

yaojingang / yao-open-prompts

Python★ 2,817⑂ 461
8

YiVal / YiVal

Python★ 2,134⑂ 328

More AI Rankings