michaelfeil rawsh commited on
Commit
d2ce5c8
·
verified ·
1 Parent(s): c9446bf

Add padding token to config (fix batched generation) (#1)

Browse files

- Add padding token to config (fix batched generation) (d3e76ede0b2024b2f7a38e9b764756af7c8eaf58)


Co-authored-by: robert washbourne <[email protected]>

Files changed (1) hide show
  1. config.json +1 -0
config.json CHANGED
@@ -6,6 +6,7 @@
6
  "attention_dropout": 0.0,
7
  "bos_token_id": 151643,
8
  "eos_token_id": 151645,
 
9
  "hidden_act": "silu",
10
  "hidden_size": 896,
11
  "id2label": {
 
6
  "attention_dropout": 0.0,
7
  "bos_token_id": 151643,
8
  "eos_token_id": 151645,
9
+ "pad_token_id": 151643,
10
  "hidden_act": "silu",
11
  "hidden_size": 896,
12
  "id2label": {