PEFT
Safetensors
German
llama
trl
sft
Generated from Trainer
Julia287 commited on
Commit
8a9b47a
·
1 Parent(s): 40a869b

Add 7B chat preview

Browse files
Files changed (2) hide show
  1. config.json +6 -6
  2. tokenizer_config.json +1 -1
config.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
- "_name_or_path": "/Users/juliawunderle/Uni/Checkpoints/iter-01430512-ckpt",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
- "bos_token_id": 1,
9
- "eos_token_id": 2,
10
  "head_dim": 128,
11
  "hidden_act": "silu",
12
  "hidden_size": 4096,
@@ -24,8 +24,8 @@
24
  "rope_scaling": null,
25
  "rope_theta": 10000.0,
26
  "tie_word_embeddings": false,
27
- "torch_dtype": "float32",
28
- "transformers_version": "4.48.2",
29
- "use_cache": true,
30
  "vocab_size": 32064
31
  }
 
1
  {
2
+ "_name_or_path": "LSX-UniWue/LLaMmlein_7B",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
+ "bos_token_id": 32011,
9
+ "eos_token_id": 32012,
10
  "head_dim": 128,
11
  "hidden_act": "silu",
12
  "hidden_size": 4096,
 
24
  "rope_scaling": null,
25
  "rope_theta": 10000.0,
26
  "tie_word_embeddings": false,
27
+ "torch_dtype": "bfloat16",
28
+ "transformers_version": "4.44.2",
29
+ "use_cache": false,
30
  "vocab_size": 32064
31
  }
tokenizer_config.json CHANGED
@@ -137,7 +137,7 @@
137
  "<|im_end|>"
138
  ],
139
  "bos_token": "<|im_start|>",
140
- "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nDu bist ein hilfreicher Assistent.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
141
  "clean_up_tokenization_spaces": false,
142
  "eos_token": "<|im_end|>",
143
  "extra_special_tokens": {},
 
137
  "<|im_end|>"
138
  ],
139
  "bos_token": "<|im_start|>",
140
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
141
  "clean_up_tokenization_spaces": false,
142
  "eos_token": "<|im_end|>",
143
  "extra_special_tokens": {},