timoschick / pet

This repository contains the code for "Exploiting Cloze Questions for Few-Shot Text Classification and Natural Language Inference"
https://arxiv.org/abs/2001.07676
Apache License 2.0
1.62k stars 283 forks source link

Code for PETAL #21

Closed sshleifer closed 3 years ago

sshleifer commented 3 years ago

I was wondering if the code for https://arxiv.org/pdf/2010.13641.pdf is included in this repository or somewhere else? This is the link in the paper. Thanks in advance!

timoschick commented 3 years ago

Hi @sshleifer , thanks for pointing this out, I totally forgot to update this repo. You can now find the original version of PETAL in the v1.1.0 branch, the corresponding file is called petal.py. I have also modified petal.py to work with the current version of PET and added it to the master branch, but I have not yet thoroughly tested whether everything works correctly in this updated version.

sshleifer commented 3 years ago

Thanks!