mrm8488 commited on
Commit
c83dc76
1 Parent(s): c81afc9

Update model ckpt

Browse files
events.out.tfevents.1626359070.t1v-n-563c3e20-w-0.350289.3.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5163ca072d1c055777c33561c14a05d09a7fd5c377e8920b9c7e4ca68a8f2933
3
+ size 40
events.out.tfevents.1626359600.t1v-n-563c3e20-w-0.352366.3.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2aa88a37e5b1fb94fa183a3c3d19f9c45c1317846365f7c55bb50be81bd10411
3
+ size 2578061
flax_model.msgpack CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3ea088f9e44b711f67c7d5b8f3acceee3c84aa1bebae63a73bc2dda271c8be07
3
  size 241981002
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecbc96476e7b655cb7cbab657aa754a03009e0458a0670d5fd63ae54fe79420a
3
  size 241981002
run.sh CHANGED
@@ -1,16 +1,16 @@
1
  ./run_t5_mlm_flax.py \
2
- --output_dir="./" \
3
  --model_type="t5" \
4
- --model_name_or_path="./" \
5
  --config_name="./" \
6
  --tokenizer_name="./" \
7
  --dataset_name="large_spanish_corpus" \
8
  --max_seq_length="512" \
9
- --per_device_train_batch_size="16" \
10
- --per_device_eval_batch_size="16" \
11
- --learning_rate="1e-3" \
 
12
  --weight_decay="0.001" \
13
- --warmup_steps="5000" \
14
  --overwrite_output_dir \
15
  --num_train_epochs="10" \
16
  --logging_steps="500" \
 
1
  ./run_t5_mlm_flax.py \
2
+ --output_dir="./t5-small-2" \
3
  --model_type="t5" \
 
4
  --config_name="./" \
5
  --tokenizer_name="./" \
6
  --dataset_name="large_spanish_corpus" \
7
  --max_seq_length="512" \
8
+ --per_device_train_batch_size="32" \
9
+ --per_device_eval_batch_size="32" \
10
+ --adafactor \
11
+ --learning_rate="0.005" \
12
  --weight_decay="0.001" \
13
+ --warmup_steps="2000" \
14
  --overwrite_output_dir \
15
  --num_train_epochs="10" \
16
  --logging_steps="500" \
t5-small-2/config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "T5ForConditionalGeneration"
4
+ ],
5
+ "d_ff": 2048,
6
+ "d_kv": 64,
7
+ "d_model": 512,
8
+ "decoder_start_token_id": 0,
9
+ "dropout_rate": 0.1,
10
+ "eos_token_id": 1,
11
+ "feed_forward_proj": "relu",
12
+ "gradient_checkpointing": false,
13
+ "initializer_factor": 1.0,
14
+ "is_encoder_decoder": true,
15
+ "layer_norm_epsilon": 1e-06,
16
+ "model_type": "t5",
17
+ "n_positions": 512,
18
+ "num_decoder_layers": 6,
19
+ "num_heads": 8,
20
+ "num_layers": 6,
21
+ "output_past": true,
22
+ "pad_token_id": 0,
23
+ "relative_attention_num_buckets": 32,
24
+ "task_specific_params": {
25
+ "summarization": {
26
+ "early_stopping": true,
27
+ "length_penalty": 2.0,
28
+ "max_length": 200,
29
+ "min_length": 30,
30
+ "no_repeat_ngram_size": 3,
31
+ "num_beams": 4,
32
+ "prefix": "summarize: "
33
+ },
34
+ "translation_en_to_de": {
35
+ "early_stopping": true,
36
+ "max_length": 300,
37
+ "num_beams": 4,
38
+ "prefix": "translate English to German: "
39
+ },
40
+ "translation_en_to_fr": {
41
+ "early_stopping": true,
42
+ "max_length": 300,
43
+ "num_beams": 4,
44
+ "prefix": "translate English to French: "
45
+ },
46
+ "translation_en_to_ro": {
47
+ "early_stopping": true,
48
+ "max_length": 300,
49
+ "num_beams": 4,
50
+ "prefix": "translate English to Romanian: "
51
+ }
52
+ },
53
+ "transformers_version": "4.9.0.dev0",
54
+ "use_cache": true,
55
+ "vocab_size": 32103
56
+ }
t5-small-2/events.out.tfevents.1626359600.t1v-n-563c3e20-w-0.352366.3.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2aa88a37e5b1fb94fa183a3c3d19f9c45c1317846365f7c55bb50be81bd10411
3
+ size 2578061
t5-small-2/flax_model.msgpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecbc96476e7b655cb7cbab657aa754a03009e0458a0670d5fd63ae54fe79420a
3
+ size 241981002