TheBloke commited on
Commit
64cf513
1 Parent(s): 2a2cae4

AWQ model commit

Browse files
LICENSE ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Business Source License 1.1
2
+
3
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
4
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
5
+
6
+ -----------------------------------------------------------------------------
7
+
8
+ Parameters
9
+
10
+ Licensor: Emergent AGI Inc.
11
+
12
+ Licensed Work: SciPhi/Sensei-7B-V1
13
+ The Licensed Work is (c) 2023 SciPhi
14
+
15
+ Change License: GNU General Public License v2.0 or later
16
+
17
+ -----------------------------------------------------------------------------
18
+
19
+ Terms
20
+
21
+ The Licensor hereby grants you the right to copy, modify, create derivative
22
+ works, redistribute, and make non-production use of the Licensed Work. The
23
+ Licensor may make an Additional Use Grant, above, permitting limited
24
+ production use.
25
+
26
+ Effective on the Change Date, or the fourth anniversary of the first publicly
27
+ available distribution of a specific version of the Licensed Work under this
28
+ License, whichever comes first, the Licensor hereby grants you rights under
29
+ the terms of the Change License, and the rights granted in the paragraph
30
+ above terminate.
31
+
32
+ If your use of the Licensed Work does not comply with the requirements
33
+ currently in effect as described in this License, you must purchase a
34
+ commercial license from the Licensor, its affiliated entities, or authorized
35
+ resellers, or you must refrain from using the Licensed Work.
36
+
37
+ All copies of the original and modified Licensed Work, and derivative works
38
+ of the Licensed Work, are subject to this License. This License applies
39
+ separately for each version of the Licensed Work and the Change Date may vary
40
+ for each version of the Licensed Work released by Licensor.
41
+
42
+ You must conspicuously display this License on each original or modified copy
43
+ of the Licensed Work. If you receive the Licensed Work in original or
44
+ modified form from a third party, the terms and conditions set forth in this
45
+ License apply to your use of that work.
46
+
47
+ Any use of the Licensed Work in violation of this License will automatically
48
+ terminate your rights under this License for the current and all other
49
+ versions of the Licensed Work.
50
+
51
+ This License does not grant you any right in any trademark or logo of
52
+ Licensor or its affiliates (provided that you may use a trademark or logo of
53
+ Licensor as expressly required by this License).
54
+
55
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
56
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
57
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
58
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
59
+ TITLE.
60
+
61
+ MariaDB hereby grants you permission to use this License’s text to license
62
+ your works, and to refer to it using the trademark "Business Source License",
63
+ as long as you comply with the Covenants of Licensor below.
64
+
65
+ -----------------------------------------------------------------------------
66
+
67
+ Covenants of Licensor
68
+
69
+ In consideration of the right to use this License’s text and the "Business
70
+ Source License" name and trademark, Licensor covenants to MariaDB, and to all
71
+ other recipients of the licensed work to be provided by Licensor:
72
+
73
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
74
+ or a license that is compatible with GPL Version 2.0 or a later version,
75
+ where "compatible" means that software provided under the Change License can
76
+ be included in a program with software provided under GPL Version 2.0 or a
77
+ later version. Licensor may specify additional Change Licenses without
78
+ limitation.
79
+
80
+ 2. To either: (a) specify an additional grant of rights to use that does not
81
+ impose any additional restriction on the right granted in this License, as
82
+ the Additional Use Grant; or (b) insert the text "None".
83
+
84
+ 3. To specify a Change Date.
85
+
86
+ 4. Not to modify this License in any other way.
87
+
88
+ -----------------------------------------------------------------------------
89
+
90
+ Notice
91
+
92
+ The Business Source License (this document, or the "License") is not an Open
93
+ Source license. However, the Licensed Work will eventually be made available
94
+ under an Open Source License, as stated in this License.
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/workspace/process/sciphi_sensei-7b-v1/source",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 14336,
13
+ "max_position_embeddings": 32768,
14
+ "model_type": "mistral",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
17
+ "num_key_value_heads": 8,
18
+ "pad_token_id": 0,
19
+ "pretraining_tp": 1,
20
+ "quantization_config": {
21
+ "bits": 4,
22
+ "group_size": 128,
23
+ "quant_method": "awq",
24
+ "version": "gemm",
25
+ "zero_point": true
26
+ },
27
+ "rms_norm_eps": 1e-05,
28
+ "rope_theta": 10000.0,
29
+ "sliding_window": 4096,
30
+ "tie_word_embeddings": false,
31
+ "torch_dtype": "float16",
32
+ "transformers_version": "4.35.2",
33
+ "use_cache": true,
34
+ "vocab_size": 32000
35
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.36.2"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1eab3190751cd650d46e410e603484678aca720628b05659f48f9de39485b70f
3
+ size 4150880232
quant_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "zero_point": true,
3
+ "q_group_size": 128,
4
+ "w_bit": 4,
5
+ "version": "GEMM"
6
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
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,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": true,
35
+ "model_max_length": 1000000000000000019884624838656,
36
+ "pad_token": "</s>",
37
+ "sp_model_kwargs": {},
38
+ "spaces_between_special_tokens": false,
39
+ "tokenizer_class": "LlamaTokenizer",
40
+ "trust_remote_code": true,
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false,
43
+ "use_fast": true
44
+ }