Instructions to use amd/AMD-OLMo-1B-SFT-DPO-awq-g128-int4-asym-bf16-onnx-ryzen-strix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Lemonade
How to use amd/AMD-OLMo-1B-SFT-DPO-awq-g128-int4-asym-bf16-onnx-ryzen-strix with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull amd/AMD-OLMo-1B-SFT-DPO-awq-g128-int4-asym-bf16-onnx-ryzen-strix
Run and chat with the model (requires XDNA 2 NPU)
lemonade run user.AMD-OLMo-1B-SFT-DPO-awq-g128-int4-asym-bf16-onnx-ryzen-strix
List all available models
lemonade list
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,48 @@
|
|
| 1 |
-
---
|
| 2 |
-
license:
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- amd/AMD-OLMo-1B-SFT-DPO-awq-uint4-asym-g128-fp16-lmhead-onnx
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# AMD-OLMo-1B-SFT-DPO-awq-g128-int4-asym-bf16-onnx-ryzen-strix
|
| 8 |
+
- ## Introduction
|
| 9 |
+
This model was created by using Quark Quantization with calibration, followed by OGA Model Builder, and finalized with post-processing for NPU deployment.
|
| 10 |
+
|
| 11 |
+
- ## Quantization Strategy
|
| 12 |
+
- AWQ / Group 128 / Asymmetric / BF16 activations / UINT4 Weights
|
| 13 |
+
|
| 14 |
+
- ## Quick Start
|
| 15 |
+
For quickstart, refer to [Ryzen AI doucmentation](https://ryzenai.docs.amd.com/en/latest/npu_oga.html)
|
| 16 |
+
|
| 17 |
+
## Evaluation
|
| 18 |
+
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 23.165.
|
| 19 |
+
|
| 20 |
+
#### License
|
| 21 |
+
Modifications copyright(c) 2024 Advanced Micro Devices,Inc. All rights reserved.
|
| 22 |
+
|
| 23 |
+
MIT License
|
| 24 |
+
|
| 25 |
+
Copyright (c) 2024 Advanced Micro Devices, Inc
|
| 26 |
+
|
| 27 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal
|
| 28 |
+
in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 29 |
+
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
| 30 |
+
|
| 31 |
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
| 32 |
+
|
| 33 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 34 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 35 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 36 |
+
SOFTWARE.
|
| 37 |
+
|
| 38 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 39 |
+
you may not use this file except in compliance with the License.
|
| 40 |
+
You may obtain a copy of the License at
|
| 41 |
+
|
| 42 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 43 |
+
|
| 44 |
+
Unless required by applicable law or agreed to in writing, software
|
| 45 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 46 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 47 |
+
See the License for the specific language governing permissions and
|
| 48 |
+
limitations under the License.-1b-sft-dpo
|