Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PET and iPET parameters #88

Open
KsLimon opened this issue May 4, 2022 · 0 comments
Open

PET and iPET parameters #88

KsLimon opened this issue May 4, 2022 · 0 comments

Comments

@KsLimon
Copy link

KsLimon commented May 4, 2022

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 /- \
--model_type bert \
--model_name_or_path /- \
--task_name - \
--output_dir agnews-output \
--do_train \
--do_eval \
--train_examples 189186 \
--unlabeled_examples 5802 \
--split_examples_evenly \
--pet_per_gpu_train_batch_size 1 \
--pet_per_gpu_unlabeled_batch_size 3 \
--pet_gradient_accumulation_steps 4 \
--pet_max_steps 250 \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant