Kiyoung Kim
Kiyoung Kim
I tested text_classification code with tpu and gpu versions shown below. tpu(colab with 8cores) and gpu(colab) versions take 2min and 17min, respectively, which is nice. Training gpu version gives good...
```train_dataset``` in TFtrainer needs ```(features, labels)```, but TFGpt2 does not need labels (document in TFGPT2LMHeadModel). Do I know the data format for TFTrainer for TFGpt2? I have tried this code,...
I trained models with ```Trainer(pytorch)``` and ```TfTrainer(tensorflow)```, repectively. With ```Trainer```, everything is ok. Saved models are directly applicable to huggingface pipeline (eg, AutoModel('model_name')). But with save models from ```TFTrainer``` (ckpt...
I am pretraining T5 and Bart. I noticed that the padding token for ```labels``` of these models should be -100 for ```decoder_input_ids```. I change the padding token for labels for...