pere commited on
Commit
7f0d53d
1 Parent(s): 4b9e4b8
__pycache__/my_metrics.cpython-38.pyc ADDED
Binary file (446 Bytes). View file
 
__pycache__/tasks.cpython-38.pyc ADDED
Binary file (3.88 kB). View file
 
finetune_summary_large.gin CHANGED
@@ -11,7 +11,7 @@ include "t5x/examples/t5/mt5/large.gin"
11
  include "t5x/configs/runs/finetune.gin"
12
 
13
  MIXTURE_OR_TASK_NAME = %gin.REQUIRED
14
- TASK_FEATURE_LENGTHS = {"inputs": 2048, "targets": 64}
15
  INITIAL_CHECKPOINT_PATH = %gin.REQUIRED
16
  TRAIN_STEPS = %gin.REQUIRED # 1000000 pre-trained steps + 10000 fine-tuning steps.
17
  USE_CACHED_TASKS = False
 
11
  include "t5x/configs/runs/finetune.gin"
12
 
13
  MIXTURE_OR_TASK_NAME = %gin.REQUIRED
14
+ TASK_FEATURE_LENGTHS = {"inputs": 512, "targets": 64}
15
  INITIAL_CHECKPOINT_PATH = %gin.REQUIRED
16
  TRAIN_STEPS = %gin.REQUIRED # 1000000 pre-trained steps + 10000 fine-tuning steps.
17
  USE_CACHED_TASKS = False
summary_large.sh CHANGED
@@ -10,5 +10,5 @@ python3 ../../t5x/t5x/train.py \
10
  --gin.TRAIN_STEPS=${TRAIN_STEPS} \
11
  --gin_file="finetune_summary_large.gin" \
12
  --gin.MIXTURE_OR_TASK_NAME=\"summary\" \
13
- --gin.MODEL_DIR=\"gs://nb-t5x-us-central2/finetuned/summary_v1_NCC_large\" \
14
  --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH} \
 
10
  --gin.TRAIN_STEPS=${TRAIN_STEPS} \
11
  --gin_file="finetune_summary_large.gin" \
12
  --gin.MIXTURE_OR_TASK_NAME=\"summary\" \
13
+ --gin.MODEL_DIR=\"gs://nb-t5x-us-central2/finetuned/summary_v4_NCC_large\" \
14
  --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH} \
tasks.py CHANGED
@@ -21,8 +21,8 @@ tsv_parliament_path = {
21
 
22
  tsv_summary_path = {
23
  "train": "gs://north-t5x/corpus/summary_test/norwegian_train.tsv",
24
- "validation": "gs://north-t5x/corpus/summary_test/nrk_test.tsv",
25
- "test": "gs://north-t5x/corpus/summary_test/nrk_test.tsv"
26
  }
27
 
28
  tsv_translate_path = {
 
21
 
22
  tsv_summary_path = {
23
  "train": "gs://north-t5x/corpus/summary_test/norwegian_train.tsv",
24
+ "validation": "gs://north-t5x/corpus/summary_test/test.tsv",
25
+ "test": "gs://north-t5x/corpus/summary_test/test.tsv"
26
  }
27
 
28
  tsv_translate_path = {