Files changed (4) hide show
  1. README.md +4 -4
  2. config.json +0 -27
  3. model.data +2 -2
  4. model.onnx +2 -2
README.md CHANGED
@@ -12,14 +12,14 @@ tags:
12
 
13
  # Qwen/Qwen1.5-7B-Chat
14
  - ## Introduction
15
- This model was created using Quark Quantization, followed by OGA Model Builder, and finalized with post-processing for NPU deployment.
16
  - ## Quantization Strategy
17
- - AWQ / Group 128 / Asymmetric / BF16 activations / UINT4 Weights
18
  - ## Quick Start
19
- For quickstart, refer to npu-llm-artifacts_1.3.0.zip available in [RyzenAI-SW-EA](https://account.amd.com/en/member/ryzenai-sw-ea.html)
20
 
21
  #### Evaluation scores
22
- The perplexity measurement is run on the wikitext-2-raw-v1 (raw data) dataset provided by Hugging Face. Perplexity score measured for prompt length 2k is 12.02751.
23
 
24
  #### License
25
 
 
12
 
13
  # Qwen/Qwen1.5-7B-Chat
14
  - ## Introduction
15
+ This model was created by applying [Quark](https://quark.docs.amd.com/latest/index.html) with calibration samples from Pile dataset, and applying [onnxruntime-genai model builder](https://github.com/microsoft/onnxruntime-genai/tree/main/src/python/py/models) to convert to ONNX.
16
  - ## Quantization Strategy
17
+ - AWQ / Group 128 / Asymmetric / FP32 activations
18
  - ## Quick Start
19
+ For quickstart, refer to AMD [RyzenAI-SW-EA](https://account.amd.com/en/member/ryzenai-sw-ea.html)
20
 
21
  #### Evaluation scores
22
+ The perplexity measurement is run on the wikitext-2-raw-v1 (raw data) dataset provided by Hugging Face. Perplexity score measured for prompt length 2k is 12.02787.
23
 
24
  #### License
25
 
config.json DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "architectures": [
3
- "Qwen2ForCausalLM"
4
- ],
5
- "attention_dropout": 0.0,
6
- "bos_token_id": 151643,
7
- "eos_token_id": 151645,
8
- "hidden_act": "silu",
9
- "hidden_size": 4096,
10
- "initializer_range": 0.02,
11
- "intermediate_size": 11008,
12
- "max_position_embeddings": 32768,
13
- "max_window_layers": 28,
14
- "model_type": "qwen2",
15
- "num_attention_heads": 32,
16
- "num_hidden_layers": 32,
17
- "num_key_value_heads": 32,
18
- "rms_norm_eps": 1e-06,
19
- "rope_theta": 1000000.0,
20
- "sliding_window": 32768,
21
- "tie_word_embeddings": false,
22
- "torch_dtype": "bfloat16",
23
- "transformers_version": "4.37.0",
24
- "use_cache": true,
25
- "use_sliding_window": false,
26
- "vocab_size": 151936
27
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model.data CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:88f9a71a98568c736d8aa98556351392ed8de6097accce977579aad832ff4091
3
- size 5136295424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3179365d3572c280dfe5b095dbc9f73a25c21e3d45e5f7d441a516d4eaa0b51
3
+ size 5062793216
model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:25f6e38e5f02bc0dba0ed8a15dca71f0f0cc031e0b9f8dd953bd7a1568b744d5
3
- size 244052
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aeddbf135ebcdf7ae19d7b1c94d90989c9e47f315aee89a3a38a421364633f8
3
+ size 309307