Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +54 -0
- mistral_float16_tp1_rank0.engine +3 -0
- model.cache +0 -0
- special_tokens_map.json +5 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +43 -0
.gitattributes
CHANGED
@@ -49,3 +49,4 @@ mistral-7b-instruct-v0.1.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
|
49 |
mistral-7b-instruct-v0.1.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
50 |
mistral-7b-instruct-v0.1.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
51 |
mistral-7b-instruct-v0.1.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
49 |
mistral-7b-instruct-v0.1.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
50 |
mistral-7b-instruct-v0.1.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
51 |
mistral-7b-instruct-v0.1.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
52 |
+
mistral_float16_tp1_rank0.engine filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"builder_config": {
|
3 |
+
"gather_all_token_logits": false,
|
4 |
+
"hidden_act": "silu",
|
5 |
+
"hidden_size": 4096,
|
6 |
+
"int8": true,
|
7 |
+
"lora_target_modules": [],
|
8 |
+
"max_batch_size": 8,
|
9 |
+
"max_beam_width": 1,
|
10 |
+
"max_input_len": 2048,
|
11 |
+
"max_num_tokens": null,
|
12 |
+
"max_output_len": 512,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"max_prompt_embedding_table_size": 0,
|
15 |
+
"name": "llama",
|
16 |
+
"num_heads": 32,
|
17 |
+
"num_kv_heads": 8,
|
18 |
+
"num_layers": 32,
|
19 |
+
"parallel_build": false,
|
20 |
+
"pipeline_parallel": 1,
|
21 |
+
"precision": "float16",
|
22 |
+
"quant_mode": 33,
|
23 |
+
"tensor_parallel": 1,
|
24 |
+
"use_refit": false,
|
25 |
+
"vocab_size": 32000
|
26 |
+
},
|
27 |
+
"plugin_config": {
|
28 |
+
"attention_qk_half_accumulation": false,
|
29 |
+
"bert_attention_plugin": false,
|
30 |
+
"context_fmha_type": 1,
|
31 |
+
"gemm_plugin": "float16",
|
32 |
+
"gpt_attention_plugin": "float16",
|
33 |
+
"identity_plugin": false,
|
34 |
+
"layernorm_plugin": false,
|
35 |
+
"layernorm_quantization_plugin": false,
|
36 |
+
"lookup_plugin": false,
|
37 |
+
"lora_plugin": false,
|
38 |
+
"multi_block_mode": false,
|
39 |
+
"nccl_plugin": false,
|
40 |
+
"paged_kv_cache": false,
|
41 |
+
"quantize_per_token_plugin": false,
|
42 |
+
"quantize_tensor_plugin": false,
|
43 |
+
"remove_input_padding": true,
|
44 |
+
"rmsnorm_plugin": false,
|
45 |
+
"rmsnorm_quantization_plugin": false,
|
46 |
+
"smooth_quant_gemm_plugin": false,
|
47 |
+
"tokens_per_block": 0,
|
48 |
+
"use_context_fmha_for_generation": false,
|
49 |
+
"use_custom_all_reduce": false,
|
50 |
+
"use_paged_context_fmha": false,
|
51 |
+
"weight_only_groupwise_quant_matmul_plugin": "float16",
|
52 |
+
"weight_only_quant_matmul_plugin": false
|
53 |
+
}
|
54 |
+
}
|
mistral_float16_tp1_rank0.engine
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c9f31e878f3a698062f1883e3a5b6f7a2db4a4b344d0b156ceea7c7c54fc2b5
|
3 |
+
size 3935996836
|
model.cache
ADDED
Binary file (223 kB). View file
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"unk_token": "<unk>"
|
5 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"additional_special_tokens": [],
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token + ' ' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": null,
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|