pet icon indicating copy to clipboard operation
pet copied to clipboard

This repository contains the code for "Exploiting Cloze Questions for Few-Shot Text Classification and Natural Language Inference"

Results 31 pet issues
Sort by recently updated
recently updated
newest added

If I were to have my data files in csv format, what should my column headers be?

Hi @timoschick , thank you very much for pushing your amazing PET tool to this repo. I am currently trying to investigate, how the random seed works, during different iteration...

Bumps [numpy](https://github.com/numpy/numpy) from 1.19 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...

dependencies

Is it possible to train ipet with pet parameters which are prefixed with `--pet_`? As a sample, ``` python cli.py \ --method ipet \ --pattern_ids 0 1 2 \ --data_dir...

below is my parameters,how counld I fix it !python "/content/drive/MyDrive/pet-master/cli.py" --method pet \ --pattern_ids 0 1 2 3 4\ --data_dir "/content/drive/MyDrive/pet-master/data/yahoo_answers_csv" \ --model_type roberta \ --model_name_or_path roberta-large \ --task_name yahoo...

Hi, What is the expected time to train PET model on yelp_full dataset (with default arguments)? I started the training the day before yesterday with a RTX 3090 GPU and...

Hi, I am excited about your new work https://aclanthology.org/2021.emnlp-main.32/ I am not sure how to find the commands for genPET variant, could you please assist me with providing me with...

Update the optimizer usage to resolve the deprecation warning from the [transformers library](https://github.com/huggingface/transformers/blob/main/src/transformers/optimization.py): "This implementation of AdamW is deprecated and will be removed in a future version. Use the PyTorch...

Hi, I want to adapt muti-token iPET to a multi-classification task. However, all examples in the paper are binary classification. I am wondering can iPET be trained for multi-classification tasks?

Hi, I am trying to train PET on a new task. I have edited `custom_task_processor.py` and `custom_task_pvp.py` in /examples for my use. So my question is how could I use...