nicher92 commited on
Commit
c584ff4
1 Parent(s): 20a8928

Upload model

Browse files
Files changed (3) hide show
  1. config.json +59 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AI-Sweden-Models/gpt-sw3-6.7b-v2",
3
+ "activation_function": "gelu",
4
+ "apply_query_key_layer_scaling": true,
5
+ "architectures": [
6
+ "GPT2LMHeadModel"
7
+ ],
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 1,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 1,
12
+ "initializer_range": 0.01,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt2",
15
+ "n_embd": 4096,
16
+ "n_head": 32,
17
+ "n_inner": 16384,
18
+ "n_layer": 32,
19
+ "n_positions": 2048,
20
+ "normalize_attention_scores": true,
21
+ "pad_token_id": 0,
22
+ "quantization_config": {
23
+ "batch_size": 1,
24
+ "bits": 4,
25
+ "block_name_to_quantize": "transformer.h",
26
+ "damp_percent": 0.1,
27
+ "dataset": "c4",
28
+ "desc_act": false,
29
+ "disable_exllama": true,
30
+ "group_size": 128,
31
+ "max_input_length": null,
32
+ "model_seqlen": 2048,
33
+ "module_name_preceding_first_block": [
34
+ "transformer.wte",
35
+ "transformer.wpe",
36
+ "transformer.drop"
37
+ ],
38
+ "pad_token_id": null,
39
+ "quant_method": "gptq",
40
+ "sym": true,
41
+ "tokenizer": null,
42
+ "true_sequential": true,
43
+ "use_cuda_fp16": true
44
+ },
45
+ "reorder_and_upcast_attn": false,
46
+ "resid_pdrop": 0.1,
47
+ "scale_attn_by_inverse_layer_idx": false,
48
+ "scale_attn_weights": true,
49
+ "summary_activation": null,
50
+ "summary_first_dropout": 0.1,
51
+ "summary_proj_to_labels": true,
52
+ "summary_type": "cls_index",
53
+ "summary_use_proj": true,
54
+ "tokenizer_class": "GPTSw3Tokenizer",
55
+ "torch_dtype": "float16",
56
+ "transformers_version": "4.34.1",
57
+ "use_cache": true,
58
+ "vocab_size": 64000
59
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.34.1"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bec4f9636aa6feda8d1c1edb4a13734f8c878ed41309eda658394c8cad5d8a3
3
+ size 3895468698