Text Generation
Transformers
Safetensors
English
German
llama
goliath
deutsch
llama2
discoresearch
Inference Endpoints
text-generation-inference
jphme CyberTimon commited on
Commit
f7e859a
1 Parent(s): 6b3d82d

Fix Stop Tokens (#2)

Browse files

- Fix config and tokenizer config (8cde273da48297376af372932be8d35ebe82a980)


Co-authored-by: Timon Käch <CyberTimon@users.noreply.huggingface.co>

Files changed (2) hide show
  1. config.json +2 -2
  2. tokenizer_config.json +1 -1
config.json CHANGED
@@ -4,8 +4,8 @@
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
- "bos_token_id": 1,
8
- "eos_token_id": 2,
9
  "hidden_act": "silu",
10
  "hidden_size": 8192,
11
  "initializer_range": 0.02,
 
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
+ "bos_token_id": 32001,
8
+ "eos_token_id": 32000,
9
  "hidden_act": "silu",
10
  "hidden_size": 8192,
11
  "initializer_range": 0.02,
tokenizer_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "add_bos_token": true,
3
- "add_eos_token": false,
4
  "added_tokens_decoder": {
5
  "0": {
6
  "content": "<unk>",
 
1
  {
2
  "add_bos_token": true,
3
+ "add_eos_token": true,
4
  "added_tokens_decoder": {
5
  "0": {
6
  "content": "<unk>",