create_model
#1
by
haoyang-amd
- opened
- README.md +4 -4
- config.json +0 -27
- model.data +2 -2
- 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
|
16 |
- ## Quantization Strategy
|
17 |
-
- AWQ / Group 128 / Asymmetric /
|
18 |
- ## Quick Start
|
19 |
-
|
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.
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5aeddbf135ebcdf7ae19d7b1c94d90989c9e47f315aee89a3a38a421364633f8
|
3 |
+
size 309307
|