plotmachines icon indicating copy to clipboard operation
plotmachines copied to clipboard

Where is the file train_encoded_gpt2.pkl created?

Open ryanmiller1988 opened this issue 4 years ago • 2 comments

Would like to run train.py using the example provided in README.md:

python train.py --data_dir datadir --output_dir savedir --experiment_name pmfull --accum_iter 4 --n_batch 64 --p 90 --num_epochs 10 --use_model plotmachines --use_neighbor_feat --use_discourse

This produces a file not found error, the code is looking for train_encoded_gpt2.pkl in the data directory.

How or where does this pickle file first get created?

Turning off use_neighbor_feat and/or use_discourse has no effect, same error.

ryanmiller1988 avatar Jun 19 '20 16:06 ryanmiller1988

From my understanding, the pkl file should be created by using the tfmclassifier function, though I could not find in their code a call to the function that creates the pkl file. Were you able to get the full model running?

lourdescrivelli avatar Aug 17 '20 15:08 lourdescrivelli

This code can generate .pkl files successfully.

audreycs avatar Oct 26 '22 07:10 audreycs