PocketDoc commited on
Commit
9db677c
·
verified ·
1 Parent(s): 9edacb5

Upload 5 files

Browse files
Files changed (3) hide show
  1. config.json +4 -4
  2. generation_config.json +2 -1
  3. tokenizer_config.json +1 -0
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "Dans-DiscountModels/mistral-7b-v0.3-ChatML",
3
  "architectures": [
4
  "MistralForCausalLM"
5
  ],
@@ -21,9 +21,9 @@
21
  "rope_theta": 1000000.0,
22
  "sliding_window": null,
23
  "tie_word_embeddings": false,
24
- "torch_dtype": "float16",
25
- "transformers_version": "4.46.3",
26
  "unsloth_version": "2024.9",
27
- "use_cache": true,
28
  "vocab_size": 32768
29
  }
 
1
  {
2
+ "_name_or_path": "/run/media/pocketdoc/extended-storage/Models/Mistral-7b-v0.3-ChatML",
3
  "architectures": [
4
  "MistralForCausalLM"
5
  ],
 
21
  "rope_theta": 1000000.0,
22
  "sliding_window": null,
23
  "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.46.1",
26
  "unsloth_version": "2024.9",
27
+ "use_cache": false,
28
  "vocab_size": 32768
29
  }
generation_config.json CHANGED
@@ -1,8 +1,9 @@
1
  {
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
 
4
  "eos_token_id": 2,
5
  "max_length": 32768,
6
  "pad_token_id": 770,
7
- "transformers_version": "4.46.3"
8
  }
 
1
  {
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
+ "do_sample": true,
5
  "eos_token_id": 2,
6
  "max_length": 32768,
7
  "pad_token_id": 770,
8
+ "transformers_version": "4.46.1"
9
  }
tokenizer_config.json CHANGED
@@ -6173,6 +6173,7 @@
6173
  }
6174
  },
6175
  "bos_token": "<s>",
 
6176
  "clean_up_tokenization_spaces": false,
6177
  "eos_token": "<|im_end|>",
6178
  "legacy": false,
 
6173
  }
6174
  },
6175
  "bos_token": "<s>",
6176
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
6177
  "clean_up_tokenization_spaces": false,
6178
  "eos_token": "<|im_end|>",
6179
  "legacy": false,