ArthurZ HF staff sanchit-gandhi HF staff commited on
Commit
a4a47bc
1 Parent(s): 468057c

Add forced decoder ids (#2)

Browse files

- Add forced decoder ids (463445a5528ffa20c59e7f4edf6d34faa6657a67)


Co-authored-by: Sanchit Gandhi <sanchit-gandhi@users.noreply.huggingface.co>

Files changed (1) hide show
  1. config.json +18 -0
config.json CHANGED
@@ -23,6 +23,24 @@
23
  "encoder_layerdrop": 0.0,
24
  "encoder_layers": 32,
25
  "eos_token_id": 50256,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  "init_std": 0.02,
27
  "is_encoder_decoder": true,
28
  "max_source_positions": 1500,
 
23
  "encoder_layerdrop": 0.0,
24
  "encoder_layers": 32,
25
  "eos_token_id": 50256,
26
+ "forced_decoder_ids": [
27
+ [
28
+ 1,
29
+ 50258
30
+ ],
31
+ [
32
+ 2,
33
+ 50259
34
+ ],
35
+ [
36
+ 3,
37
+ 50359
38
+ ],
39
+ [
40
+ 4,
41
+ 50363
42
+ ]
43
+ ],
44
  "init_std": 0.02,
45
  "is_encoder_decoder": true,
46
  "max_source_positions": 1500,