williamcaban
commited on
Commit
•
12407a4
1
Parent(s):
e7b98ab
Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- added_tokens.json +7 -0
- config.json +82 -0
- ggml-model-Q4_K_M.gguf +3 -0
- ggml-model-f16.gguf +3 -0
- model.safetensors +3 -0
- special_tokens_map.json +35 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +86 -0
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ 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 |
+
ggml-model-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
ggml-model-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
added_tokens.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|assistant|>": 32003,
|
3 |
+
"<|endoftext|>": 32000,
|
4 |
+
"<|pad|>": 32001,
|
5 |
+
"<|system|>": 32004,
|
6 |
+
"<|user|>": 32002
|
7 |
+
}
|
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"vocab_size": 32008,
|
3 |
+
"max_position_embeddings": 2048,
|
4 |
+
"hidden_size": 4096,
|
5 |
+
"intermediate_size": 11008,
|
6 |
+
"num_hidden_layers": 32,
|
7 |
+
"num_attention_heads": 32,
|
8 |
+
"num_key_value_heads": 32,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"rms_norm_eps": 1e-05,
|
12 |
+
"pretraining_tp": 1,
|
13 |
+
"use_cache": true,
|
14 |
+
"rope_theta": 10000.0,
|
15 |
+
"rope_scaling": null,
|
16 |
+
"attention_bias": false,
|
17 |
+
"attention_dropout": 0.0,
|
18 |
+
"return_dict": true,
|
19 |
+
"output_hidden_states": false,
|
20 |
+
"output_attentions": false,
|
21 |
+
"torchscript": false,
|
22 |
+
"torch_dtype": null,
|
23 |
+
"use_bfloat16": false,
|
24 |
+
"tf_legacy_loss": false,
|
25 |
+
"pruned_heads": {},
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"chunk_size_feed_forward": 0,
|
28 |
+
"is_encoder_decoder": false,
|
29 |
+
"is_decoder": false,
|
30 |
+
"cross_attention_hidden_size": null,
|
31 |
+
"add_cross_attention": false,
|
32 |
+
"tie_encoder_decoder": false,
|
33 |
+
"max_length": 20,
|
34 |
+
"min_length": 0,
|
35 |
+
"do_sample": false,
|
36 |
+
"early_stopping": false,
|
37 |
+
"num_beams": 1,
|
38 |
+
"num_beam_groups": 1,
|
39 |
+
"diversity_penalty": 0.0,
|
40 |
+
"temperature": 1.0,
|
41 |
+
"top_k": 50,
|
42 |
+
"top_p": 1.0,
|
43 |
+
"typical_p": 1.0,
|
44 |
+
"repetition_penalty": 1.0,
|
45 |
+
"length_penalty": 1.0,
|
46 |
+
"no_repeat_ngram_size": 0,
|
47 |
+
"encoder_no_repeat_ngram_size": 0,
|
48 |
+
"bad_words_ids": null,
|
49 |
+
"num_return_sequences": 1,
|
50 |
+
"output_scores": false,
|
51 |
+
"return_dict_in_generate": false,
|
52 |
+
"forced_bos_token_id": null,
|
53 |
+
"forced_eos_token_id": null,
|
54 |
+
"remove_invalid_values": false,
|
55 |
+
"exponential_decay_length_penalty": null,
|
56 |
+
"suppress_tokens": null,
|
57 |
+
"begin_suppress_tokens": null,
|
58 |
+
"architectures": [
|
59 |
+
"LlamaForCausalLM"
|
60 |
+
],
|
61 |
+
"finetuning_task": null,
|
62 |
+
"id2label": {
|
63 |
+
"0": "LABEL_0",
|
64 |
+
"1": "LABEL_1"
|
65 |
+
},
|
66 |
+
"label2id": {
|
67 |
+
"LABEL_0": 0,
|
68 |
+
"LABEL_1": 1
|
69 |
+
},
|
70 |
+
"tokenizer_class": null,
|
71 |
+
"prefix": null,
|
72 |
+
"bos_token_id": 1,
|
73 |
+
"pad_token_id": null,
|
74 |
+
"eos_token_id": 2,
|
75 |
+
"sep_token_id": null,
|
76 |
+
"decoder_start_token_id": null,
|
77 |
+
"task_specific_params": null,
|
78 |
+
"problem_type": null,
|
79 |
+
"_name_or_path": "instructlab-granite-7b-lab-mlx-q-fused",
|
80 |
+
"transformers_version": "4.40.2",
|
81 |
+
"model_type": "llama"
|
82 |
+
}
|
ggml-model-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc6cf97598776eca3667e86345e503b2092bb12839197bf9f52f616208b3b122
|
3 |
+
size 4081050304
|
ggml-model-f16.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1eddc043bdb8c615c4b1656d3cb04f86da95b98a420ad9dfe424e5cff01d4ad5
|
3 |
+
size 13478236576
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83f7f1fa7276fd7c8cacbfded102c30984d146a18e1b2f61e9c87862fa49e7dd
|
3 |
+
size 13476996016
|
special_tokens_map.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|system|>",
|
4 |
+
"<|user|>",
|
5 |
+
"<|assistant|>"
|
6 |
+
],
|
7 |
+
"bos_token": {
|
8 |
+
"content": "<s>",
|
9 |
+
"lstrip": false,
|
10 |
+
"normalized": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"single_word": false
|
13 |
+
},
|
14 |
+
"eos_token": {
|
15 |
+
"content": "<|endoftext|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"pad_token": {
|
22 |
+
"content": "<|pad|>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
},
|
28 |
+
"unk_token": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false
|
34 |
+
}
|
35 |
+
}
|
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
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 |
+
"32000": {
|
30 |
+
"content": "<|endoftext|>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "<|pad|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32002": {
|
46 |
+
"content": "<|user|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"32003": {
|
54 |
+
"content": "<|assistant|>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"32004": {
|
62 |
+
"content": "<|system|>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
}
|
69 |
+
},
|
70 |
+
"additional_special_tokens": [
|
71 |
+
"<|system|>",
|
72 |
+
"<|user|>",
|
73 |
+
"<|assistant|>"
|
74 |
+
],
|
75 |
+
"bos_token": "<s>",
|
76 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{'<|system|>'+ '\n' + message['content'] + '\n'}}{% elif message['role'] == 'user' %}{{'<|user|>' + '\n' + message['content'] + '\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>' + '\n' + message['content'] + '<|endoftext|>' + ('' if loop.last else '\n')}}{% endif %}{% endfor %}",
|
77 |
+
"clean_up_tokenization_spaces": false,
|
78 |
+
"eos_token": "<|endoftext|>",
|
79 |
+
"fast_tokenizer": true,
|
80 |
+
"model_max_length": 1000000000000000019884624838656,
|
81 |
+
"pad_token": "<|pad|>",
|
82 |
+
"sp_model_kwargs": {},
|
83 |
+
"tokenizer_class": "LlamaTokenizer",
|
84 |
+
"unk_token": "<unk>",
|
85 |
+
"use_default_system_prompt": false
|
86 |
+
}
|