|
|
|
from __gin__ import dynamic_registration |
|
from t5x import utils |
|
import tasks |
|
import __main__ as train_script |
|
|
|
include 'large_nl36.gin' |
|
include 't5x/configs/runs/pretrain.gin' |
|
|
|
|
|
|
|
train_script.train: |
|
eval_period = 10000 |
|
|
|
utils.SaveCheckpointConfig: |
|
period = 10000 |
|
keep = 10 |
|
|
|
utils.create_learning_rate_scheduler: |
|
base_learning_rate = 0.1 |
|
|
|
MIXTURE_OR_TASK_NAME = "pretrain_finnish" |
|
USE_CACHED_TASKS = False |
|
TASK_FEATURE_LENGTHS = {"inputs": 512, "targets": 512} |
|
TRAIN_STEPS = 1000000 |
|
DROPOUT_RATE = 0.0 |
|
BATCH_SIZE = 32 |