Skip to content

kinit-sk/task-prompt-vectors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task prompt vectors

This repository serves as supplementary material to our experiments with Task Prompt Vectors. The current state is experimental and in progress and we are working on refactoring our code in this repository to be more replicable and self-explanatory.

Install requirements

pip install -r requirements.txt

Download pre-trained soft-prompts and taks prompt vectors

wget LINK

Run fewshot Experiments

./run_fewshot [nli, cls, sent]

Run Prompt Tuning

python prompt_tuning.py {path_to_config}

About

Prompt arithmetics experiments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published