Text Generation
Transformers
Safetensors
English
qwen2
conversational
text-generation-inference
Inference Endpoints
t1101675 commited on
Commit
e3af583
1 Parent(s): 6ccd9eb

Upload Qwen2ForCausalLM

Browse files
Files changed (2) hide show
  1. config.json +8 -8
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/Users/guyuxian/miniplm/200M/0",
3
  "architectures": [
4
  "Qwen2ForCausalLM"
5
  ],
@@ -7,21 +7,21 @@
7
  "bos_token_id": 151643,
8
  "eos_token_id": 151643,
9
  "hidden_act": "silu",
10
- "hidden_size": 768,
11
  "initializer_range": 0.02,
12
- "intermediate_size": 2112,
13
  "is_model_parallel": false,
14
  "max_position_embeddings": 32768,
15
- "max_window_layers": 10,
16
  "model_type": "qwen2",
17
- "num_attention_heads": 12,
18
- "num_hidden_layers": 12,
19
- "num_key_value_heads": 12,
20
  "rms_norm_eps": 1e-06,
21
  "rope_scaling": null,
22
  "rope_theta": 1000000.0,
23
  "sliding_window": null,
24
- "tie_word_embeddings": true,
25
  "torch_dtype": "float32",
26
  "transformers_version": "4.45.2",
27
  "use_cache": true,
 
1
  {
2
+ "_name_or_path": "/Users/guyuxian/miniplm/1.2B/0",
3
  "architectures": [
4
  "Qwen2ForCausalLM"
5
  ],
 
7
  "bos_token_id": 151643,
8
  "eos_token_id": 151643,
9
  "hidden_act": "silu",
10
+ "hidden_size": 1536,
11
  "initializer_range": 0.02,
12
+ "intermediate_size": 4224,
13
  "is_model_parallel": false,
14
  "max_position_embeddings": 32768,
15
+ "max_window_layers": 21,
16
  "model_type": "qwen2",
17
+ "num_attention_heads": 16,
18
+ "num_hidden_layers": 24,
19
+ "num_key_value_heads": 16,
20
  "rms_norm_eps": 1e-06,
21
  "rope_scaling": null,
22
  "rope_theta": 1000000.0,
23
  "sliding_window": null,
24
+ "tie_word_embeddings": false,
25
  "torch_dtype": "float32",
26
  "transformers_version": "4.45.2",
27
  "use_cache": true,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c942f3f200e29be6f28bb4dae54a936a95424e458e190f3d2102c3bfaa7093ea
3
- size 813767352
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fd4402b98bf9e38e7205fbb813373cf775135dc7b95eb0db905f89b5315b800
3
+ size 4642298144