pk-nb-t5x / balanced_bokmaal_nynorsk_lm_base.gin
pere's picture
lm error
7a6dec4
raw
history blame contribute delete
727 Bytes
include 't5x/examples/t5/mt5/base.gin'
include 'pretrain_cont.gin'
#include 't5x/configs/runs/pretrain.gin'
#iinclude 't5x/configs/runs/finetune.gin'
# Register necessary SeqIO Tasks/Mixtures.
import t5.data.mixtures
import tasks
MIXTURE_OR_TASK_NAME = "balanced_bokmaal_nynorsk_prefix_lm_stream"
TASK_FEATURE_LENGTHS = {"inputs": 512, "targets": 512}
TRAIN_STEPS = 1_800_000
DROPOUT_RATE = 0.0 # Changed from the default since T5-1.1 recomments this.
INITIAL_CHECKPOINT_PATH = "gs://north-t5x/pretrained_models/base/norwegian_NCC_plus_English_pluss200k_balanced_bokmaal_nynorsk_t5x_base/checkpoint_1700000"
#PjitPartitioner.num_partitions = 2
utils.SaveCheckpointConfig.period = 5000
utils.SaveCheckpointConfig.keep = 3