OpeoluwaAdekoya
commited on
Commit
•
6f0d6e2
1
Parent(s):
c710897
commit files to HF hub
Browse files- .gitattributes +1 -0
- config.json +42 -0
- generation_config.json +7 -0
- special_tokens_map.json +7 -1
- tokenizer.json +0 -0
- tokenizer_config.json +4 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "TheBloke/Mistral-7B-Instruct-v0.1-GPTQ",
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"MistralForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"eos_token_id": 50256,
|
10 |
+
"gradient_checkpointing": true,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 4096,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 16384,
|
15 |
+
"layer_norm_epsilon": 1e-05,
|
16 |
+
"max_position_embeddings": 1024,
|
17 |
+
"model_type": "mistral",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_hidden_layers": 32,
|
20 |
+
"num_key_value_heads": 8,
|
21 |
+
"pad_token_id": 50256,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"quantization_config": {
|
24 |
+
"bits": 4,
|
25 |
+
"damp_percent": 0.1,
|
26 |
+
"desc_act": true,
|
27 |
+
"group_size": 128,
|
28 |
+
"model_file_base_name": "model",
|
29 |
+
"model_name_or_path": null,
|
30 |
+
"quant_method": "gptq",
|
31 |
+
"sym": true,
|
32 |
+
"true_sequential": true
|
33 |
+
},
|
34 |
+
"rms_norm_eps": 1e-05,
|
35 |
+
"rope_theta": 10000.0,
|
36 |
+
"sliding_window": 4096,
|
37 |
+
"tie_word_embeddings": false,
|
38 |
+
"torch_dtype": "bfloat16",
|
39 |
+
"transformers_version": "4.42.0.dev0",
|
40 |
+
"use_cache": false,
|
41 |
+
"vocab_size": 32000
|
42 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 2,
|
6 |
+
"transformers_version": "4.42.0.dev0"
|
7 |
+
}
|
special_tokens_map.json
CHANGED
@@ -13,7 +13,13 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
-
"pad_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
"unk_token": {
|
18 |
"content": "<unk>",
|
19 |
"lstrip": false,
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
"unk_token": {
|
24 |
"content": "<unk>",
|
25 |
"lstrip": false,
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -34,11 +34,15 @@
|
|
34 |
"clean_up_tokenization_spaces": false,
|
35 |
"eos_token": "</s>",
|
36 |
"legacy": true,
|
|
|
37 |
"model_max_length": 1000000000000000019884624838656,
|
38 |
"pad_token": "</s>",
|
39 |
"sp_model_kwargs": {},
|
40 |
"spaces_between_special_tokens": false,
|
|
|
41 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
|
|
42 |
"unk_token": "<unk>",
|
43 |
"use_default_system_prompt": true
|
44 |
}
|
|
|
34 |
"clean_up_tokenization_spaces": false,
|
35 |
"eos_token": "</s>",
|
36 |
"legacy": true,
|
37 |
+
"max_length": 512,
|
38 |
"model_max_length": 1000000000000000019884624838656,
|
39 |
"pad_token": "</s>",
|
40 |
"sp_model_kwargs": {},
|
41 |
"spaces_between_special_tokens": false,
|
42 |
+
"stride": 0,
|
43 |
"tokenizer_class": "LlamaTokenizer",
|
44 |
+
"truncation_side": "right",
|
45 |
+
"truncation_strategy": "longest_first",
|
46 |
"unk_token": "<unk>",
|
47 |
"use_default_system_prompt": true
|
48 |
}
|