Text Generation
Transformers
PyTorch
code
gpt2
custom_code
Eval Results
text-generation-inference
Inference Endpoints
loubnabnl HF staff nickhugs commited on
Commit
0b048f3
1 Parent(s): 6a4fb77

Update eos_token_id / bos_token_id in config.json (#19)

Browse files

- Update eos_token_id / bos_token_id in config.json (fb44eff34ade2abe395a5f5108b9f7eb47ead6ee)


Co-authored-by: Nick Hill <nickhugs@users.noreply.huggingface.co>

Files changed (1) hide show
  1. config.json +2 -2
config.json CHANGED
@@ -9,9 +9,9 @@
9
  "AutoConfig": "configuration_gpt2_mq.GPT2CustomConfig",
10
  "AutoModelForCausalLM": "modeling_gpt2_mq.GPT2LMHeadCustomModel"
11
  },
12
- "bos_token_id": 50256,
13
  "embd_pdrop": 0.1,
14
- "eos_token_id": 50256,
15
  "initializer_range": 0.02,
16
  "layer_norm_epsilon": 1e-05,
17
  "model_type": "gpt2",
 
9
  "AutoConfig": "configuration_gpt2_mq.GPT2CustomConfig",
10
  "AutoModelForCausalLM": "modeling_gpt2_mq.GPT2LMHeadCustomModel"
11
  },
12
+ "bos_token_id": 49152,
13
  "embd_pdrop": 0.1,
14
+ "eos_token_id": 49152,
15
  "initializer_range": 0.02,
16
  "layer_norm_epsilon": 1e-05,
17
  "model_type": "gpt2",