sharpenb commited on
Commit
5c2921c
·
verified ·
1 Parent(s): 2a0c917

3b647129fcd3325575085a1f640aa33407c0f0a263e44e8f03473ef921824d6e

Browse files
Files changed (4) hide show
  1. config.json +31 -19
  2. generation_config.json +2 -2
  3. model.safetensors +3 -0
  4. smash_config.json +1 -1
config.json CHANGED
@@ -1,21 +1,22 @@
1
  {
2
- "_name_or_path": "/covalent/.cache/models/tmp4xz2tdfviscktn9o",
 
3
  "architectures": [
4
- "MistralForCausalLM"
5
  ],
6
- "attention_dropout": 0.0,
7
- "bos_token_id": 1,
8
- "eos_token_id": 2,
9
- "head_dim": 128,
10
- "hidden_act": "silu",
11
- "hidden_size": 4096,
12
  "initializer_range": 0.02,
13
- "intermediate_size": 14336,
14
- "max_position_embeddings": 32768,
15
- "model_type": "mistral",
16
- "num_attention_heads": 32,
17
- "num_hidden_layers": 32,
18
- "num_key_value_heads": 8,
 
 
19
  "quantization_config": {
20
  "_load_in_4bit": false,
21
  "_load_in_8bit": true,
@@ -33,13 +34,24 @@
33
  "load_in_8bit": true,
34
  "quant_method": "bitsandbytes"
35
  },
36
- "rms_norm_eps": 1e-05,
37
- "rope_theta": 1000000.0,
38
- "sliding_window": null,
39
- "tie_word_embeddings": false,
 
 
 
 
 
 
 
 
 
 
 
40
  "torch_dtype": "float16",
41
  "transformers_version": "4.46.2",
42
  "use_cache": true,
43
- "vocab_size": 32768,
44
  "api_key": null
45
  }
 
1
  {
2
+ "_name_or_path": "/covalent/.cache/models/tmpysopg_w8vy94jgc8",
3
+ "activation_function": "gelu_new",
4
  "architectures": [
5
+ "GPT2LMHeadModel"
6
  ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
 
 
11
  "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 768,
16
+ "n_head": 12,
17
+ "n_inner": null,
18
+ "n_layer": 12,
19
+ "n_positions": 1024,
20
  "quantization_config": {
21
  "_load_in_4bit": false,
22
  "_load_in_8bit": true,
 
34
  "load_in_8bit": true,
35
  "quant_method": "bitsandbytes"
36
  },
37
+ "reorder_and_upcast_attn": false,
38
+ "resid_pdrop": 0.1,
39
+ "scale_attn_by_inverse_layer_idx": false,
40
+ "scale_attn_weights": true,
41
+ "summary_activation": null,
42
+ "summary_first_dropout": 0.1,
43
+ "summary_proj_to_labels": true,
44
+ "summary_type": "cls_index",
45
+ "summary_use_proj": true,
46
+ "task_specific_params": {
47
+ "text-generation": {
48
+ "do_sample": true,
49
+ "max_length": 50
50
+ }
51
+ },
52
  "torch_dtype": "float16",
53
  "transformers_version": "4.46.2",
54
  "use_cache": true,
55
+ "vocab_size": 50257,
56
  "api_key": null
57
  }
generation_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
  "transformers_version": "4.46.2"
6
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
  "transformers_version": "4.46.2"
6
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:825fa12a420e39b0dbb728ae43723b4dc9d16060926ab92fc272eb7a88d40f14
3
+ size 164300824
smash_config.json CHANGED
@@ -28,7 +28,7 @@
28
  "quant_llm-int8_weight_bits": 8,
29
  "max_batch_size": 1,
30
  "device": "cuda",
31
- "cache_dir": "/covalent/.cache/models/tmp4xz2tdfv",
32
  "task": "",
33
  "save_load_fn": "bitsandbytes",
34
  "save_load_fn_args": {}
 
28
  "quant_llm-int8_weight_bits": 8,
29
  "max_batch_size": 1,
30
  "device": "cuda",
31
+ "cache_dir": "/covalent/.cache/models/tmpysopg_w8",
32
  "task": "",
33
  "save_load_fn": "bitsandbytes",
34
  "save_load_fn_args": {}